This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
openbsd:mail:opensmtpd3 [2020/07/29 11:00] jrmu |
openbsd:mail:opensmtpd3 [2020/07/29 11:10] jrmu |
||
---|---|---|---|
Line 32: | Line 32: | ||
listen on egress port 25 tls pki mail.ircnow.org mask-src filter { check_rdns check_fcrdns check_spammers } hostname ircnow.org | listen on egress port 25 tls pki mail.ircnow.org mask-src filter { check_rdns check_fcrdns check_spammers } hostname ircnow.org | ||
listen on egress port 587 tls-require pki mail.ircnow.org auth <passwd> mask-src filter { check_rdns check_fcrdns } hostname ircnow.org | listen on egress port 587 tls-require pki mail.ircnow.org auth <passwd> mask-src filter { check_rdns check_fcrdns } hostname ircnow.org | ||
+ | |||
+ | action "lmtp" lmtp "/var/dovecot/lmtp" rcpt-to virtual <virtuals> | ||
+ | action "relay" relay | ||
+ | action "relay_dkim" relay host smtp://127.0.0.1:10027 | ||
# If mail is for any of our domains, pass it to dovecot | # If mail is for any of our domains, pass it to dovecot | ||
Line 42: | Line 46: | ||
match from src <hosts> for any action "relay_dkim" | match from src <hosts> for any action "relay_dkim" | ||
match auth from any for any action "relay_dkim" | match auth from any for any action "relay_dkim" | ||
- | |||
- | action "lmtp" lmtp "/var/dovecot/lmtp" rcpt-to virtual <virtuals> | ||
- | action "relay" relay | ||
- | action "relay_dkim" relay host smtp://127.0.0.1:10027 | ||
</code> | </code> | ||