Increase antispam on ispconfig

Discussion in 'Installation/Configuration' started by maudam, Mar 21, 2016.

  1. maudam

    maudam New Member

    Hi all,
    i'm trying to reduce the spam accepted by the server adding some options to main.cf in postfix configuration.
    I added
    Code:
    smtpd_helo_restrictions = reject_non_fqdn_hostname, reject_invalid_hostname, permit_mynetworks
    and modified
    Code:
    smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_unauth_pipelining, reject_non_fqdn_recipient, reject_unknown_recipient_domain, reject_unknown_sender_domain, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf
    in /etc/postfix/main.cf
    tryng to reject all mails from not fqdn HELO senders, but with no results.

    in mail.log i can see a lot of warnings like
    Code:
     warning: hostname mail.neuronetsys.com does not resolve to address 103.20.168.21
    but no mails are rejects.

    Any clue ?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you restart postfix?
     

Share This Page