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
--
http://develooper.com/ - http://askask.com/