On a similar note, I'm getting a few thousand spam/virus mails a day that are
pretending to be from my own domain. This just checks if the sending address'
domain is pretending to be a local.
Perhaps this could be melded into 'badmailfrom', just so long as badmailfrom
checked for relay_client? As in, by default, do not accept any mail "from"
local/rcpt domains if relay_client is not set?
Even then, this is taken care of automatically if you implement SPF
checking and publish SPF records in your DNS. The initial email from
RoadRunner's servers, for example, claims to be coming from some
official email address to be delivered to a (in this case invalid) local
user. Since my SPF records state that only my IP addresses are allowed
to send on behalf of that domain, the SPF plugin rejects the message.
Relaying is already accounted for.
-- Bryan
- Re: Bad Bouncers Bryan Scott
-