This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
openbsd:mail:opensmtpd3 [2020/07/29 11:00] jrmu |
openbsd:mail:opensmtpd3 [2020/07/29 11:32] (current) jrmu |
||
---|---|---|---|
Line 20: | Line 20: | ||
table virtuals file:/etc/mail/virtuals | table virtuals file:/etc/mail/virtuals | ||
table hosts file:/etc/mail/hosts | table hosts file:/etc/mail/hosts | ||
- | table spammers file:/etc/mail/spammers | ||
# Blocks junk mail | # Blocks junk mail | ||
Line 32: | Line 31: | ||
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 45: | ||
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> | ||