This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
openbsd:mail:opensmtpd [2019/12/21 15:53] jrmu |
openbsd:mail:opensmtpd [2020/01/03 15:55] jrmu |
||
---|---|---|---|
Line 8: | Line 8: | ||
action "local_mail" mbox alias <aliases> | action "local_mail" mbox alias <aliases> | ||
- | action "outbound" relay host smtps://support@ircnow.org:587 \ | + | action "outbound" relay host smtp+tls://support@ircnow.org:587 \ |
auth <secrets> | auth <secrets> | ||
Line 17: | Line 17: | ||
Inside /etc/mail/secrets: | Inside /etc/mail/secrets: | ||
<code> | <code> | ||
- | support support:PASSWORD | + | support support@ircnow.org:PASSWORD |
</code> | </code> | ||
+ | |||
+ | **Note**: You must include the full domain in the username (it may even be necessary to restart opensmtpd) or else you may get an 535 Authentication failed error. | ||
Inside the mail relay's /etc/mail/smtpd.conf: | Inside the mail relay's /etc/mail/smtpd.conf: | ||
Line 36: | Line 38: | ||
listen on lo0 port 10028 tag DKIM mask-src | listen on lo0 port 10028 tag DKIM mask-src | ||
listen on egress port 25 tls pki mail.ircnow.org mask-src | listen on egress port 25 tls pki mail.ircnow.org mask-src | ||
- | listen on egress port 465 tls-require pki mail.ircnow.org auth <passwd> mask-src | ||
listen on egress port 587 tls-require pki mail.ircnow.org auth <passwd> mask-src | listen on egress port 587 tls-require pki mail.ircnow.org auth <passwd> mask-src | ||
action "lmtp" lmtp "/var/dovecot/lmtp" rcpt-to virtual <virtuals> | action "lmtp" lmtp "/var/dovecot/lmtp" rcpt-to virtual <virtuals> |