OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: fqrdns.pcre

From: Noel Jones (njonesmegan.vbhcs.org)
Date: Wed Dec 08 2010 - 21:27:09 CST


On 12/8/2010 8:01 PM, Paul Cartwright wrote:

> putting each item on a line by itself, even with the comma at the end
> causes postfix to give errors on reloading.
> here is what it looks like now:
> smtpd_recipient_restrictions = permit_mynetworks,
> permit_sasl_authenticated, reject_unauth_destination,
> check_reverse_client_hostname_access pcre:/etc/postfix/fqrdns.pcre
> check_client_access cidr:/etc/postfix/china.cidr,
> reject_unknown_sender_domain, reject_unknown_recipient_domain,
> reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_rbl_client
> dnsbl.sorbs.net, reject_rbl_client zen.spamhaus.org, reject_rhsbl_sender
> dbl.spamhaus.org, reject_rhsbl_helo dbl.spamhaus.org

As documented, you must indent lines for continuation.
http://www.postfix.org/postconf.5.html

smtpd_recipient_restrictions = permit_mynetworks,
   permit_sasl_authenticated, reject_unauth_destination,
   check_reverse_client_hostname_access
     pcre:/etc/postfix/fqrdns.pcre
   check_client_access cidr:/etc/postfix/china.cidr,
   reject_unknown_sender_domain,
   reject_unknown_recipient_domain,
   reject_non_fqdn_sender, reject_non_fqdn_recipient,
   reject_rbl_client dnsbl.sorbs.net,
   reject_rbl_client zen.spamhaus.org,
   reject_rhsbl_sender dbl.spamhaus.org,
   reject_rhsbl_helo dbl.spamhaus.org

   -- Noel Jones