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