Hello,
I'm trying to get a postfix server to connect to our milter(spamassasin) again. This has worked before. All other servers are sendmail servers and they connect fine, and the incoming e-mails are getting a spam score in their header. But the postfix server seems not to go past our milter and not getting back spam score in mail-headers.
This warning is in the /var/log/mail.log:
Code:
postfix/smtpd: warning: connect to Milter service inet:milter.host:1025 Connection refused
Along with this warning in syslog:
Code:
postfix/smtpd[18787]: warning: milter inet:milter.host:1025: can't read SMFIC_RCPT reply packet header: Success
On the milter.host I see all other servers connect properly, except for the postfix server:
Code:
info: spamd: connection from sendmail.server.net [XX.XX.XX.XX] at port 48209
When I'm running a netstat -antup | grep 1025 (1025 the port the milter listens to) I see that from both sides from time to time there is a connection.
So with a telnet I can also confirm that connecting to 1025 from the postfix server goes fine.
in /etc/postfix/main.cf:
Code:
smtpd_milters = inet:milter.host:1025
milter_default_action = tempfail
In /etc/postfix/master.cf:
Code:
smtp inet n - - - - smtpd
...
cyrus unix - n n - - pipe
flags= user=cyrus argv=/usr/sbin/cyrdeliver -e -r ${sender} -m ${extension} ${user}
spamc unix - n n - - pipe
flags= user=cyrus argv=/usr/bin/spamc -d X.X.X.X -u ${user}@domain.net -e /usr/sbin/cyrdeliver -e -r ${sender} -m ${extension} ${user}
Don't ask me why this is configured this way, this was done before I came here. They only thing I know that it had worked before and that I have to fix this. I have googled for a few days now but can't seem to find an answer that fits our server.
Please some tips asked to debug this problem.