LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   dspam daemon keeps dying (https://www.linuxquestions.org/questions/linux-server-73/dspam-daemon-keeps-dying-4175429409/)

Kropotkin 09-28-2012 04:38 AM

dspam daemon keeps dying
 
Hi all,

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:

Code:

Sep 25 15:58:20 venus postfix/lmtp[80453]: 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:
Code:

Sep 26 08:57:47 venus postfix/error[18378]: F333E2E7F0: to=<xxxxxxxx@xxxxx.xxx>, orig_to=<xxxxxxxxx@xxxxxxx.xx>, 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:
Code:

smtp      inet  n      -      n      -      -      smtpd
  -o content_filter=lmtp:unix:/var/run/dspam.sock

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?

rosehosting.com 09-28-2012 05:09 AM

Read the following HOWTO: Simple mail server (postfix/dspam/dovecot) available at http://forums.freebsd.org/showthread.php?t=16801 and try to implement it on your server.

Kropotkin 10-06-2012 03:51 AM

I've identified the source of the problem: it appears to be caused by moving a dspam token file (.css) from a 64-bit system to a 32-bit one. Apparently the file formats are different (???). Source dspam-users mailing list.


All times are GMT -5. The time now is 09:21 AM.