Auteur: Gergely Nagy Date: À: Exim Mailing List Sujet: Re: [exim] Find Ip address and content of frozen messages
>>> I am trying to know the ip address of a list of frozen messages. Also, I >>> want to know the content of the each message.
>>>
>> OK...
>>
>>
>>> With exim -bpc I can count the total messages in the spool and with exim
>>> -bp I can see a resume of the data I need.
>>>
>>> What command I can use ?
>>>
>> exipick is the tool of choice here, coupled with the exim binary itself
>> and a bit of creative plumbing in your shell of choice.
>>
>> "exipick -z" extracts a list of frozen messages.
>> "exipick -z -i" extracts the queue ID of frozen messages.
>>
>> For a long list of frozen messages where you want to see the body, use:
>>
>> for x in `exipick -z -i`; do echo $x; exim -Mvb $x; done
>>
>> You may want to put a pager in there somewhere - either pipe "exim -Mvb
>> $x" through a pager, or pipe the whole output through after the "done".
>>
>> When you say you want to "know the IP address", what do you mean? The
>> one the message arrived from?
>>
> Yes, I want to know if they are spam only or there is some PC infected
> and it is sending messages.