procmail
[Top] [All Lists]

Re: Extracting envelope to

1997-10-01 13:32:24
What I'm trying to do is have procmail process all mail sent to 
someuser(_at_)*(_dot_)foo(_dot_)com

What procmail would then do is lookup where the mail is actually supposed to 
go and forward it as appropriate.

I can't just use the virtualuser facility in sendmail 8 because the true 
destination mailbox is stored separately.

I can run procmail as the local delivery agent if necessary, but I'd like to 
figure out how to add a rule to my sendmail.cf such that all mail sent to 
anyuser(_at_)anyhost(_dot_)foo(_dot_)com would be passed on to procmail with 
the actual user as 
a parameter to procmail.

I've tried adding a new mailer Mprocmail as suggested in the man pages and a 
rule to ruleset 98 (local hacks of ruleset 0) to call the mailer, but any mail 
sent to foo(_at_)a(_dot_)foo(_dot_)com is returned as unknown user???

        geoff


<Prev in Thread] Current Thread [Next in Thread>