Date: Wed, 26 Nov 2003 10:05:19 -0600 From: "Kenzo" <kenzo_chin@hotmail.com> To: <freebsd-questions@freebsd.org> Subject: Re: postfix restrictions error Message-ID: <Sea1-DAV373WwcVDubL00004186@hotmail.com> References: <001401c3b3d2$0a897330$0200a8c0@satellite> <44znejcedy.fsf@be-well.ilk.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Yea, I had a similar problem once too. I we editing my main.cf file and accidently removed a comment where it needed one. That generated some weird errors. go thru the config file and look to make sure you didn't uncomment something that's suppose to be. ----- Original Message ----- From: "Lowell Gilbert" <freebsd-questions-local@be-well.ilk.org> To: "dave" <dmehler@davemehler.com> Cc: <freebsd-questions@freebsd.org> Sent: Wednesday, November 26, 2003 9:56 AM Subject: Re: postfix restrictions error > "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. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Sea1-DAV373WwcVDubL00004186>