Mark Rogers wrote:
Mark Rogers wrote:
I have a problem with mail released from quarantine never being delivered.

Everything had been working and nothing has changed, any suggestions where I should look? If I search the Postfix mail logs for references to the mail message ID I don't see anything "new" after I release the message (ie if I see the message arrive at say 12pm, then release it at 3pm, then there's nothing logged around 3pm). The message does vanish from the dspam user.mbox file and from the quarantine log on the web UI, and gets shown as retrained on the web history page.

I'm stuck with 3.6.8 (Ubuntu packages).

The problem appears to be consistent, in that it seems any mail being released goes missing.


I'm guessing since nobody commented that nobody has any suggestions with this? I am losing mail all over the place at the moment and would really appreciate some suggestions as to how to debug this!

Rebooting the server tends to keep it working for a while. It *seems* to stop working under high load (eg I tried releasing some mails from a quarantine of 4000+ messages, the first few went through fine, everything after that stopped working until I rebooted the server).

It seems like somehow dspam is dying but the web interface code does not detect that, so when it sends the mail back to postfix for delivery, maybe postfix is giving a suitable response (rejected, try again later, whatever) but the web interface is not handling that and deleting the unsent message from the mbox file. Suggestions as to where I would go looking for confirmation of that theory also welcomed.

Are you using dspam as daemon? Restart the dspam daemon only, not the whole server.

Otherwise:

Enable debug logging.

Check for the missing emails on the root account (or it's alias) if applicable.

Check for the missing email on the account specified to receive double-bounces (IE postmaster)

I thought that dspam quarantine doesn't delete the message from the mbox until after a successful exit code from whatever delivery agent was specified. Could somebody confirm?

Sounds like the message are not getting to postfix though. Postfix logs a "connect from <hostname>[ipaddress]..." Please confirm that postfix is listening in on the same ip/port as what you have specified in your dspam.conf deliveryhost/deliveryport.


-Troy



!DSPAM:1011,48739350150921397012536!


Reply via email to