My .procmailrc to redirect emails from this list : use Sender to be exact coz from can come from users mail account. Make sure u create the suirrelmailuserslist folder (from squirrelmail Folders option).
:0 * ^Sender:[EMAIL PROTECTED] $HOME/Mail/squirrelmailuserslist On Thu, November 10, 2005 1:50 am, Maganizo Monawe said: > 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 > -- _)))))) (|______| c|_o||_o| | O | | \__/ | \____/ __|\ /|__ / \ +-------oOO-/------------\-OOo------+-------------------------------------+ | Muhd Zamri Muhd Suharini | Email: [EMAIL PROTECTED] | System administrator | Tel: (09) 5737777 | Information Technology Unit | Fax: (09) 5738899 | Kolej Shahputra Kuantan | | BIM Point | website: | Bandar Indera Mahkota | http://www.kolejshahputra.edu.my | 25200 Kuantan | Forum: | Pahang Malaysia | http://forum.kolejshahputra.edu.my | | Alumni: | | http://alumni.kolejshahputra.edu.my +-----------------------------------+-----------------------------------+ ---------------------------------------------------------------- This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Kolej ShahPutra Kuantan and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. ------------------------------------------------------- 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)95 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users