You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Mike Jackson <mj...@barking-dog.net> on 2005/10/10 18:47:05 UTC
score based on MX's IP?
Perhaps this is too much to ask of SpamAssassin, but...
My server receives a piece of spam that's undeliverable. It looks up the MX
for the sender's address, and finds that the IP is 127.0.0.1. It then
complains that there's a configuration problem because it's not set up to
handle mail for that domain. What I'd like to do is build a SpamAssassin
rule that would assign points against messages sent from senders with those
127.0.0.1 MXes. Granted, it won't do any good in these undeliverable/bounce
scenarios, but I'm sure there's spams getting through to legit addresses
from them as well, and those are what I'd like to put a stop to. Is that
possible (without writing a plugin to do it myself)?
Re: score based on MX's IP?
Posted by Mike Jackson <mj...@barking-dog.net>.
>> Perhaps this is too much to ask of SpamAssassin, but...
>>
>> My server receives a piece of spam that's undeliverable. It looks up the
>> MX for the sender's address, and finds that the IP is 127.0.0.1. It then
>> complains that there's a configuration problem because it's not set up to
>> handle mail for that domain. What I'd like to do is build a SpamAssassin
>> rule that would assign points against messages sent from senders with
>> those 127.0.0.1 MXes. Granted, it won't do any good in these
>> undeliverable/bounce scenarios, but I'm sure there's spams getting
>> through to legit addresses from them as well, and those are what I'd like
>> to put a stop to. Is that possible (without writing a plugin to do it
>> myself)?
>
> 1) Why is your MTA accepting mail that is undeliverable?
You missed where I said "it won't do any good in these undeliverable/bounce
scenarios." The undeliverable mail won't be passed through SA, but there are
other users on the system, and spammers don't often send mail to just one
address, so it would be an added score to help them out.
> 2) It would be better to block these MXs at the server level, many MTAs
> are capable of blocking based on the declared helo or dns lookup of the
> connecting server.
I'll investigate that for Sendmail. It would no doubt require a milter,
which I'm not keen on running (more points of failure, more system
resources, etc.).
Re: score based on MX's IP?
Posted by Jay Lee <jl...@pbu.edu>.
Mike Jackson wrote:
> Perhaps this is too much to ask of SpamAssassin, but...
>
> My server receives a piece of spam that's undeliverable. It looks up the
> MX for the sender's address, and finds that the IP is 127.0.0.1. It then
> complains that there's a configuration problem because it's not set up
> to handle mail for that domain. What I'd like to do is build a
> SpamAssassin rule that would assign points against messages sent from
> senders with those 127.0.0.1 MXes. Granted, it won't do any good in
> these undeliverable/bounce scenarios, but I'm sure there's spams getting
> through to legit addresses from them as well, and those are what I'd
> like to put a stop to. Is that possible (without writing a plugin to do
> it myself)?
1) Why is your MTA accepting mail that is undeliverable?
2) It would be better to block these MXs at the server level, many MTAs
are capable of blocking based on the declared helo or dns lookup of the
connecting server.
Jay
--
Jay Lee
Network / Systems Administrator
Information Technology Dept.
Philadelphia Biblical University
--