On Wed, Jan 10, 2007 at 02:47:32PM -0500, Yanick Quirion wrote:
> I'm looking a way to get the queue ID number for messages that are coming
> into my server. This is not the message ID, but the queue ID:
>
> Jan 10 14:44:28 server sendmail[5294]: l0AJiSrh005294: <- That Number
> from=<[EMAIL PROTECTED]>, size=0, class=0, nrcpts=0, proto=ESMTP, daemon=MTA,
> relay=69-150-151-77.ded.swbell.net [69.150.151.77] (may be forged)
It's $::main::QueueID. From the mimedefang-filter(5) manpage:
$QueueID
The Sendmail queue identifier if it could be determined.
Otherwise, contains the string "NOQUEUE". This variable is set
correctly in filter_sender and filter_recipient, but it is not
available in filter_relay.
Cheers,
Dave
--
Dave O'Neill <[EMAIL PROTECTED]> Roaring Penguin Software Inc.
+1 (613) 231-6599 http://www.roaringpenguin.com/
For CanIt technical support, please mail: [EMAIL PROTECTED]
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID. You may ignore it.
Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang