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!

--
http://www.glumbert.com/media/shift
http://www.youtube.com/watch?v=tGvHNNOLnCk
"This officer's men seem to follow him merely out of idle curiosity."
-- Sandhurst officer cadet evaluation.
"Securing an environment of Windows platforms from abuse - external or
internal - is akin to trying to install sprinklers in a fireworks
factory where smoking on the job is permitted."  -- Gene Spafford
learn french:  http://www.youtube.com/watch?v=30v_g83VHK4

Reply via email to