Re: [exim] Gateway uses 2 instances of Exim - How do I direc…

Góra strony
Delete this message
Reply to this message
Autor: Rick Duval
Data:  
Dla: exim users
CC: Graeme Fowler
Temat: Re: [exim] Gateway uses 2 instances of Exim - How do I direct commands to one or the other
Fantastic thanks much but that gives me another problem..

exim -C /etc/exim/exim_send.conf -bpr | grep frozen | wc -l

worked perfectly and gave a result of 23 but the statement below
which I'm told should delete the frozen messages did not.

exim -C /etc/exim/exim_send.conf -bpr | grep frozen | awk {'print $3'}
| xargs exim -Mrm


It gave the following 23 times:

Spool read error for 1LrpM1-0001yE-2u-H: No such file or directory
Continuing to ensure all files removed
Message 1LrpM1-0001yE-2u has been removed or did not exist

and if I rerun the 1st command it says there's still 23 messages.

Is there something wrong with the syntax or another way to kill the
frozen messages?

Rick




On Wed, Apr 15, 2009 at 11:01 AM, Graeme Fowler <graeme@???> wrote:
> On Wed, 2009-04-15 at 10:42 -0400, Rick Duval wrote:
>> Any idea how I can talk to the "other" instance?
>
> exim -C /path/to/outbound/config/file -bpr | grep frozen | wc -l
>
> alternatively
>
> exipick --spool /path/to/outbound/spool/directory -z -i | wc -l
>
> Graeme