This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
openbsd:mail:opensmtpd2 [2020/08/12 13:36] baytuch |
openbsd:mail:opensmtpd2 [2020/08/12 13:53] (current) baytuch [Creating a configuration file] |
||
---|---|---|---|
Line 33: | Line 33: | ||
table domains file:/etc/mail/domains | table domains file:/etc/mail/domains | ||
table hosts file:/etc/mail/hosts | table hosts file:/etc/mail/hosts | ||
- | #table vusers file:/etc/mail/vusers | + | table vusers file:/etc/mail/vusers |
- | #table passwd file:/etc/mail/passwd | + | table passwd file:/etc/mail/passwd |
filter check_rdns phase connect match !rdns junk | filter check_rdns phase connect match !rdns junk | ||
Line 42: | Line 42: | ||
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 example.com mask-src filter { check_rdns check_fcrdns } | listen on egress port 25 tls pki example.com mask-src filter { check_rdns check_fcrdns } | ||
- | listen on egress port 587 tls-require tag AUTH pki grape.ircnow.org auth <passwd> mask-src filter { check_rdns check_fcrdns } | + | listen on egress port 587 tls-require pki grape.ircnow.org auth <passwd> mask-src filter { check_rdns check_fcrdns } |
action "local_mail" mbox alias <aliases> | action "local_mail" mbox alias <aliases> | ||
Line 54: | Line 54: | ||
match from local for any action "relay_dkim" | match from local for any action "relay_dkim" | ||
match from src <hosts> for any action "relay_dkim" | match from src <hosts> for any action "relay_dkim" | ||
- | match from any tag AUTH for any action "relay_dkim" | + | match from auth for any action "relay_dkim" |
match from any for domain <domains> action "lmtp" | match from any for domain <domains> action "lmtp" | ||
</code> | </code> |