Re: [exim] export frozen messages to eml

Etusivu
Poista viesti
Vastaa
Lähettäjä: Костырев Александр Алексеевич
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] export frozen messages to eml
thanks a lot!
that's exactly what I was looking for.


--
С уважением,
Костырев Александр
администратор Linux-систем

-----Original Message-----
From: Todd Lyons [mailto:tlyons@ivenue.com]
Sent: Thursday, October 24, 2013 2:03 PM
To: Костырев Александр Алексеевич
Cc: exim-users
Subject: Re: [exim] export frozen messages to eml

On Wed, Oct 23, 2013 at 5:50 PM, Костырев Александр Алексеевич
<a.kostyrev@???> wrote:
> Good day!
>
> Is there any possibility to export frozen messages (or any mail that is in the queue) to eml file ?
>
> I should explain:
> All messages that we want to send to a specific destination are generated by a special script maintained by our programmer.
> We used to use microsoft iis' smtp virtual server where all messages in the queue are just simple single file with .eml extension.
> If there's an error in delivering such message we take this file (eml) and hand it over to our programmer for studying.
> We would like to replace iis' smtp virtual server by exim but the exim's queue is arranged differently.


Rather than reading the queue files directly, use exiqgrep -z to see
all frozen messages, or exqgrep -z -i to get a list of just the frozen
queue id's. For each queue id, run 'exim -Mvc xxxxx-xxxxx-xx' and it
will print out the full headers and message body. Simply redirect it
to a file named however you want (i.e. end with .eml) and it will be
exactly what you are asking for.

...Todd
--
The total budget at all receivers for solving senders' problems is $0.
If you want them to accept your mail and manage it the way you want,
send it the way the spec says to. --John Levine