Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: users

is there a way to output the "id=" in a logwrite

 

 

exim users RSS feed   Index | Next | Previous | View Threaded


isolderj at hotmail

Oct 3, 2009, 4:58 AM

Post #1 of 2 (507 views)
Permalink
is there a way to output the "id=" in a logwrite

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 [at] address U=>user> P=<> S=<size> id=008801ca40ea$46423730$d2c6a590$@domain.com T=<subject> from <email [at] address> for email2 [at] address

Thanks in advance for the help.

_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
http://clk.atdmt.com/GBL/go/177141665/direct/01/
--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


jgh at wizmail

Oct 3, 2009, 5:26 AM

Post #2 of 2 (467 views)
Permalink
Re: is there a way to output the "id=" in a logwrite [In reply to]

On 10/03/2009 12:58 PM, isolderj [at] hotmail 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 [at] address U=>user> P=<> S=<size> id=008801ca40ea$46423730$d2c6a590$@domain.com T=<subject> from<email [at] address> for email2 [at] address

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

--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

exim users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.