On Sat, 7 Feb 2009 23:24:39 -0800 Ask Bjørn Hansen <a...@develooper.com>
wrote:

> 
> On Feb 7, 2009, at 6:25, Karl Y. Pradene wrote:
> 
> > Hi,
> > is it possible add a hook at the end of headers?
> 
> Hi Karl,
> 
> Look in data_respond in lib/Qpsmtpd/SMTP.pm -- it would be pretty
> easy to add.  Look for the line that says "$in_header = 0;"
> 
> I'm not sure it'd be useful though, because the only way you can
> avoid receiving the data anyway at that point would be just dropping
> the connection -- and well behaved mailers will just try and try
> again after that.
> 
> Of course if it's spam or a virus it's unlikely to reconnect more or  
> less because you drop the connection, so I guess that it could be  
> worthwhile...
> 
> 
>    - ask
> 

Hi,
thanks for your reply.
I did already patch my server. I was hoping that could be in official
version, but it seems I was wrong.

-- 
Karl Y. Pradene

Reply via email to