Home Forums OS X Server and Client Discussion Mail spam troubles

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #357715
    bustthis
    Participant

    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!

    #357736
    bustthis
    Participant

    am i wrong to think that my access-addresses and access-ips for the emails i allow will overide the spam bodies file?

    here is my access-addresses file:

    #ALLOWED WHITE LIST 4-01-04
    #
    localhost OK
    127.0.0.1 OK
    lists.apple.com OK
    lists.dealmac.com Ok
    verizon.com OK
    vznotes.com OK
    kodak.com OK
    tigerstylerecords.com OK
    insound.com OK
    space1026.com OK
    oystermag.com OK
    psychic-circus.com OK
    [email protected] OK
    [email protected] OK
    [email protected] OK
    #
    #BLOCK LIST
    #
    hanmail.net REJECT 550 Spam is unwelcome here-AA01
    leonlai.net REJECT 550 Spam is unwelcome here-AA02
    swimmingfanatic.com REJECT 550 Spam is unwelcome here-AA03
    sympatico.ca REJECT 550 Spam is unwelcome here-AA04
    ASPPT.com REJECT 550 Spam is unwelcome here-AA05
    rock.com REJECT 550 Spam is unwelcome here-AA06
    nm3.connecthh.com REJECT 550 Spam is unwelcome here-AA07
    pacbell.net REJECT 550 Spam is unwelcome here-AA08
    allspecialz.com REJECT 550 Spam is unwelcome here-AA09
    thisisadomainallright.com REJECT 550 Spam is unwelcome here-AA10
    taconic.net REJECT 550 Spam is unwelcome here-AA11
    climaxdelivers.com REJECT 550 Spam is unwelcome here-AA12
    dannysmail.com REJECT 550 Spam is unwelcome here-AA13
    ispettori.neuro.unibo.it REJECT 550 Spam is unwelcome here-AA14
    alanet.com REJECT 550 Spam is unwelcome here-AA15
    pcabelenda.bio.ucm.es REJECT 550 Spam is unwelcome here-AA16
    m2.slutchass.com REJECT 550 Spam is unwelcome here-AA17
    yetanotherdomainname.com REJECT 550 Spam is unwelcome here-AA18
    williams-amusements.co.uk REJECT 550 Spam is unwelcome here-AA19
    office-mail.co.uk REJECT 550 Spam is unwelcome here-AA20
    webmail.tele2.cz REJECT 550 Spam is unwelcome here-AA21
    joineei.com REJECT 550 Spam is unwelcome here-AA22
    mail.geo.net REJECT 550 Spam is unwelcome here-AA23
    smtp.hispeed.ch REJECT 550 Spam is unwelcome here-AA24

    #357818
    iztech
    Participant

    seems like your reject file is blocking entire domains?

    atleast you got spam blocked mine just keep coming thru (see other post).

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Comments are closed