Elliot Foster wrote:
> Bryan Scott wrote:
> 
>>The Point:
>>
>>I wrote a plugin called "check_badbounce" that rejects *bounces only*
>>from specific remote servers that try to bounce messages that didn't
>>originate from my network in the first place.  It does it using the HELO
>>message received from the remote machine, so it's not meant for the
>>spammers as much as it is for the few poorly configured big guns' servers.
>>
>>It may be better to accept the message, but silently discard it, thereby
>>appearing RFC compliant and pleasing end-users at the same time.  Have
>>we built a framework for that (accept but don't queue)?
>>
>>Anybody else have a use for this?
> 
> 
> 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?

Apologies, I wrote this plugin for my older (circa .28 or so) qpsmtpd.  I
created $connection->notes('relaying'), as connection->relay_client did not
exist.  Should be fairly easy to tweak it.  I guess I really should upgrate my
version.

Reply via email to