mouss <[EMAIL PROTECTED]> a écrit :
Zeuxi Gau wrote:
hello,
i would like to get some infos about spamassassin.
problem:
version 3.1.7 SpamAssassin with Fedora Core 2
I got SA to work fine, but i would like the mails detected as spam to
be forwarded to a special email address instead of the current mailbox.
--------------- .procmailrc -------------
:0:
* ^X-Spam-Status: Yes.*
| ( /usr/sbin/sendmail [EMAIL PROTECTED] -t -oi )
./Maildir/
-----------------------------------------
Is it possible to do it ?
If you make sure that mail submitted this way will not be filtered
again, then it should be ok. There are two possibilities:
- configure your MTA so that mail submitted with sendmail is not
scanned by SA. This may be good anyway to avoid scanning log reports
(which may trigger many SA rules).
- or don't use the same procmail rule for zeux.gau...
if using postfix + amavisd-new, you can do the redirection at MTA level:
- configure amavisd-new to redirect spam to [EMAIL PROTECTED]
(add +spam extension)
- configure postfix to route such mail to [EMAIL PROTECTED] (use
virtual aliases)
ok i was looking the wrong way. I'm going to configure procmail.
I have some problem with bayes autolearn not working but i'll see that later.
Thanks for your help.