This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
openbsd:mail:opensmtpd [2019/12/21 15:59] jrmu |
openbsd:mail:opensmtpd [2020/01/06 09:32] jrmu |
||
---|---|---|---|
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 46: | Line 48: | ||
match auth from any for any action "relay_dkim" | match auth from any for any action "relay_dkim" | ||
</code> | </code> | ||
+ | |||
+ | **Note**: If you are getting 421 4.3.0 Temporary Error and the following message when you run # smtpd -dv -T all: | ||
+ | |||
+ | imsg: pony <- queue: IMSG_SMTP_MESSAGE_CREATE (len=12) | ||
+ | smtp: >>> 421 4.3.0 Temporary Error | ||
+ | |||
+ | This means smtpd has failed to create the directory or file holding the message. It is a permissions error that can probably be solved by doing this: | ||
+ | |||
+ | <code> | ||
+ | # rcctl stop smtpd | ||
+ | # rm -r /var/spool/smtpd | ||
+ | # rcctl start smtpd | ||
+ | </code> | ||
+ |