On Mon, 18 Feb 2008 01:02:24 -0800
Ask Bjørn Hansen <[EMAIL PROTECTED]> wrote:
> On Feb 14, 2008, at 7:12 PM, Charlie Brady wrote:
> 
> > qmail could/should detect this by recognizing that 0.0.0.0 is a  
> > loopback address, and that the recipient domain isn't listed in  
> > rcpthosts. But there's a bug. And a patch:
> >
> > http://www.suspectclass.com/~sgifford/qmail/qmail-0.0.0.0.patch
> >
> > I don't know what postfix does, but I expect it's sane.
> >
> > qpsmtpd could/should refuse any message where MX of the sender or  
> > recipient domain is 0.0.0.0.
> 
> Where should we put this logic?   Which standard plugin that's  
> commonly used would it best fit into?  (Goofy to make a plugin just  
> for this, I think ...)
Isn't 
  echo "0.0.0.0/8" >> $QPSMTPD_ROOT/config/invalid_resolvable_fromhost
all we need (plugin: require_resolvable_fromhost)?

        Hanno

Reply via email to