Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm now managing an old mail server based on Sendmail:

# cat /etc/issue
Lineox Enterprise Linux AS release 4 (Nahant Update 2)
Kernel \r on an \m
# uname -a
Linux myme1 2.6.9-22.0.1.ELsmp #1 SMP Thu Oct 27 22:18:44 EEST 2005 i686 i686 i386 GNU/Linux
# rpm -qa | grep sendmail
sendmail-8.13.1-2
sendmail-cf-8.13.1-2
sendmail-devel-8.13.1-2

it has been working without problems since long time and it currently is producction mail server. The problem is that since last weekend it is not processing bounce mails. We had thousands of bounce mails queued and it looks like sendmail is not processing the bounce queue. I'm not an expert in sendmail but I've check the configuration and I have:

# vi /etc/mail/sendmail.cf
...
Qbounce, P=/u01/app/sendmail/mqueue/current/bounce,I=15m
Qdombackup, P=/u01/app/sendmail/mqueue/current/dombackup,I=3h
...
Squeuegroup
R$*                             $: $1 $| $&f   # put the $&f (from) on a 'stack'
R$* $| $={daemon}               $# bounce      # into the daemon queuegroup
R$* $|                          $# bounce      # we see <> as "" (nada) here.
R$* $| $*                       $: $1          # "pop" the stack

If I'm not wrong the bounce queue should be processed every 15minutes, but it's not. I've check the TEST environment and bounce queue configuration is the same and there it's working smoothly.

Also I've check the running processes and everything looks OK:

# ps aux | grep sendmail
root      4151  0.0  0.1  9372 3336 ?        Ss   07:35   0:12 sendmail: accepting connections
smmsp     4161  0.0  0.0  6816 2436 ?        Ss   07:35   0:00 sendmail: Queue runner@01:00:00 for /u01/app/sendmail/mqueue/current/localqueue
root      4174  0.0  0.1  8312 2976 ?        Ss   07:35   0:00 sendmail: accepting connections
apache    4182  0.0  0.0  7836 2428 ?        Ss   07:35   0:00 sendmail: Queue runner@00:20:00 for /u01/app/sendmail/mqueue/current/privlocalqueue

I've restart the service this morning hoping that once restarted everything come back to normal state, but It did not.

Right now, I've create and script to proccess manually all the mail in bounce queue folder but I would like to know if there is something I've forgotten to check or see.

I hope someone can help me. Thanks!

UPDATE 2013/03/13 Answering the 7th comment, I've ejecuted sendmail -q -v and it shows:

# sendmail -q -v

Running /u01/app/sendmail/mqueue/current/queue2/r2DFTPuL029203 (sequence 1 of 31)
r2DFTPuL029203: locked

Running /u01/app/sendmail/mqueue/current/queue3/r2CJ0Ml8020148 (sequence 2 of 31)

UPDATE 2013/03/14 Answering the question about exit of mailq

/u01/app/sendmail/mqueue/current/bounce (8 requests)
-----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient-----------
r2293cXb008592 2727 Sat Mar 2 10:03 MAILER-DAEMON
<bouncexxx.xx@xxxx.com>
r2EGl0Ua022456     2413 Thu Mar 14 17:47 MAILER-DAEMON
<pacxxx@xxxx.com>
r2EGnDCJ022892     2465 Thu Mar 14 17:49 MAILER-DAEMON
<pnaxxx@xxx.com>
r2EGow38023239     2545 Thu Mar 14 17:50 MAILER-DAEMON
<jfernx@xxxx.com>
r2EGpI38023310     2545 Thu Mar 14 17:51 MAILER-DAEMON
<jfernanxxx@xxx.com>
r2EGkX40022377    79264 Thu Mar 14 17:46 MAILER-DAEMON
<7EU6K-872O5K-WSBLE-TFSCB-400TR0-H-M2-
r2ECtiYH010777    35580 Thu Mar 14 13:55 <>
8BITMIME   (Deferred: Connection refused by xxx.xxx.xxx.xxx.)
<NoResponder@xxxx.
r2EBDrd7020130    35531 Thu Mar 14 12:13 <>
8BITMIME   (Deferred: Connection refused by xxx.xxx.xxx.xxx.)
<NoResponder@xxxx.
share|improve this question
    
Can you check your sendmail.mc (not .cf) and see whether FEATURE(queuegroup) is listed there? –  adamo Mar 7 '13 at 9:53
    
I've not any FEATURE(queuegroup) in my sendmail.mc, nor commented. I've also checked it in TEST environment and it's not listed either. –  magiza83 Mar 8 '13 at 7:20
    
Can you run a diff command between the two sendmail.cf files and show us the differences? –  adamo Mar 8 '13 at 7:37
    
I've use pastebin to show you the difference between TEST and PROD files: pastebin.com/5qmzpWey –  magiza83 Mar 8 '13 at 9:16
    
Can you do the same with the sendmail.mc files too? –  adamo Mar 12 '13 at 7:12
show 7 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.