OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Greylisting problem

From: Pavol Luptak (P.Luptaksh.cvut.cz)
Date: Wed Mar 10 2004 - 08:39:08 CST


Hello,
I have a problem with my configured greylisting, the part of maillog:

Mar 10 14:38:59 mx1 postfix/smtpd[7109]: [ID 947731 mail.warning] warning: connect to private/policy: Socket operation on non-socket
Mar 10 14:39:00 mx1 postfix/smtpd[7040]: [ID 197553 mail.info] disconnect from mx.quantor.ru[217.198.4.130]
Mar 10 14:39:00 mx1 postfix/smtpd[7109]: [ID 947731 mail.warning] warning: connect to private/policy: Socket operation on non-socket
Mar 10 14:39:00 mx1 postfix/smtpd[7109]: [ID 947731 mail.warning] warning: problem talking to server private/policy: No such file or directory
Mar 10 14:39:00 mx1 postfix/smtpd[7109]: [ID 197553 mail.info] NOQUEUE: reject: RCPT from dhcp024-209-079-035.woh.rr.com[24.209.79.35]: 450 Server configuration problem; from=<ueiplidwoh.rr.com> to=<xbarj27vse.cz> proto=SMTP helo=<dhcp024-209-079-035.woh.rr.com>

I have in master.cf:

policy unix - n n - - spawn user=nobody argv=/usr/local/bin/perl /usr/libexec/postfix/smtpd-policy.pl

main.cf:

smtpd_policy_service_endpoint = unix:private/policy
smtpd_recipient_restrictions = reject_unknown_recipient_domain
                        dbm:/etc/postfix/access_recipient
                        regexp:/etc/postfix/access_recipient_regexp
                        permit_mynetworks
                        reject_unauth_destination
                        check_policy_service unix:private/policy

I tried to replace 'unix:private/policy' with inet socket, I also used
the absolute pathname, but no success.
When I run /usr/libexec/postfix/smtpd-policy.pl manually, I have no problems -
the greylisting database will be correctly created.

I use Postfix Snapshot 20031231 + TLS/IP patch on Solaris 9/SPARC.

Thanks for any help,

Pavol Luptak
--
_____________________________________________________________________________
[wilderhq.sk] [http://trip.sk/wilder/] [talker: ttt.sk 5678] [ICQ: 133403556]

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFATyiMhL+8XxdK5TIRAmXQAJ9EsZBd8m0ekM12HFEKRFpwL7SNcwCeOKbS
M+HYNbHfIjPO1CWIgCvGlbU=
=GsDV
-----END PGP SIGNATURE-----