dccm timeout lets some spam through

Gary Mills mills@cc.UManitoba.CA
Fri Apr 25 14:36:22 UTC 2003


On Thu, Apr 24, 2003 at 11:17:25PM -0600, Vernon Schryver wrote:
> > From: Gary Mills <mills@cc.UManitoba.CA>
> 
> > > Note that mi_rd_cmd() is a function in the sendmail libmilter library.
> > > Those two messages suggest something was seriously wrong.
> 
> The message suggests that sendmail has closed the UNIX domain socket to dccm.
> That can happen if the system is very slow.  If this happens, there
> should be a complaint from sendmail in some log.

This seems to happen every morning, while the dccd database is rebuilt.
Here are the two log messages from that process:

Apr 25 02:45:04 electra dccd[24791]: [ID 287260 mail.notice] database cleaning begun
Apr 25 02:48:03 electra dccd[24791]: [ID 271588 mail.notice] 1.1.35 database /usr/local/dcc/dcc_db reopened

Here are the first complaints from sendmail:

Apr 25 02:47:40 electra sm-mta[541]: [ID 801593 mail.error] h3P7lNDp000541: Milter (dcc): timeout before data read
Apr 25 02:47:40 electra sm-mta[541]: [ID 801593 mail.info] h3P7lNDp000541: Milter (dcc): to error state
Apr 25 02:47:40 electra sm-mta[541]: [ID 801593 mail.info] h3P7lNDp000541: Milter: data, reject=451 4.7.1 Please try again later
Apr 25 02:47:40 electra sm-mta[541]: [ID 801593 mail.info] h3P7lNDp000541: to=<james_blanchard@umanitoba.ca>, delay=00:00:16, pri=30816, stat=Please try again later

Now, a selection of other errors:

Apr 25 02:47:40 electra sm-mta[620]: [ID 801593 mail.info] h3P7lUDp000620: Milter: connect: host=lpls1.liveprayer.com, addr=65.162.28.2, temp failing commands

Apr 25 02:47:42 electra dccm[24803]: [ID 109917 mail.error] DCC, mi_rd_cmd: read returned -1: Connection reset by peer

Apr 25 02:47:45 electra dccm[24803]: [ID 702911 mail.error] no answer from electra.cc.umanitoba.ca (130.179.16.23,6277) after 10602 ms

Finally, today's last error logged by dccm.  After that, it appears to
be working normally:

Apr 25 02:47:56 electra dccm[24803]: [ID 109917 mail.error] DCC, mi_rd_cmd: read returned -1: Connection reset by peer

-- 
-Gary Mills-    -Unix Support-    -U of M Academic Computing and Networking-



More information about the DCC mailing list

Contact vjs@rhyolite.com by mail or use the form.