Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have followed all steps here:

This is my

Maws-email, P=/opt/third-party/amazon/, F=mDFMuXn, U=amazonuser, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, -r -k /opt/third-party/amazon/aws-credentials -e   -f $f $u

dnl MAILER(cyrusv2)dnl

If I do this:

# sudo sendmail -bv deliverable: mailer esmtp, host, user

But output should be:

mailer awsemail

what should I do? I have followed this as well:

share|improve this question
You've definitely also added the entry to the /etc/mail/mailertable to force all outbound mail to use the new aws-email mailer and rebuild the mailertable database? (steps 6-8 in the docs) – USD Matt Jul 11 '13 at 11:43
@USDMatt : Could you turn your comment into answer? – Andrzej A. Filip Jul 11 '13 at 11:55
@USDMatt , now i am confused , amazon docs says to create file /etc/mailmailertable where i have put entry but they are not using that anywhere. chk the step 7 here… – user2424160 Jul 11 '13 at 11:59
@USDMatt , i think amazon idiots have a typo there. i wasted 10 hours on that file should be /etc/mail/mailertable not /etc/mailmailertable – user2424160 Jul 11 '13 at 12:06
Yes they get it wrong in steps 6 & 7 by the look of it, then have the right file path in the makemap command – USD Matt Jul 11 '13 at 12:18
up vote 1 down vote accepted

The question shows the additions to add the AWS mailer to Sendmail, but it doesn't look like anything it actually configured to use that mailer.

Looking at the Amazon docs, they require updating /etc/mail/mailertable to direct mail for all domains (.) via the new mailer. However, at the time of writing they have a typo in a few steps and incorrectly call the file /etc/mailmailertable.

Assuming there are no other issues (I've never used AWS myself) configuring the mailertable file correctly and rebuilding the associated database file should cause Sendmail to use the AWS mailer for all outbound mail.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.