Postfix SASL SMTP Client Failure
I am trying to configure ubuntu 12.04 to send email using Amazon AWS Simple Email Service (SES) which requires using TLS and SASL. Our existing 10.04 instances all do this without a problem.
Here are the instructions Amazon provides: http://
I have run an strace on the smtp client as it runs, and have installed any libs it tries to load but can't find. This has not resolved the issue. The one possible outstanding issue I noticed in the strace is that the libs can't find the following directory: /usr/etc/gss/mech
I have run the smtp command with the -v flag, and there are no additional log lines regarding the failure.
I have also looked in the postfix source code, and it appears that the error is happening in the sasl lib, not the postfix lib, but the sasl lib is not writing any error messages.
Configs:
postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
inet_interfaces = all
mailbox_size_limit = 0
mydestination = dev.dpn.inmar.com, localhost, localhost.
myhostname = DEV-SMTP-
mynetworks = 127.0.0.0/8 [::ffff:
myorigin = /etc/mailname
readme_directory = no
recipient_delimiter = +
relayhost = email-smtp.
smtp_always_
smtp_sasl_
smtp_sasl_
smtp_sasl_
smtp_tls_CAfile = /etc/ssl/
smtp_tls_
smtp_tls_
smtp_use_tls = yes
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_tls_cert_file = /etc/ssl/
smtpd_tls_key_file = /etc/ssl/
smtpd_tls_
smtpd_use_tls = yes
transport_maps = hash:/etc/
Contents of: /etc/postfix/
email-smtp.
ses-smtp-
LOG:
Aug 8 19:51:04 DEV-SMTP-TEST11 postfix/
Aug 8 19:51:06 DEV-SMTP-TEST11 postfix/
Aug 8 19:51:06 DEV-SMTP-TEST11 postfix/
Aug 8 19:51:06 DEV-SMTP-TEST11 postfix/
Aug 8 19:51:06 DEV-SMTP-TEST11 postfix/
Aug 8 19:51:06 DEV-SMTP-TEST11 postfix/
Aug 8 19:51:07 DEV-SMTP-TEST11 postfix/
Aug 8 19:51:07 DEV-SMTP-TEST11 postfix/
Aug 8 19:51:07 DEV-SMTP-TEST11 postfix/
Aug 8 19:51:07 DEV-SMTP-TEST11 postfix/
Aug 8 19:51:07 DEV-SMTP-TEST11 postfix/
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu postfix Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Mark Trimmer
- Solved:
- Last query:
- Last reply: