1. Configuration
    1. strings use left tick – hex 60 on left, hex 27 at the end.  PAY attention
    2. error – DNS Host unknown (Name server: ‘some-smtp.server.com’)
      1. This error is caused by using python/bash like single ticks on both sides
      2. `SMART_HOST', `email-smtp.eu1.amazonaws.com'
  2. AWS uses port 587 – don’t even bother trying to use port 22.
    1. it will not respond.
    2. this will appear in log as  “Deferred: Connection reset”
    3. change port and see if the connection works.
  3. use the make all command after making changes to sendmail.mc
    1. Saves a backup
    2.  prevents some dangerous typos – especially if following other HOWTOs
  4. Restart sendmail.
    1. service sendmail restart
  5. Configure saslauthd  or authentication.
    1. yum -y install cyrus-sasl cyrus-sasl-md5 cyrus-sasl-plain
    2. https://www.cyrusimap.org/sasl/
  6. dovecot for pop3d to get email off the server
    1. yum install dovecot-imapd dovecot-pop3d

 

Leave a Reply