If I try to set a max file size for incoming/outgoing email using the databytes variable (or /sbin/e-smith/db configuration setprop smtpfront-qmail MaxMessageSize) this is what happens when a big message comes through:
Messages sent from here in thunderbird get back an immediate response of maximum file size exceeded, and are rejected by the client before they are even sent. Messages from external sites get no error from the server, but eventually get an error from their own server saying there was an error sending the message.
In both cases, the smtpfront-qmail/current log looks something like this:
2005-06-29 14:34:43.917593500 smtpfront-qmail[21547]: Sorry, that message exceeds the maximum message length.
2005-06-29 14:34:43.917596500 smtpfront-qmail[21547]: Writing data to qmail-queue failed.
2005-06-29 14:34:43.917597500 smtpfront-qmail[21547]: Not implemented.
2005-06-29 14:34:43.917796500 smtpfront-qmail[21547]: Not implemented.
2005-06-29 14:34:43.917798500 smtpfront-qmail[21547]: Not implemented.
2005-06-29 14:34:43.917799500 smtpfront-qmail[21547]: Not implemented.
2005-06-29 14:34:43.917800500 smtpfront-qmail[21547]: Not implemented.
2005-06-29 14:34:43.917801500 smtpfront-qmail[21547]: Not implemented.
2005-06-29 14:34:43.917801500 smtpfront-qmail[21547]: Not implemented.
2005-06-29 14:34:43.917802500 smtpfront-qmail[21547]: Not implemented.
2005-06-29 14:34:43.917803500 smtpfront-qmail[21547]: Not implemented.
2005-06-29 14:34:43.917834500 smtpfront-qmail[21547]: Not implemented.
2005-06-29 14:34:43.917835500 smtpfront-qmail[21547]: Not implemented.
(continues repeating for quite awhile)
What I would expect is a simple rejection error that notifies the sender that the mail didn't get through.
All other mail (and large attachments if databytes is disabled) seems to go through just fine.
I am running spamassassin (3.0.4) and clamav (0.86-1) as well.