Thanks so far for the nice help i got here...
I have this header and can see it is spam, I just want to have it deleted and not getting into the users email inbox.
The header is as follows :
Yes, score=3.608 tagged_above=2 required=3.501 tests=[BAYES_50=0.001, HTML_FONT_LOW_CONTRAST=0.124, HTML_IMAGE_RATIO_02=0.383, HTML_MESSAGE=0.001, RDNS_NONE=0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_JP_SURBL=1.501, URIBL_OB_SURBL=1.5]
As you can see it gets tagged by URIBL_JP_SURBL=1.501 and URIBL_OB_SURBL=1.5.
How can i setup amavis to delete this... I have searched howtoforge and have not yet been able to find a solution to this...
Another thing, I found something which as i read it is put into spamassassin (amavis) :
Something is turned off and put into spamassassin :
# Deactivated, done in SpamAssasin
# reject_rhsbl_client blackhole.securitysage.com,
# reject_rhsbl_sender blackhole.securitysage.com,
# reject_rbl_client relays.ordb.org,
# reject_rbl_client blackholes.easynet.nl,
# reject_rbl_client cbl.abuseat.org,
# reject_rbl_client proxies.blackholes.wirehub.net,
# reject_rbl_client bl.spamcop.net,
# reject_rbl_client sbl.spamhaus.org,
# reject_rbl_client opm.blitzed.org,
# reject_rbl_client dnsbl.njabl.org,
# reject_rbl_client list.dsbl.org,
# reject_rbl_client multihop.dsbl.org,
Do i have to put this back into postfix to use it or is there another solution to this ?
Postfix has been edited with the following line which work as expected :
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, reject_unauth_destination, reject_invalid_hostname, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_unauth_pipelining, reject_unauth_destination, reject_rbl_client bl.spamcop.net permit
How can i incorporate the list mentioned above which have been removed from postfix in the mentioned example ?
And how do i implement URIBL_JP_SURBL and URIBL_OB_SURBL so spam not only get tagged but also removed before even reach the inbox on users ?
If i succeed in my "job" I would love to make a little "guide" on how I did, as this might help others inside here.