Ryan, Thanks, I am able to do it now. My emails labled as spam are now going to a certain email address on my server where I can review and delete them. Many thanks, Maganizo
> I use the header's X-Spam-False and X-Spam-Flag to determine what to do. > > A snippet of my procmailrc: > MAILDIR=$HOME/Maildir/ > SPAM=/usr/bin/spamassasin > SALEARN=/usr/bin/sa-learn > > :0 f > | ${SPAM} > > :0: > * ^X-Spam-False: YES > | ${SALEARN} --ham --single >> $HOME/.sa-log > $HOME/Maildir/ > > # Drop all spam to a special mailbox (a script cleans out the .Spam > folders every 3 days giving users a chance to review false positives) > :0: > * ^X-Spam-Flag: YES > $HOME/Maildir/.Spam/ > > > You could similar do something to forward the mail to a particular email > account: > :0: > * ^X-Spam-Flag: YES > ! [EMAIL PROTECTED] > # Dispose of message if you do not want it delivered to user's mailbox (I > would recommend just sending it to a special folder in the user's mailbox > in case of false-positives) > /dev/null > >> Good People, >> >> I have configured spamassasin + Sendmail + Squirrelmail on FC3. >> Everything >> is fine, spam is being detected. The problem I have is that after >> marking >> a message with ***SPAM*** in the subject, it is also delivering it to >> the >> mail box. I prefer that the spam should not be delivered to any mailbox >> apart from one mailbox which will be accessible to the administrator. >> >> Does anyone have a similar setup so that they know what I should write >> in >> the procmailrc file to achieve this. >> >> Thanks >> MM >> >> >> >> >> >> >> ------------------------------------------------------- >> SF.Net email is sponsored by: >> Tame your development challenges with Apache's Geronimo App Server. >> Download >> it for free - -and be entered to win a 42" plasma tv or your very own >> Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php >> -- >> squirrelmail-users mailing list >> Posting Guidelines: >> http://www.squirrelmail.org/wiki/MailingListPostingGuidelines >> List Address: squirrelmail-users@lists.sourceforge.net >> List Archives: >> http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user >> List Archives: >> http://sourceforge.net/mailarchive/forum.php?forum_id=2995 >> List Info: >> https://lists.sourceforge.net/lists/listinfo/squirrelmail-users >> >> > > > -- > Ryan Dagey > Vice President, Information Management > Neoteric Hovercraft Inc. www.NeotericHovercraft.com > World Hovercraft Organization www.WorldHovercraft.org > DiscoverHover Program www.DiscoverHover.org > World Hovercraft Week 2002 www.WHC2002.com > Ph: 812-234-1120, 800-285-3761 > Fx: 812-234-3217 > Mail: 1649 Tippecanoe Street, Terre Haute, IN USA 47807-2394 > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@lists.sourceforge.net List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users