"Graham K. Dodd" wrote:
For mail pickup I run fetchmail and pipe it through procmail, I have a global set of recipies to handle all users in the domain and all special cases (ie. info@domain, sales@domain ) ... 1. If an email from outside the domain has multiple To: addresses on the header it only delivers to the first recipient. Procmail considers an email delivered when it gets a match on a recipie, so it stops parsing the rest of the recipies.
2. I need special procmail recipies to handle X-Delivered-To cases
3. As we get more users, the procmail rules list gets longer and longer, and procmail takes longer to parse all the recipies.
Why don't you use the /etc/aliases file? Now sendmail/qmail/postfix will determine themselves where mail should be routed to. Procmail is designed to filter your personal incoming mailbox, not routing the companies mail! Using the mail aliases takes care of at least problems 1 and 3. Koos Pol ---------------------------------------------------------------------- S.C. Pol T: +31 20 3116122 Systems Administrator F: +31 20 3116200 Compuware Europe B.V. E: koos_pol@nl.compuware.com Amsterdam PGP public key available -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/