On Mar 9, 2006, at 08:56, Fred Moyer wrote:

Greetings,

I wrote a plugin to limit the size of messages allowed through Qpsmtpd. It's crude, waiting for the message to be spooled to disk, but I didn't see a way of grabbing the body size before the transaction object was created. Perhaps someone here can enlighten me.

There is support for this in stock qpsmtpd (inherited from qmail- smtpd) via the file config/databytes :) [see lib/Qpsmtpd/SMTP.pm, sub_data].

-Johan

Reply via email to