problem with mailforwards

Discussion in 'General' started by nhybgtvfr, Sep 22, 2017.

  1. nhybgtvfr

    nhybgtvfr Well-Known Member HowtoForge Supporter


    we're using a multi-server setup (3.1.3) with a dedicated email server, on aws. rDNS for the mailserver is correctly configured by amazon.
    mailforwards have been working fine, up till this week, when any mailforwards to btinternet have started being rejected.

    we are gettings mails from eg [email protected] to [email protected], which are to be forwarded to [email protected]

    which now results in the following in our postfix logs:

    Sep 22 09:43:10 smtp postfix/smtp[2397]: 58FB1460C1: to=<[email protected]>, orig_to=<[email protected]********>,[]:25, delay=235673, delays=235672/0.01/0.45/0.5, dsn=4.0.0, status=deferred (host[] said: 421 Too many messages ( on 2017/09/22 09:43:10 BST from un-validated IP address: Please add a SPF record for the domain to your DNS or ask your Broadband Provider / Domain Registrar to do this, we will be unable to deliver email until this is done due to the volume of email being sent from this IP address. Guide for bulk senders (in reply to MAIL FROM command))

    where in this case is sending mail to [email protected] on our server to be forwarded to ***
    the spf record for the localdomain. is 'v=spf1 +a +mx +ip4:<ip address> -all'
    and the mx records are localdomain. MX 10 and localdomain. MX 50

    the file has:
    smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
    where both myhostname and mail_name resolve to
    and in the dns for , is a cname to

    is this just btinternet playing silly buggers? do I need to install/configure SRS, is there anything that can be done within the ispconfig control panel?
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You probably have to install and configure postsrs then. PostSRS works fine on ISPConfig setups, but you can't install and configure it from within ISPConfig.
  3. nhybgtvfr

    nhybgtvfr Well-Known Member HowtoForge Supporter

    ok, was afraid of that. i'm wary of making these changes to a live server though.
    can you confirm that all I need to do is the instructions below, or do I need to change anything else for it to work on isconfig?

    sudo apt-get install postsrsd

    # Add postfix configuration parameters for postsrsd:
    sudo postconf -e "sender_canonical_maps = tcp:"
    sudo postconf -e "sender_canonical_classes = envelope_sender"
    sudo postconf -e "recipient_canonical_maps = tcp:"
    sudo postconf -e "recipient_canonical_classes = envelope_recipient"

    # Add SRS daemon to startup (Red Hat 6/CentOS):
    sudo chkconfig postsrsd on
    # Add SRS daemon to startup (Debian/Ubuntu):
    sudo sysv-rc-conf postsrsd on
    # Start SRS daemon:
    sudo service postsrsd restart
    #Reload postfix:
    sudo service postfix reload
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    I don't use postsrs on my servers, so I can't confirm the steps. But maybe someone else here in the forum is able to help you.
  5. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

Share This Page