procmail
[Top] [All Lists]

Virtual Site, keep 1 copy of all mail, leave mail in spool

2001-05-16 04:03:50
Hi Gang!
Preamble:
This concerns a machine with several virtual sites on it.
One site owner wants a *copy* of all incoming mail for that domain
stuffed into the siteadmin maildir, but left in the spool, so that an
external mailserver can subsequently grab mail for the site.
Since they are so touchy about everything to do with their site I don't
want to deploy something unless I'm sure it will work. Hence my reaching
out to you guys for a reality check.
So, although basic in nature, here's what I came up with:

:0c
* ^To: .+(.+\.)*customer_domain.com
/home/sites/site3/siteadmin/mail


Will this *leave* mail for site3 in the spool to be grabbed by another
servers' fetchmail/(or whatever_form_of_retrieval)??
To my eyes procmail simply dumps a *copy* of all mail into the siteadmin
mail directory and does nothing else since it sees the recipe as a
non-delivering recipe.
Should a lockfile be used here in case there is any significant traffic
for the site and several instances of procmail might be running
concurrently????
Anyone?

Regards,
-Colin
--
Colin J. Raven

_______________________________________________
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>