Daryl C. W. O'Shea wrote:
John Rudd wrote:
Daryl C. W. O'Shea wrote:
John Rudd wrote:

Though, CommuniGate Pro's authenticated received header looks like this:

from [$ipaddr] (acccount $account HELO $helostring) by $host (CommuniGate Pro

So, you could match that with:

/^from \[\S+\] \(account [EMAIL PROTECTED] .*\) by \S+ \(CommuniGate Pro/

Cool, I don't think we currently support that.

Daryl


That works for CGP's SMTP-AUTH, but not for CGP's webmail (which are also, technically, authenticated users, just not SMTP-AUTH authenticated). The following regexp will catch both:

/^from \[\S+\] \(account [EMAIL PROTECTED]( .*)?\) by \S+ \(CommuniGate Pro/

Could you provide me with some sample headers so that I can add these? I can't add them without regression tests.



SMTP-AUTH:

Received: from [128.114.2.223] (account [EMAIL PROTECTED] HELO [128.114.2.223])
  by silver.ucsc.edu (CommuniGate Pro SMTP 4.3.7)
with ESMTPSA id 88402416 for [EMAIL PROTECTED]; Mon, 04 Dec 2006 13:15:07 -0800


Webmail:

Received: from [128.114.2.223] (account [EMAIL PROTECTED])
  by tin.ucsc.edu (CommuniGate Pro WebUser 4.3.7)
with HTTP id 109780632 for [EMAIL PROTECTED]; Tue, 05 Dec 2006 11:17:51 -0800


(CGP does this odd thing of putting the relay's IP addr out front, instead of the HELO string.. and then putting the Helo string, for SMTP, inside the ()'s ... and it doesn't appear to ever put the relay's RDNS)

Reply via email to