procmail
[Top] [All Lists]

Re: can this be done with procmail

2002-06-07 07:29:55
Richard van Drimmelen <richard(_at_)sara(_dot_)nl> writes:
I have a machine that servers email for several clients (domains).
Of of our clients want to use batched SMTP to fetch all their mailboxes
to their own machine.

Is it possible to have a central procmail configuration file that does
the following:

store all messages in /var/mail/<username>
store all messages being sent to <account>@<special_client>.com in a
single inbox AND in /var/mail/<account>.

How would this rule look like ?

Something seems odd with the above.  Is mail for more than one domain
being delivered to local accounts?  Or are all the local users addressed
as <user(_at_)special_client(_dot_)com>?  To put it another way, does mail to 
that
particular <account(_at_)special_client(_dot_)com> run as the local user 
'account'?
If yes, then you should just place the following recipe in that user's
.procmailrc:

        :0 c
        single-inbox

If not, how is procmail being invoked for that user?  How is the envelope
recipient address being given to procmail?


Philip Guenther
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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