On Thu, 28 May 2009 12:04:27 -0400 (EDT), Charlie Brady wrote:
> 
> On Thu, 28 May 2009, Matt Sergeant wrote:
> 
>> years. So my qpsmtpd runs a no_bounces plugin, which I believe I've
>> posted here before.
> 
> Google seems not to have heard of it.

Ah. OK. It basically just does this:

  if ($transaction->sender->format eq "<>"
      or
      $transaction->sender->format =~ /MAILER-DAEMON/i
      or
      $transaction->sender->format =~ /postmaster\@/i
      )
  {
    unless (grep { /(bounce-|-return-)/ } map { $_->address} 
$transaction->recip
ients) {
      return DENY, "Mail from <> not accepted here";
    }
  }

Reply via email to