https://issues.apache.org/SpamAssassin/show_bug.cgi?id=5994
Summary: whitelist_bounce_relays misses mail from cron jobs (for
example)
Product: Spamassassin
Version: 3.2.5
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P5
Component: Plugins
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
Mail from cron jobs can have a Received header that looks like:
Received: (from [EMAIL PROTECTED])
by Daffy.timing.com (8.13.1/8.13.1/Submit) id m96653kR064934;
Mon, 6 Oct 2008 00:05:03 -0600 (MDT)
(envelope-from root)
check_whitelist_bounce_relays in VBounce.pm doesn't catch this no matter what
you put in whitelist_bounce_relays.
The reason is that the regex in check_whitelist_bounce_relays is (\S+\.\S+).
Actually, if 5912 is fixed (multiline received headers), the matching would hit
on the first "word" to contain a period. That's still not quite right in the
above case since we want to know where the mail came from, not which host
received it.
I'm not sure of the best way to fix this. Maybe we should be searching for
'from *' (hand-wavy definition of * here) rather than just matching the first
period?
--
Configure bugmail:
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.