I'm trying to use postscreen using postfix-2.8.4 on rhel-4 64 bit server
My postconf is
postscreen_access_list =
permit_mynetworks,
hash:/etc/postfix/whitelisted_clients,
hash:/etc/postfix/blacklisted_clients
$head /etc/postfix/whitelisted_clients
x.x.x.x OK
x.x.x.x OK
...
...
I'm getting following error in logs
Aug 2 19:15:57 inbound-in-1 postfix/postscreen[24480]: warning:
hash:/etc/postfix/whitelisted_clients: unknown command: OK -- ignoring
the remainder of this access list
Aug 2 19:17:07 inbound-in-1 postfix/postscreen[24480]: warning:
hash:/etc/postfix/whitelisted_clients: unknown command: OK -- ignoring
the remainder of this access list
Aug 2 19:29:31 inbound-in-1 postfix/postscreen[24480]: warning:
hash:/etc/postfix/whitelisted_clients: unknown command: OK -- ignoring
the remainder of this access list
--
-Jeetu
> Hi,
See: http://www.postfix.org/postconf.5.html#postscreen_access_list
--
Best regards,
Duane mailto:du...@duanemail.org
> $head /etc/postfix/whitelisted_clients
> x.x.x.x OK
> x.x.x.x OK
permit, not OK.
--
Ralf Hildebrandt
Geschäftsbereich IT | Abteilung Netzwerk
Charité - Universitätsmedizin Berlin
Campus Benjamin Franklin
Hindenburgdamm 30 | D-12203 Berlin
Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
ralf.hil...@charite.de | http://www.charite.de
thank you.
--
-Jeetu
ok. i wanted to know if i add access_list in postscreen, then do i need
it in smtpd_recipient_restrictions or i can just remove it from there ?
--
-Jeetu
I don't understand the question. What you add in
/etc/postfix/whitelisted_clients is valid for POSTSCREEN only. If your
smtpd_recipient_restrictions should (for whatever reason) block the
SAME IP you also need to whitelist there as well!