Re: Exim mail Problem

2002-01-18 Thread J C Lawrence
On Thu, 17 Jan 2002 18:47:59 -0600 
Daniel J Rychlik <[EMAIL PROTECTED]> wrote:

> Im seeing this same message execpt that the neat looking
> identifiers after the timestamp change slightly.  There is about
> 50 diffrent identifiers or so in the main log.  The problem im
> seeing is exim mail chewing up resources and not letting anything
> else play, like apache. ;o)

Install the eximon package.  Run it as root and then use that to
investigate what messages are being held and why.

-- 
J C Lawrence
-(*)Satan, oscillate my metallic sonatas. 
[EMAIL PROTECTED]   He lived as a devil, eh?  
http://www.kanga.nu/~claw/  Evil is a name of a foeman, as I live.



Re: Exim mail Problem

2002-01-18 Thread J C Lawrence

On Thu, 17 Jan 2002 18:47:59 -0600 
Daniel J Rychlik <[EMAIL PROTECTED]> wrote:

> Im seeing this same message execpt that the neat looking
> identifiers after the timestamp change slightly.  There is about
> 50 diffrent identifiers or so in the main log.  The problem im
> seeing is exim mail chewing up resources and not letting anything
> else play, like apache. ;o)

Install the eximon package.  Run it as root and then use that to
investigate what messages are being held and why.

-- 
J C Lawrence
-(*)Satan, oscillate my metallic sonatas. 
[EMAIL PROTECTED]   He lived as a devil, eh?  
http://www.kanga.nu/~claw/  Evil is a name of a foeman, as I live.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Exim mail Problem

2002-01-18 Thread Mathias Palm
On Thu, Jan 17, 2002 at 06:47:59PM -0600, Daniel J. Rychlik wrote:
> Dear Debian Guruz,
> 
> My debian server is acting funny.  I did some searching around and greped for 
> anomolies in my log files.  I have noticed that exim mail is showing a 
> message frozen in the mainlog file.
> 2002-01-17 18:38:02 16L9VL -0001OX-00 Message is frozen
> End queue run: pid=17620
> 
> Im seeing this same message execpt that the neat looking identifiers after 
> the timestamp change slightly.  There is about 50 diffrent identifiers or so 
> in the main log.  The problem im seeing is exim mail chewing up resources and 
> not letting anything else play, like apache. ;o)
> 
> Any ideas?  Or how do I stop this from happening?
> 
> Thanks in advance,
> Daniel J. Rychlik
> 
> 

It usally means, that exim is not able to deliver the message.

By running 

exim -bp 

you see the delivery status of the messages queue. You can run try
flushing the queue manually by 

exim -d 10 -M 

You get heaps of output which you can look through to get some clue at
what is getting wrong. You also need to work through the exim manuals to
understand the output. It may be cumbersome but is worth the effort.

Mathias



Re: Exim mail Problem

2002-01-18 Thread Mathias Palm

On Thu, Jan 17, 2002 at 06:47:59PM -0600, Daniel J. Rychlik wrote:
> Dear Debian Guruz,
> 
> My debian server is acting funny.  I did some searching around and greped for 
>anomolies in my log files.  I have noticed that exim mail is showing a message frozen 
>in the mainlog file.
> 2002-01-17 18:38:02 16L9VL -0001OX-00 Message is frozen
> End queue run: pid=17620
> 
> Im seeing this same message execpt that the neat looking identifiers after the 
>timestamp change slightly.  There is about 50 diffrent identifiers or so in the main 
>log.  The problem im seeing is exim mail chewing up resources and not letting 
>anything else play, like apache. ;o)
> 
> Any ideas?  Or how do I stop this from happening?
> 
> Thanks in advance,
> Daniel J. Rychlik
> 
> 

It usally means, that exim is not able to deliver the message.

By running 

exim -bp 

you see the delivery status of the messages queue. You can run try
flushing the queue manually by 

exim -d 10 -M 

You get heaps of output which you can look through to get some clue at
what is getting wrong. You also need to work through the exim manuals to
understand the output. It may be cumbersome but is worth the effort.

Mathias


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Exim mail Problem

2002-01-17 Thread Andrew Tait



Try running mailq, to get a list of messages 
currently in the queue.
 
Try doing an "exigrep 16L9VL-0001OX-00 mainlog" to 
try and find out why the message is frozen. You will probably have to search 
back through your logs if its been there a while.
 
And here is a little script I use a work to delete 
messages from the queue matching a pattern:
 
#!/usr/bin/ksh
SPAM=$1
mailq |grep $SPAM |cut -b11-26 > 
/tmp/spamlist
 
for i in `cat /tmp/spamlist`doexim -Mrm 
$iecho "deleted $i"donerm /tmp/spamlist
 
 
And here is a modifaction to try and force 
deliverery attempts on messages matching a pattern.
 
#!/usr/bin/ksh
SPAM=$1
mailq |grep $SPAM |cut -b11-26 > 
/tmp/sendlist
 
for i in `cat /tmp/sendlist`doexim -M 
$iecho "delivered $i"donerm /tmp/sendlist
 
Andrew TaitSystem AdministratorCountry 
NetLink Pty, LtdE-Mail: [EMAIL PROTECTED]WWW: http://www.cnl.com.au30 Bank St Cobram, VIC 
3644, AustraliaPh: +61 (03) 58 711 000Fax: +61 (03) 58 711 
874 "It's the smell! If there is such a thing." Agent Smith - The 
Matrix

  - Original Message - 
  From: 
  Daniel J. 
  Rychlik 
  To: debian-security@lists.debian.org 
  
  Sent: Friday, January 18, 2002 11:47 
  AM
  Subject: Exim mail Problem
  
  Dear Debian Guruz,
   
  My debian server is acting funny.  I did 
  some searching around and greped for anomolies in my log files.  I have 
  noticed that exim mail is showing a message frozen in the mainlog 
  file.
  2002-01-17 18:38:02 16L9VL -0001OX-00 Message is 
  frozen
  End queue run: pid=17620
   
  Im seeing this same message execpt that the neat 
  looking identifiers after the timestamp change slightly.  There is about 
  50 diffrent identifiers or so in the main log.  The problem im seeing is 
  exim mail chewing up resources and not letting anything else play, like 
  apache. ;o)
   
  Any ideas?  Or how do I stop this from 
  happening?
   
  Thanks in advance,
  Daniel J. Rychlik
   
   


Exim mail Problem

2002-01-17 Thread Daniel J. Rychlik



Dear Debian Guruz,
 
My debian server is acting funny.  I did some 
searching around and greped for anomolies in my log files.  I have noticed 
that exim mail is showing a message frozen in the mainlog file.
2002-01-17 18:38:02 16L9VL -0001OX-00 Message is 
frozen
End queue run: pid=17620
 
Im seeing this same message execpt that the neat 
looking identifiers after the timestamp change slightly.  There is about 50 
diffrent identifiers or so in the main log.  The problem im seeing is exim 
mail chewing up resources and not letting anything else play, like apache. 
;o)
 
Any ideas?  Or how do I stop this from 
happening?
 
Thanks in advance,
Daniel J. Rychlik
 
 


Re: Exim mail Problem

2002-01-17 Thread Andrew Tait



Try running mailq, to get a list of messages 
currently in the queue.
 
Try doing an "exigrep 16L9VL-0001OX-00 mainlog" to 
try and find out why the message is frozen. You will probably have to search 
back through your logs if its been there a while.
 
And here is a little script I use a work to delete 
messages from the queue matching a pattern:
 
#!/usr/bin/ksh
SPAM=$1
mailq |grep $SPAM |cut -b11-26 > 
/tmp/spamlist
 
for i in `cat /tmp/spamlist`doexim -Mrm 
$iecho "deleted $i"donerm /tmp/spamlist
 
 
And here is a modifaction to try and force 
deliverery attempts on messages matching a pattern.
 
#!/usr/bin/ksh
SPAM=$1
mailq |grep $SPAM |cut -b11-26 > 
/tmp/sendlist
 
for i in `cat /tmp/sendlist`doexim -M 
$iecho "delivered $i"donerm /tmp/sendlist
 
Andrew TaitSystem AdministratorCountry 
NetLink Pty, LtdE-Mail: [EMAIL PROTECTED]WWW: http://www.cnl.com.au30 Bank St Cobram, VIC 
3644, AustraliaPh: +61 (03) 58 711 000Fax: +61 (03) 58 711 
874 "It's the smell! If there is such a thing." Agent Smith - The 
Matrix

  - Original Message - 
  From: 
  Daniel J. 
  Rychlik 
  To: [EMAIL PROTECTED] 
  
  Sent: Friday, January 18, 2002 11:47 
  AM
  Subject: Exim mail Problem
  
  Dear Debian Guruz,
   
  My debian server is acting funny.  I did 
  some searching around and greped for anomolies in my log files.  I have 
  noticed that exim mail is showing a message frozen in the mainlog 
  file.
  2002-01-17 18:38:02 16L9VL -0001OX-00 Message is 
  frozen
  End queue run: pid=17620
   
  Im seeing this same message execpt that the neat 
  looking identifiers after the timestamp change slightly.  There is about 
  50 diffrent identifiers or so in the main log.  The problem im seeing is 
  exim mail chewing up resources and not letting anything else play, like 
  apache. ;o)
   
  Any ideas?  Or how do I stop this from 
  happening?
   
  Thanks in advance,
  Daniel J. Rychlik
   
   


Exim mail Problem

2002-01-17 Thread Daniel J. Rychlik



Dear Debian Guruz,
 
My debian server is acting funny.  I did some 
searching around and greped for anomolies in my log files.  I have noticed 
that exim mail is showing a message frozen in the mainlog file.
2002-01-17 18:38:02 16L9VL -0001OX-00 Message is 
frozen
End queue run: pid=17620
 
Im seeing this same message execpt that the neat 
looking identifiers after the timestamp change slightly.  There is about 50 
diffrent identifiers or so in the main log.  The problem im seeing is exim 
mail chewing up resources and not letting anything else play, like apache. 
;o)
 
Any ideas?  Or how do I stop this from 
happening?
 
Thanks in advance,
Daniel J. Rychlik