← 返回首页

openbsd misc – basic smtpd question

// Thread started by bofh Hi, Trying to migrate from my 4.4 to 5.1. Thought I’d go with smtpd. Is this config good? I want all email for my domain to be delivered on this box, and for this box to send email out. wan_if = “em0” lan_if = “fxp0” listen on lo0 listen on $lan_if listen on _wan_if map “aliases” { source db “/etc/mail/aliases.db” } accept for local alias aliases deliver to mbox accept for domain “*.domain1.com” deliver to mbox accept for domain “*.domain2.org” deliver to mbox accept from 10.1.1.0/24 relay I’m also using spamd with default settings as delivered on 5.1, just uncommenting out the spamd pieces in /etc/pf.conf - there’d be no impact here right? Thanks!