postfix restrictions error

Noel Jones njones at megan.vbhcs.org
Wed Nov 26 08:13:40 PST 2003


----- Original Message -----
From: "dave" <dmehler at davemehler.com>
To: <freebsd-questions at freebsd.org>
Sent: Tuesday, November 25, 2003 9:59 PM
Subject: postfix restrictions error


 > Hello,
 >     I'm trying to implement the below restrictions on my postfix 2.0.16
 > system. I am getting the error:
 > "Missing '=' after attribute 'permit_mynetworks'" on a line number
 >     I copied these verbatum from a site, i do not understand what is up.
 > Thanks for any help, it's probably just the late hour.
 > Thanks a lot.
 > Dave.
 >
 > # uce values
 > strict_rfc821_envelopes = yes
 > smtpd_etrn_restrictions = permit_mynetworks
 > smtpd_helo_required = yes
 > smtpd_helo_restrictions =
 > permit_mynetworks,
 > reject_unauth_pipelining,
 > reject_invalid_hostname
 > reject_maps_rbl
 > maps_rbl_domains =
 > sbl.spamhaus.org,
 > relays.ordb.org,
 > opm.blitzed.org,
 > dun.dnsrbl.net,
 > spam.dnsrbl.net
 > smtpd_sender_restrictions =
 > reject_non_fqdn_sender,
 > reject_unknown_sender_domain
 > smtpd_recipient_restrictions =
 > permit_mynetworks,
 > reject_unauth_destination,
 > reject_non_fqdn_recipient
 >

Lines to be included in a parameter must be either all on the same line or 
indented with spaces.  The comma is optional.

examples:
smtpd_helo_restrictions =
      permit_mynetworks,
      reject_unauth_pipelining,
      reject_invalid_hostname
      reject_maps_rbl

maps_rbl_domains =
      sbl.spamhaus.org
      relays.ordb.org
      opm.blitzed.org
      dun.dnsrbl.net
      spam.dnsrbl.net


-- 
Noel Jones



More information about the freebsd-questions mailing list