Mercurial > masqmail
diff src/smtp_in.c @ 120:cd59a5b4d3dd
added support for SMTP SIZE 0 (unlimited)
author | meillo@marmaro.de |
---|---|
date | Thu, 01 Jul 2010 13:30:30 +0200 |
parents | 5ec5e6637049 |
children | dabd4e706b78 |
line wrap: on
line diff
--- a/src/smtp_in.c Thu Jul 01 13:11:38 2010 +0200 +++ b/src/smtp_in.c Thu Jul 01 13:30:30 2010 +0200 @@ -201,7 +201,7 @@ if (get_size(buffer, &msize)) { DEBUG(5) debugf("smtp_in(): get_size: msize=%ld, conf.mms=%d\n", msize, conf.max_msg_size); - if (msize > conf.max_msg_size) { + if (conf.max_msg_size && (msize > conf.max_msg_size)) { smtp_printf(out, "552 Message size exceeds fixed limit.\r\n"); break; }