On 31 January 2002, Greg Blakely said: > I actually DO have spamassassin working with procmail, quite nicely, > thank you. > > But I have a situation where not all my received mail is for users homed > on that machine. Nor, for that matter, are they able to reach it via > NFS.
That's similar to my situation. I'm running an "external" (outside-the-firewall) mail server that has two main goals in life: 1) manage a couple of mailing lists, and 2) receive mail for personal addresses and forward it to one of our "internal" mail servers. I recently bolted on SpamAssassin as an option for personal addresses. Here's how it works for each incoming message (this is done with Exim): * if the recipient address matches /etc/aliases, deliver according to the instructions there (no SpamAssassin) * if the recipient address matches /etc/exim/spamcheck_users, and the message doesn't already have "X-Spam-Flag", then pipe it through "spamc -f | exim $new_address", where $new_address is looked up in /etc/spamcheck_users (same syntax as /etc/aliases) * handle list addresses (list-owner, list-request, etc.) * handle local .forward files * handle regular local delivery The neat thing is that I can have a line in /etc/exim/spamcheck_users like this: gward : [EMAIL PROTECTED] that *looks* like it ought to cause a mail loop (er, I forgot to mention, our primary domain name is mems-exchange.org) -- but Exim is smart enough to avoid that, and keeps marching down the list until it finds ~gward/.forward, which is where I file spam into a separate Maildir and real mail on to my internal address. This works fine for now, but I'm the only person actually using SA (ie. listed in /etc/exim/spamcheck_users). And it relies on Exim's highly configurable and flexible nature. Dunno if postfix is quite as configurable. Hope this helps -- Greg -- Greg Ward - software developer [EMAIL PROTECTED] MEMS Exchange http://www.mems-exchange.org _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk