Prev: AMARELAS INTERNET! RENDA! INOVAÇAO! HONESTIDADE E PRATICIDADE!
Next: TLS - how to ignore internal sendmail traffic
From: Chris Adams on 30 Jun 2010 14:48 I have a mail server that forwards messages for a few old domains, mostly to our primary domain via spam filter servers. To smooth out the traffic to the spam filter servers, I set the forwarding server to queue, put messages for those servers in a queue group, and run that queue group often (to cut down on extra delays). However, periodically (after several days or weeks even) sendmail stops processing its queue at all (not just this queue group but all queued messages). I can't find anything in the log about why, and I don't see why it stops (it is still accepting connections and queueing messages). The server is not loaded and there aren't all that many processes (nowhere near any of the limits). Any suggestions about where to look? I figure this is probably some configuration error on my part (it usually is). This is sendmail 8.13.8 from RHEL 5.5. The command line options are "sendmail -bd -q5m" (so no matter what, it should start a new queue runner every 5 minutes, right?). The only odd thing I have configured is that I set up additional mailers, copied from esmtp, so that the sendmail mailstats command keeps statistics for me. If there's a config problem, I expect this is it, but it works fine for a while before breaking. Relevant snippets from my config: define(`confMAX_DAEMON_CHILDREN',`1500') define(`confMAX_QUEUE_CHILDREN',`750') define(`confMAX_RUNNERS_PER_QUEUE',`250') define(`confDELAY_LA',`0') define(`confQUEUE_LA',`25') define(`confREFUSE_LA',`25') define(`confDELIVERY_MODE',`queue') MAILER(smtp) define(`local_queue',`/queue/mqueue') define(`QUEUE_DIR',local_queue`/q*') QUEUE_GROUP(`antespam',`Path='local_queue`/antespam/q*,Flags=f,Runners=20,Interval=20s') dnl copied from .../sendmail-cf/mailer/smtp.m4 (esmtp def) define(`_ESMTP_QGRP',` Q=antespam,') Mhiante, P=[IPC], F=_MODMF_(CONCAT(_DEF_SMTP_MAILER_FLAGS, `a', SMTP_MAILER_FLAGS), `ESMTP'), S=EnvFromSMTP/HdrFromSMTP, R=ifdef(`_ALL_MASQUERADE_', `EnvToSMTP/HdrFromSMTP', `EnvToSMTP'), E=\r\n, L=990, _OPTINS(`SMTP_MAILER_MAX', `M=', `, ')_OPTINS(`SMTP_MAILER_MAXMSGS', `m=', `, ')_OPTINS(`SMTP_MAILER_MAXRCPTS', `r=', `, ')_OPTINS(`SMTP_MAILER_CHARSET', `C=', `, ')T=DNS/RFC822/SMTP,_ESMTP_QGRP A=ESMTP_MAILER_ARGS -- Chris Adams <cmadams(a)hiwaay.net> Systems and Network Administrator - HiWAAY Internet Services I don't speak for anybody but myself - that's enough trouble. |