spamassassin-users October 2010 archive
Main Archive Page > Month Archives  > spamassassin-users archives
spamassassin-users: compare 2 headers

compare 2 headers

From: Lawrence _at_nospam <_at_nospam>
Date: Sun Oct 24 2010 - 18:56:50 GMT
To: users@spamassassin.apache.org

Hi,

Is there a quick way to compare 2 headers? I am seeing spam lately that
has an invalid e-mail address (one not hosted by us) set in the To:
header, but has the intended one in the Envelope-To: header

What I would like to do is take the Envelope-To and run a regex to check
if the To: header contains it.

Is this possible?

Regards,

Lawrence Williams
LCWSoft