For some time now, I have been using dspam inconjuction with postfix. I have a working configuration on a FreeBSD-based server. I am now trying to migrate this setup to another server, but something is going wrong with dspam: everytime postfix tries to submit a mail to it, it dies. A typical maillog entry looks like this:
Sep 25 15:58:20 venus postfix/lmtp: 8D42B2E75A: to=<cb@xxx,xx>, relay=venus[/var/run/dspam.sock], delay=0.43, delays=0.16/0.01/0/0.26, dsn=4.4.2, status=deferred (lost connection with venus[/var/run/dspam.sock] while sending end of data -- message may be sent more than once)
Any further attempt by postfix returns a log entry like this:
Sep 26 08:57:47 venus postfix/error: F333E2E7F0: to=<firstname.lastname@example.org>, orig_to=<email@example.com>, relay=none, delay=224748, delays=224747/0.37/0/0.25, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to venus[/var/run/dspam.sock]: Connection refused)
FWIW, here is the relevant entry in postfix's master.cf file:
smtp inet n - n - - smtpd
I now gone through the dspam and postfix settings numerous times on both servers, but I can't figure out why dspam is dying on the new sytem.
I've switched on verbose debugging in dspam, but it doesn't tell me anything useful.
Anyone have any ideas or suggestions for me?