diff options
author | Marcello Coutinho <marcellocoutinho@gmail.com> | 2013-05-13 11:36:30 -0300 |
---|---|---|
committer | Marcello Coutinho <marcellocoutinho@gmail.com> | 2013-05-13 11:36:30 -0300 |
commit | d10fa5428841544605fc5768f0cd0305574ebf8d (patch) | |
tree | 01265b0d6517bfe2dde43623b858dbe399f91044 | |
parent | 2aad6a9a4afde7b2618c760ac6dd611c0a941664 (diff) | |
download | pfsense-packages-d10fa5428841544605fc5768f0cd0305574ebf8d.tar.gz pfsense-packages-d10fa5428841544605fc5768f0cd0305574ebf8d.tar.bz2 pfsense-packages-d10fa5428841544605fc5768f0cd0305574ebf8d.zip |
postfix - fix pcre helo acl file check on 2.1
-rw-r--r-- | config/postfix/postfix.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/postfix/postfix.inc b/config/postfix/postfix.inc index 3f465969..b564fd47 100644 --- a/config/postfix/postfix.inc +++ b/config/postfix/postfix.inc @@ -463,7 +463,7 @@ EOF; } if ($antispam['reject_unknown_helo_hostname']){ $reject_unknown_helo_hostname = <<<EOF -smtpd_helo_restrictions = check_helo_access pcre:/usr/local/etc/postfix/helo_check, +smtpd_helo_restrictions = check_helo_access pcre:{$pf_dir}/etc/postfix/helo_check, reject_unknown_helo_hostname, reject_invalid_helo_hostname, reject_non_fqdn_helo_hostname, @@ -703,6 +703,7 @@ MASTEREOF2; file_put_contents(POSTFIX_LOCALBASE."/etc/postfix/cal_cidr", $cal_cidr, LOCK_EX); file_put_contents(POSTFIX_LOCALBASE."/etc/postfix/cal_pcre", $cal_pcre, LOCK_EX); file_put_contents(POSTFIX_LOCALBASE."/etc/postfix/header_check", $header_check, LOCK_EX); + file_put_contents(POSTFIX_LOCALBASE."/etc/postfix/helo_check", $helo_check, LOCK_EX); file_put_contents(POSTFIX_LOCALBASE."/etc/postfix/mime_check", $mime_check, LOCK_EX); file_put_contents(POSTFIX_LOCALBASE."/etc/postfix/body_check", $body_check, LOCK_EX); file_put_contents(POSTFIX_LOCALBASE."/etc/postfix/mynetwork_table", $mynetworks, LOCK_EX); |