Óôßò Thu, 15 Jan 2004 21:02:02 -0900 John Andersen Ýãñáøå:
On Thursday 15 January 2004 18:17, dd80@mail.gr wrote:
Can spamassassin gather all the spam emails to user's folder and not redirect to another email address as the spamass-milt does?
Yes, normally your procmail will pipe mail thru spamc where it will get tagged as spam or not spam. Then you can set the procmail script to just pass it on to your mailbox so that you can filter it with your mail user agent, or your procmail script can send it to another mailbox.
My script sends any mail scoreing 10 or higher to /dev/null and and the rest gets sent to my mailbox, where Kmail sorts it into the good the bad and the ugly.
sample procmailrc:
DROPPRIVS=yes # SpamAssassin sample procmailrc :0fw * < 256000 | spamc
:0 H * ! ^From[ ] * ^rom[ ] { LOG="*** Dropped F off From_ header! Fixing up. "
:0 fhw | sed -e 's/^rom /From /' }
:0e { EXITCODE=$? }
:0 * ^X-Spam-Status:.*hits=[1-9][0-9] {
:0 /dev/null }
-- _____________________________________ John Andersen
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Anything for Sendmail? ------------------------------------------------------------- http://www.mail.gr/ - Get Your Private Free Email Address! http://www.ringtone.gr/ - Ringtones & Logos for your mobile!