On Sat, Apr 27, 2002 at 04:36:44AM -0700, Paul 'Baloo' Johnson wrote: | Is there a way to make exim run everything to all users through | spamassassin, put the spam in ~baloo/mail/zero and deliver the rest of | the mail normally to thier respective users?
Start with http://dman.ddts.net/~dman/config_docs/exim3_spamassassin.html. Add a system filter like this : ## ----------------------------------------------------------------------- # only run any of this stuff on the first pass through the filter - this # is an optimisation for messages that get queued and have several delivery # attempts if not first_delivery then finish endif ## ----------------------------------------------------------------------- ## ----------------------------------------------------------------------- # if this is an error notification message, make sure it doesn't get lost if error_message then finish endif ## ----------------------------------------------------------------------- ## ----------------------------------------------------------------------- # spam if $h_X-Spam-Status: contains "Yes" or "${if def:h_X-Spam-Flag {def}{undef}}" is "def" then save /home/baloo/mail/zero/ seen finish endif ## ----------------------------------------------------------------------- To use the system filter, put these in the main section of exim.conf : system_filter = /etc/exim/system.filter system_filter_user = nobody system_filter_group = nogroup system_filter_directory_transport = address_directory HTH, -D -- He who finds a wife finds what is good and receives favor from the Lord. Proverbs 18:22 GnuPG key : http://dman.ddts.net/~dman/public_key.gpg
pgp4HwjZYmkhp.pgp
Description: PGP signature