Hello Everyone

Let I ask one question about postfix policy
According to page http://www.postfix.org/SMTPD_POLICY_README.html
I try to create policy by following above page but I always get the error as 
below

Mar 26 18:07:29 TON postfix/smtpd[24332]: connect from localhost[127.0.0.1]
Mar 26 18:07:44 TON postfix/spawn[24335]: warning: command /usr/bin/perl exit 
status 255
Mar 26 18:07:44 TON postfix/smtpd[24332]: warning: premature end-of-input on 
private/greylist while reading input attribute name
Mar 26 18:07:45 TON postfix/spawn[24335]: warning: command /usr/bin/perl exit 
status 255
Mar 26 18:07:45 TON postfix/smtpd[24332]: warning: premature end-of-input on 
private/greylist while reading input attribute name
Mar 26 18:07:45 TON postfix/smtpd[24332]: warning: problem talking to server 
private/greylist: Connection reset by peer
Mar 26 18:07:45 TON postfix/smtpd[24332]: NOQUEUE: reject: RCPT from 
localhost[127.0.0.1]: 451 4.3.5 Server configuration problem; 
from=<[email protected]> to=<[email protected]> proto=SMTP

My configuration
Main.cf
smtpd_recipient_restrictions = check_policy_service 
unix:private/greylist,permit_mynetworks,reject

master.cf
greylist  unix  -       n       n       -       -       spawn
        user=nobody argv=/usr/bin/perl /usr/libexec/postfix/greylist.pl

CentOS release 6.2  64bit
postfix-2.6.6-2.2.el6_1.x86_64

What wrong in my configuration ?

Thanks in advance

Ton



Reply via email to