> Hello,
>
> I have a relay SMTP server system Amavisd-new+Postfix+MySQL-based.
>
> I have configured spamassassin to quarantine spam message.
>
> Now I would like to know a simple way to release a quarantined message
> after, for example, I have verified that the message is a false
> positive..
>
> Could someone explain how it is possible to setup amavis so I can do
> this?
>
> TIA,
>
> rocsca
>
Hi,
You could use my script for resending ham and optionally whitelisting
(whitelist_from_rcvd in local.cf) the senders of these ham messages.
I suggest you run it in one of the following modes (from the directory
antispam.php file is in or using full path to the script):
Actually I'm using only 3-rd option, the first two used in the test period.
1) php antispam.php /var/spool/imap/user/spamcop/ham
/etc/mail/spamassassin/local.cf
/home/someuser/spam_scripts/resending/forbid.txt
2) php antispam.php /var/spool/imap/user/spamcop/ham
/etc/mail/spamassassin/local.cf
3) php antispam.php /var/spool/imap/user/spamcop/ham
Explanations (more explanations are in the script itself):
a) local.cf - at the end of all configurations you should have:
####WHITELIST####
whitelist_from_rcvd name1ogroups.com yahoo.com
whitelist_from_rcvd name2ogroups.com yahoo.com
whitelist_from_rcvd name3ogroups.com yahoo.com
Never add anything below.
b) forbid.txt - file with the list of e-mails I won't add to
whitelist_from_rcvd directive in any way even if it is the sender of the ham
message
c) /var/spool/imap/user/spamcop/ham - this is where you should have your
quarantined FP ham.
The script itself is attached.
Regards,
Leon Kolchinsky
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/