[exim] Defer Messages Stuck in Queue

Top Page
Delete this message
Reply to this message
Author: Donovan Craig
Date:  
To: exim-users
Subject: [exim] Defer Messages Stuck in Queue
Hi,

I've tried google and reading the other posts in the mail list archives
but can't seem to find a solution to the problem I'm experiencing.

Certain messages (seem to be all SPAM) are getting stuck and causing
Exim to use all of my available CPU.

It seems these messages are bounces my server is trying to send as the
messages are definite SPAM. During the connection to the remote server,
my server just sits there.

Is there any way to stop it doing this?

Also, is there any way to clear these messages? When I try to remove
them, exim says they're locked.

I'm running:

Exim 4.50 on Debian Sarge

Here's the output of top:

07:15:26 up 89 days,  4:45,  1 user,  load average: 3.47, 3.42, 3.39
204 processes: 198 sleeping, 6 running, 0 zombie, 0 stopped
CPU states:  97.0% user,   3.0% system,   0.0% nice,   0.0% idle
Mem:   2070160K total,  1980088K used,    90072K free,   286976K buffers
Swap:  2097136K total,   125208K used,  1971928K free,   994104K cached


  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
14590 Debian-e  17   0  2952 2412  2400 R    31.0  0.1 368:54 exim4
12650 Debian-e  16   0  2952 2412  2400 R    30.3  0.1 376:15 exim4
19734 Debian-e  15   0  2952 2412  2400 R    30.3  0.1 355:30 exim4


Output of exiwhat:

9028 running queue: waiting for 1DIRXh-00054L-9f (12646)
11851 running queue: waiting for 1DJRm3-0000TF-Fu (14586)
12646 delivering 1DIRXh-00054L-9f: waiting for a remote delivery
subprocess to finish
12650 delivering 1DIRXh-00054L-9f: just tried xxxx2.com
[xxx.xxx.xxx.xxx] for nojadvyhn@???: result DEFER
14586 delivering 1DJRm3-0000TF-Fu: waiting for a remote delivery
subprocess to finish
14590 delivering 1DJRm3-0000TF-Fu: just tried mail.xxxx1.com
[xxx.xxx.xxx.xxx] for gfmtinvxgyjaz@???: result DEFER
17150 running queue: waiting for 1DJRml-0000Ud-CU (19728)
19728 delivering 1DJRml-0000Ud-CU: waiting for a remote delivery
subprocess to finish
19734 delivering 1DJRml-0000Ud-CU: just tried mail.xxxx1.com
[xxx.xxx.xxx.xxx] for vjrwk@???: result DEFER
28081 daemon: -q30m, listening for SMTP on port 25 (IPv4)

Regards,

Donovan