Procmail rule

Matthew Carpenter matt
Mon May 17 11:50:48 PDT 2004


First of all, does it make a difference?

Secondly, you'd probably just do a sed filter like this:

:0fw
* ^To:.*\@www.domain.com
| sed 's/@www.domain.com/@domain.com/'


I might be smoking crack and forgot something (or a simpler way to do this) but I'm sure it will be found out if so.  Hey, it's 3:48am here!  :)


On Sat, 9 Aug 2003 11:59:31 -0700 (PDT)
Swapana Ghosh <swapana_ghosh at yahoo.com> wrote:

> Hi 
> 
>         Though it is really a silly qs but as i have
> not written the procmail rules yet - so asking because
> i want to patch it to the production server.
> 
> Some mails are coming to our mail inbox like 
>              [ user at www.domain.org ]
> 
> when it is coming to inbox it is showing as full sting
> as  above . But i want to change it as 
> 
>               user at domain.org
> 
> So what is the rule i will write in the /etc/procmail
> file.... 
> Hints/any site relted to my requirement will be
> helpful.
> 
> Thanks
> -Swapna
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
> _______________________________________________
> Linux-users mailing list
> Linux-users at linux-sxs.org
> Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users


-- 
Matthew Carpenter
matt at eisgr.com                          http://www.eisgr.com/

Enterprise Information Systems
*Network Consulting, Integration & Support
*Web Development and E-Business


More information about the Linux-users mailing list