LTMPD rejecting large messages, maxmessagesize is _not_ set

Roberto R. Morelli morelli at es.net
Wed Jul 11 16:51:53 EDT 2007


Look at the postfix config (main.cf).  The value to look at is 
"message_size_limit".  Had the same problem long time ago.

Mine is set to "message_size_limit = 512000000" Which is email size of 512MB 
(folks here use email like ftp .....)

Cheers,
Roberto

--On Tuesday, July 10, 2007 08:17:43 AM -0500 "Chris St. Pierre" 
<stpierre at nebrwesleyan.edu> wrote:

> LMTPD is rejecting large messages; I've been unable to figure out the
> exact threshold, but I am seeing messages like this in my Postfix
> logs:
>
> Jun 28 20:23:12 vostok postfix/qmgr[9323]: 22F5373D6F6:
> from=<sender at example.com>, size=16243464, nrcpt=1 (queue active)
> Jun 28 20:23:22 vostok postfix/lmtp[13405]: warning: non-LMTP response
> from imap.nebrwesleyan.edu[10.1.1.31]: sendmail: fatal:
> sender at example.com(76): Message file too big
>
> I have no maxmessagesize directive in my imapd.conf (which I've
> included below for reference).  My reading of the man page indicates
> that, with no maxmessagesize set, no messages should be rejected due
> to size.  Any ideas?
>
> Thanks!
>
> ############ imapd.conf #############
> configdirectory: /var/lib/imap
> partition-default: /var/spool/cyrus/imap
> sievedir: /var/spool/cyrus/sieve
> sendmail: /usr/sbin/sendmail
> admins: cyradm
> hashimapspool: true
> sasl_pwcheck_method: saslauthd
> sasl_mech_list: PLAIN
> tls_cert_file: /usr/share/ssl/certs/server.crt
> tls_key_file: /usr/share/ssl/certs/server.key
> tls_ca_file: /usr/share/ssl/certs/ca-bundle.crt
> ldap_uri: ldap://ldap.nebrwesleyan.edu
> ldap_member_base: ou=people,o=nebrwesleyan.edu,o=isp
> ldap_referrals: 1
> createonpost: 1
> autocreateinboxfolders: Junk Mail|Trash
> autosubscribeinboxfolders: Junk Mail|Trash
> autocreatequota: 102400
> autocreate_sieve_script: /etc/default_filter.sieve
> autocreate_sieve_compiledscript: /etc/default_filter.bc
> anysievefolder: yes
> foolstupidclients: 1
> lmtp_downcase_rcpt: 1
> unix_group_enable: 0
> lmtp_over_quota_perm_failure: yes
> #############################
>
> Chris St. Pierre
> Unix Systems Administrator
> Nebraska Wesleyan University
> ----------------------------
> LOPSA Sysadmin Days: Professional Training for Professional SysAdmins
> August 6-7, Cherry Hill, NJ
> http://lopsa.org/SysadminDays
> ----
> Cyrus Home Page: http://cyrusimap.web.cmu.edu/
> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>




More information about the Info-cyrus mailing list