postfwd.patch
root/etc/e-smith/templates/etc/postfix/main.cf/35postfwd | ||
---|---|---|
1 |
{ |
|
2 |
# |
|
3 |
# 35postfwd |
|
4 |
# |
|
5 |
if($postfwd{status} eq 'enabled') { |
|
6 |
@smtpd_recipient_restrictions = map { |
|
7 |
$_ eq 'reject_unauth_destination' ? |
|
8 |
($_, 'check_policy_server inet:127.0.0.1:10040') : |
|
9 |
$_ |
|
10 |
} @smtpd_recipient_restrictions; |
|
11 |
} |
|
12 |
''; |
|
13 |
} |