postgrey in centos:warning: connect to /var/spool/postfix/postgrey/socket
Hello,
I have postfix 2.11 installed from source and i installed postgrey through yum(centos server). I followed the following article: Code:
http://forums.zpanelcp.com/Thread-HOW-TO-Install-Postgrey-ANTISPAM-for-Postfix warning: connect to /var/spool/postfix/postgrey/socket: No such file or directory warning: problem talking to server /var/spool/postfix/postgrey/socket: No such file or directory When i did netstat -nlp|grep postgrey i got the following: unix 2 [ ACC ] STREAM LISTENING 171706276 23701/socket /var/spool/postfix/postgrey/socket Then why m i getting that error? |
Quote:
And a quick search for the error would have led you to the CentOS fourms, where it is described, along with a solution. Did you try to look this up???? http://wiki.centos.org/HowTos/postgrey http://wiki.centos.org/HowTos/SELinu...9e56191c257c01 |
Hello,
Thank you for your reply. Well selinux is disabled so i don't think that should be creating problems and i did as mentioned there but stil then i see that warning,not sure why. And after the postgrey was on,i was not able to receive mails from gmail and it gave the following error: Code:
postfix/smtpd[27968]: NOQUEUE: reject: RCPT from mail-ie0-f182.google.com[209.85.223.182]: 451 4.3.5 Server configuration problem; from=<test1@gmail.com> to=<test@example.com> proto=ESMTP helo=<mail-ie0-f182.google.com> Only after i turned off postgrey,i started receiving mails from gmail. So what could be the possible reason? |
Quote:
|
Well, this message definitely can be generated by others than SELinux as well. Though I'm running on Debian I get the exact same error without SELinux even installed. The reason for this is, that in my default configuration Postgrey is not listening on the Unix socket but on INET. So try changing your check_policy_service command in /etc/postfix/main.cf to:
Code:
check_policy_service inet:127.0.0.1:10023 Code:
netstat -tpan |
All times are GMT -5. The time now is 01:05 AM. |