ISPConfig Server with Postfix Relay to Amazon SES

Discussion in 'Installation/Configuration' started by intelix, Oct 9, 2015.

  1. intelix

    intelix New Member

    I have been trying to have postfix on my server relay all smtp via amazon SES. I followed the instructions on amazons site but when I try to send an email I get the 530 Authentication Required message.
    I am running Debian 7.8 and the latest version of ispconfig.

    Below is the lines I added to the file:
    relayhost =
    smtp_sasl_auth_enable = yes
    smtp_sasl_security_options = noanonymous
    smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
    smtp_use_tls = yes
    smtp_tls_security_level = encrypt
    smtp_tls_note_starttls_offer = yes

    Below are some of the lines that already existed on the
    smtpd_sasl_auth_enable = yes
    broken_sasl_auth_clients = yes
    smtpd_sasl_authenticated_header = yes
    smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_recipient_access mysql:/etc/postfix/
    smtp_tls_security_level = may
    smtpd_tls_mandatory_protocols = !SSLv2, !SSLv3
    smtpd_tls_protocols = !SSLv2,!SSLv3
    smtp_tls_protocols = !SSLv2,!SSLv3
    dovecot_destination_recipient_limit = 1
    smtpd_sasl_type = dovecot
    smtpd_sasl_path = private/auth
    smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt

    I ran postconf -a and the result was:

    I made sure that I created the sasl_password file as instructed. Seems like I am missing something to get postfix to autheticate with amazon SES.
    I am fairly new at linux so any advice will be appreciated.
    Last edited: Oct 9, 2015
  2. florian030

    florian030 ISPConfig Developer ISPConfig Developer

    You rellay need MX-lookups for
    I prefer relayhost=[]:25
    Did you run postmap /etc/postfix/sasl_passwd and reloaded postfix afterwards?

Share This Page