-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday 26 January 2002 9:53 pm, dman wrote: > I have just whipped up some documentation regarding setting up exim > and spamassassin. Basically I just outlined my setup, which Works For > Me :-). > > Check it out if you are interested, > http://dman.ddts.net/~dman/config_docs/exim_spamassassin.html > and let me know what you think (if you want to).
Couple of things which I do slightly differently (and I think better :-) 1) Put the director that sends mail with the real- prefix before the spam check director - this allows false positives to reply to you if they wish, and therefore ... 2) .. my filter file bounces back a message thusly ========================== exim filter # Exim Filter if first_delivery and $h_X-Spam-Flag: contains "YES" then logfile /var/log/exim/spamlog logwrite "$tod_log From: $h_From: Subject: $h_Subject: \n \t X-Spam-Status: $h_X-Spam-Status: Sender: $sender_address" if $h_From: is not "" then mail to $h_From: subject "Re: Your last message to me" expand file /etc/exim/spam-reply.txt once /var/log/exim/spamcount once_repeat 5d endif seen finish endif ================== spam-reply.txt Your mail with Subject: $h_Subject: to domain chandlerfamily.org.uk appears to be unsolicited spam. If you intended to contact a person at that email domain for legitimate reasons then our apologies. Please would you resend to the same address but add the prefix "real-" (without the quotes) to the e-mail address and it will bypass the spam filter. Thank you [EMAIL PROTECTED] ======================= - -- Alan - [EMAIL PROTECTED] http://www.chandlerfamily.org.uk -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8U0/l1mf3M5ZDr2kRAnp2AKDItUxWiZsl2QjO2p4oeAoMFNWDeQCgkCGI hNX+HgMfbaV9SRbxIXDEf7M= =GpXw -----END PGP SIGNATURE-----