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

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
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
r2EGl0Ua022456     2413 Thu Mar 14 17:47 MAILER-DAEMON
r2EGnDCJ022892     2465 Thu Mar 14 17:49 MAILER-DAEMON
r2EGow38023239     2545 Thu Mar 14 17:50 MAILER-DAEMON
r2EGpI38023310     2545 Thu Mar 14 17:51 MAILER-DAEMON
r2EGkX40022377    79264 Thu Mar 14 17:46 MAILER-DAEMON
r2ECtiYH010777    35580 Thu Mar 14 13:55 <>
8BITMIME   (Deferred: Connection refused by xxx.xxx.xxx.xxx.)
r2EBDrd7020130    35531 Thu Mar 14 12:13 <>
8BITMIME   (Deferred: Connection refused by xxx.xxx.xxx.xxx.)
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


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

Browse other questions tagged or ask your own question.