Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

postscreen: unknown command: OK

136 views
Skip to first unread message

Jeetu

unread,
Aug 2, 2011, 10:15:13 AM8/2/11
to
Hi,

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

Duane Hill

unread,
Aug 2, 2011, 10:23:36 AM8/2/11
to
Hello Jeetu,

> Hi,

See: http://www.postfix.org/postconf.5.html#postscreen_access_list

--
Best regards,
Duane mailto:du...@duanemail.org

Ralf Hildebrandt

unread,
Aug 2, 2011, 3:18:44 PM8/2/11
to
* Jeetu <jeete...@directi.com>:

> $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

Jeetu

unread,
Aug 3, 2011, 1:21:36 AM8/3/11
to
On 02/08/11 7:53 PM, Duane Hill wrote:
> See:http://www.postfix.org/postconf.5.html#postscreen_access_list

thank you.

--
-Jeetu

Jeetu

unread,
Aug 3, 2011, 1:24:51 AM8/3/11
to
On 03/08/11 12:48 AM, Ralf Hildebrandt wrote:
>> $head /etc/postfix/whitelisted_clients
>> > x.x.x.x OK
>> > x.x.x.x OK
> permit, not OK.

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

Ralf Hildebrandt

unread,
Aug 3, 2011, 4:04:10 AM8/3/11
to
* Jeetu <jeete...@directi.com>:

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!

0 new messages