I noticed I was running postfix 3.1.0. Freebsd has rev 3.1.1, so I
figured I would upgrade.

Fist up, I reviewed the page I used as a starting point for setting up
my mail server, namely 
http://blog.iandreev.com/?p=1604
In the configuration for postfix, the SPF option is not selected.

Somewhere in my journey of setting up postfix, I ended up adding this
to the master.cf:
--------------------------------
policyd-spf  unix  -       n       n       -       0       spawn
            user=nobody argv=/usr/local/bin/policyd-spf
--------------------------------

My main.cf has this relative to spf:
-------------------------------------
smtpd_recipient_restrictions =
  permit_sasl_authenticated,
  permit_mynetworks,
  reject_unauth_destination,
  check_client_access hash:/usr/local/etc/postfix/rbl_override,
  reject_rbl_client zen.spamhaus.org,
  reject_rbl_client bl.spamcop.net,
  reject_rbl_client cbl.abuseat.org,
  reject_rbl_client b.barracudacentral.org,
  reject_rbl_client ix.dnsbl.manitu.net,
  reject_rbl_client rabl.nuclearelephant.com,
  check_policy_service unix:private/policyd-spf,
  permit
smtpd_relay_restrictions =
  permit_sasl_authenticated,
  permit_mynetworks,
  reject_unauth_destination
policyd-spf_time_limit = 3600
#policy_time_limit = 3600
mailbox_size_limit = 0
message_size_limit = 0
virtual_mailbox_limit = 0
-------------------------------------------------------

As far as I can tell, I pass the SPF tests based on the various email
certification services.

So should I select the spf option when I upgrade? I'm hesitant to 
break what doesn't need fixing.

Reply via email to