LTMPD rejecting large messages, maxmessagesize is _not_ set

Sebastian Hagedorn Hagedorn at uni-koeln.de
Fri Jul 13 14:47:09 EDT 2007


-- "Chris St. Pierre" <stpierre at NebrWesleyan.edu> is rumored to have 
mumbled on 13. Juli 2007 12:10:59 -0500 regarding Re: LTMPD rejecting large 
messages, maxmessagesize is _not_ set:

>> Right you are.  It's Postfix's 'sendmail' binary that appears to be
>> generating the error, although I'm still perplexed that it claims to
>> be in response to a non-LMTP response from lmtpd.
>
> Some investigation confirmed my initial suspicions: that Cyrus lmtpd
> is returning to Postfix's lmtp delivery daemon the message:
>
> "sendmail: fatal: sender at example.com(76): Message file too big"
>
> Since that doesn't start with [2-5]\d\d, it's not a valid LMTP
> response, and Postfix is doing the right thing by complaining.
>
> Why would Cyrus return that?  Obviously something is wrong with the
> delivery, but under what circumstances would a) lmtpd invoke the
> sendmail binary?

That would happen if the user in question has a sieve redirect rule.

> b) sendmail fail thusly?

I don't use Postfix, but maybe it has a separate config file for direct 
submission that (in your case) doesn't allow mails of that size. Just 
guessing ...

> c) lmtpd pass the failure
> message, unadorned, back to the sender?  The latter in particular
> seems like broken behavior; shouldn't lmtpd return something like '5xx
> sendmail: fatal: ...'?

Sure, but that's a known bug :-) At least I seem to remember that it came 
up some time ago.
--
Sebastian Hagedorn - RZKR-R1 (Flachbau), Zi. 18, Robert-Koch-Str. 10
Zentrum für angewandte Informatik - Universitätsweiter Service RRZK
Universität zu Köln / Cologne University - Tel. +49-221-478-5587
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20070713/c9b15030/attachment.bin 


More information about the Info-cyrus mailing list