Any way to get rid of spam?

Discussion in 'General' started by greenovni, Jul 14, 2009.

  1. greenovni

    greenovni New Member

    I am running ISPConfig2 on Centos 5.3 & everything is working great so far. I used the perfect server set up.

    I have searched the forum for a way to stop spam from coming into my inboxes and can't find one.

    Anyone know how I can stop spam? I am not sure if spamassasin is working correctly.

    Any help would be greatly appreciated.

    I have running ispconfig 2.2.32
     
    Last edited: Jul 14, 2009
  2. commentator

    commentator Member

  3. abix_adamj

    abix_adamj New Member

    And change your /etc/postfix/main.cf:

    Code:
    smtpd_sender_restrictions =
        permit_sasl_authenticated,
        reject_unknown_sender_domain
        reject_invalid_hostname,
        reject_non_fqdn_sender,
        reject_non_fqdn_recipient,
        reject_unknown_sender_domain,
        reject_unknown_recipient_domain,
        reject_rbl_client b.barracudacentral.org,
        reject_rbl_client bl.spamcop.net,
        reject_rbl_client sbl-xbl.spamhaus.org,
        reject_rbl_client zen.spamhaus.org,
        permit_mynetworks,reject_unauth_destination
    
    
    smtpd_recipient_restrictions =
        permit_sasl_authenticated,
        reject_invalid_hostname,
        reject_non_fqdn_sender,
        reject_non_fqdn_recipient,
        reject_unknown_sender_domain,
        reject_unknown_recipient_domain,
        reject_rbl_client b.barracudacentral.org,
        reject_rbl_client bl.spamcop.net,
        reject_rbl_client sbl-xbl.spamhaus.org,
        reject_rbl_client zen.spamhaus.org,
        permit_mynetworks,reject_unauth_destination
    
    For my site, reject of SPAM is about 99,95% ;-)

    Adam
     

Share This Page