AFP548

spam troubles

hi, i followed the article on this site called Anti-spam Measures and it seems to be rejecting alot of spam, but i'm running into some problems with some non-spam messages being rejected - mostly by my spam body check. i set up a access-addresses and access-ips files to allow certain ips and addresses, but if something is found in the body or header check files then it ignores those OK's and marks the legit messages as spam. here is what the portion of my main.cf looks like: # smtpd_client_restrictions = hash:/etc/postfix/smtpdreject smtpd_restriction_classes = verify_exceptions_recipients verify_exceptions_recipients = check_recipient_access hash:/etc/postfix/exceptions_recipients, check_client_access regexp:/etc/postfix/text_exceptions, check_client_access hash:/etc/postfix/exceptions_clients smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination, reject_unknown_recipient_domain, check_client_access hash:/etc/postfix/access-addresses, check_sender_access hash:/etc/postfix/access-addresses, check_client_access hash:/etc/postfix/access-ips, check_sender_access hash:/etc/postfix/access-ips, reject_rbl_client dun.dnsrbl.net, reject_rbl_client dynablock.njabl.org, reject_rbl_client relays.ordb.org, reject_rbl_client sbl-xbl.spamhaus.org, reject_rbl_client korea.services.net, reject_rbl_client opm.blitzed.org, reject_rbl_client dialups.visi.com, reject_rbl_client relays.visi.com, reject_rbl_client list.dsbl.org, reject_rbl_client cn-kr.blackholes.us, reject_rbl_client singapore.blackholes.us, reject_rbl_client thailand.blackholes.us, reject_rbl_client malaysia.blackholes.us, reject_rbl_client china.blackholes.us, reject_rbl_client korea.blackholes.us, reject_rbl_client argentina.blackholes.us, reject_rbl_client brazil.blackholes.us, reject_rbl_client taiwan.blackholes.us, reject_rbl_client nigeria.blackholes.us, reject_rbl_client cbl.abuseat.org, permit allow_untrusted_routing = no header_checks = regexp:/etc/postfix/spammerheaders body_checks = regexp:/etc/postfix/spammerbodies i added the verify_exceptions_recipient according to this site: http://www.securitysage.com/guides/postfix_uce_except.html and those allowed addresses and ips get ignored too. now for the dumb questions - should i be deleting entries in the spammerbodies files when it marks "non-spam" as "spam"? i get alot of emails with the word dating in the bodies, so i set up a block: /dating/ REJECT Spam is unwelcome here-B07 it turns out that it marked a email from the 10.3 server list from apple because it had the word "updating"!!! any help would be greatly appreciated!
Exit mobile version