[nylug-talk] problem with mail alias

Henning Follmann
Sun May 14 20:14:37 EDT 2006


luke at chipcity.com.au wrote:
> Hi.
> 
> Thanks for your reply.
> 
[...]
> Thanks to yours and help from others I have solved this prob.
> As you indicated the to headers don't change, so I added a new recipe to the
> .procmailrc for 'jobs at foo'. 
> 

So here is the question:
if you want every mail coming to this account being processed by that 
script, why do you test for the TO: header at all.


:0
|/usr/local/foo/bin/progThatResponds


That should do it. Even if you add another alias which points to this 
mailbox.

and to keep the messages just put another rule in front of that:
:0 c
backup

That would keep a copy in the file named backup.



Henning

-- 
Henning Follmann           | hfollmann at itcfollmann.com
it consultant              | www.itcfollmann.com


More information about the nylug-talk mailing list