Date: 26 Nov 2003 10:56:25 -0500 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: "dave" <dmehler@davemehler.com> Cc: freebsd-questions@freebsd.org Subject: Re: postfix restrictions error Message-ID: <44znejcedy.fsf@be-well.ilk.org> In-Reply-To: <001401c3b3d2$0a897330$0200a8c0@satellite> References: <001401c3b3d2$0a897330$0200a8c0@satellite>
next in thread | previous in thread | raw e-mail | index | archive | help
"dave" <dmehler@davemehler.com> writes: > 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 Sounds like postfix thinks it's a parameter, not a value. > I copied these verbatum from a site, i do not understand what is > up. Postfix is easier to configure than sendmail, but there's still really no alternative to understanding what you're doing. > > # 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 I think you've got general syntax problems. A line only continues the previous line if it begins with whitespace. So you should indent a lot of those lines (pretty much all of the ones that don't have an '=' at the end). For readability, I would also separate the different parameter settings with (at least) a blank line.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44znejcedy.fsf>