You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Michael W Cocke <co...@catherders.com> on 2005/07/11 01:32:58 UTC
Rule: envelope to <> header to - help?
Does anyone have a rule to chech the envelope To: against the header
to: ? I'm sure that there's a reason why it's allowed to be different,
but it doesn't apply here, and almost half of the spam that gets thru
everything else would get stopped by that.
Thanks!
Mike-
--
Mornings: Evolution in action. Only the grumpy will survive.
--
Please note - Due to the intense volume of spam, we have installed site-wide spam
filters at catherders.com. If email from you bounces, try non-HTML, non-encoded,
non-attachments.
Re: Rule: envelope to <> header to - help?
Posted by Matt Kettler <mk...@evi-inc.com>.
Michael W Cocke wrote:
> Does anyone have a rule to chech the envelope To: against the header
> to: ? I'm sure that there's a reason why it's allowed to be different,
> but it doesn't apply here, and almost half of the spam that gets thru
> everything else would get stopped by that.
No. It's generally not possible, as SA does not have access to the envelope.
Also, bear in mind that there are LOTS of reasons why it would be allowed to be
different, and your location is not likely to be an exception, despite what you
think.
For example, all posts sent to any mailing list, including this mailing list,
will mismatch.
Unless your site does ALL of the following, you'll have mismatches:
-No users subscribe to ANY mailing lists, including listservs as well as
commercial newsletters, etc.
-No users receive mail from anyone that uses bcc.
-No users may have mail redirected from another account (ie: auto-forward from
yahoo)
(need I go on?)
In general the only systems that won't get mismatches between the envelope and
the to: are systems that don't receive any internet mail except single-user to
single-user messages. And that's got to be strict, NO other internet email but
single-user to single-user.
RE: Rule: envelope to <> header to - help?
Posted by Herb Martin <He...@learnquick.com>.
> Does anyone have a rule to chech the envelope To: against the header
> to: ? I'm sure that there's a reason why it's allowed to be
> different, but it doesn't apply here, and almost half of the
> spam that gets thru everything else would get stopped by that.
[First I am new here and so may know NOTHING.]
This makes sense to me for an incremental rule and
is associated with something else that I am seeing
in a lot of spam:
Case:
Display name is MADE up, and sent to a real email username.
"Johny Sullivan" <br...@learnquick.com>
I have NO idea why the spammers do this -- it wouldn't be
that hard to at least make it "Brian Sullivan" and quite
a few do in fact make it "BrianX" <br...@learnquick.com>
which at least seems to make sense.
Two questions have occurred to me: Would this actually
helf find spam BETTER (since I see this in high score
spam anyway) and how hard it would be to write the match
but I have figure out at least an ugly way to do that.)
It might require a plug-in to do in a general way (with
file lookup on "user name"/email-account pairs, aliases,
etc. Otherwise it would only be suitable for small email
domains and a custom solution for each location (e.g, no
general set of rules everyone could download.)
And then, if there is no advantage to spammers or even
reason for this practice -- they might just stop doing it.
(But even that seems a small victory. <grin>)
--
Herb Martin