Re: [exim] is there a way to output the "id=" in a logwrite

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Jeremy Harris
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] is there a way to output the "id=" in a logwrite
On 10/03/2009 12:58 PM, isolderj@??? wrote:
>
> This is the log line I see in my mainlog. Is there a way to extract the "id=". I have tried various header variables but I cannot seem to output that specific string.
>
> Sep 29 11:51:05<hostname> exim[12554]: 2009-09-29 11:51:05<Message ID> <= email@??? U=>user> P=<> S=<size> id=008801ca40ea$46423730$d2c6a590$@??? T=<subject> from<email@???> for email2@???


I'm unclear whether you want the ID for use, or for output?

Is $header_message_id of use to you?
Bear in mind that you don't *have* any headers for the message until
after DATA phase, so you cannot use this in a RCPT ACL.

Documented at:
http://exim.org/exim-html-4.69/doc/html/spec_html/ch11.html

Cheers,
     Jeremy