[Dovecot] master:Error @2.0 TLS login, "Too large auth data_size sent"

PGNet Dev pgnet.dev+dovecot at gmail.com
Fri Oct 16 02:09:02 EEST 2009


easier said than done ...

On Thu, Oct 15, 2009 at 2:51 PM, PGNet Dev <pgnet.dev+dovecot at gmail.com> wrote:
> yes.  will post in a moment ...

service dovecot-custom stop
rm -rf /usr/local/etc/mail/dovecot
rm -rf /usr/local/include/dovecot
rm -rf /usr/local/lib/dovecot
rm -rf /usr/local/libexec/dovecot
rm -rf /usr/local/share/doc/dovecot
rm -f  /usr/local/sbin/dovecot*

cd /usr/local/src/dovecot-2.0
rm config.cache
hg pull
hg update
hg log | head -n 7
	changeset:   10074:1d2d55d9779e
	branch:      HEAD
	tag:         tip
	user:        Timo Sirainen <tss at iki.fi>
	date:        Thu Oct 15 16:18:58 2009 -0400
	summary:     example-config: Updated listen setting's comment.

make distclean
./autogen.sh
./configure ...
make
make install

> Run "ulimit -c unlimited" before starting
> dovecot, then it should write core file to user's home directory.
> http://dovecot.org/bugreport.html

    *  Dovecot must have been started without core dump size limit
being too low. Run ulimit -c unlimited before starting Dovecot.

hm, already @ unlimited,

	bash -c ulimit
		unlimited

ah, tcsh-ism,

	limit coredumpsize
		coredumpsize 0 kbytes
	limit coredumpsize unlimited
		coredumpsize unlimited

in master.conf
	...
	service imap {
		protocol                  = imap
		executable                = gdbhelper /usr/local/libexec/dovecot/imap
	...

    * Set mail_drop_priv_before_exec = yes in config file.

ok, so where's this go now? if in mail.conf,

	dovecot -n
	# 2.0.alpha1: /data/mail/Conf/dovecot/dovecot.conf
	doveconf: Fatal: Error in configuration file
/data/mail/Conf/dovecot/conf.d/mail.conf line 21: Unknown setting:
mail_drop_priv_before_exec

    * Linux: Make sure /proc/sys/kernel/core_pattern contains a proper
value. By giving an absolute path to it (e.g. /var/core/%p) the users
don't need a home directory.

	cat /proc/sys/kernel/core_pattern
		core

but @ startup,

tail -f /var/log/{dove*/dove*,messages}

	==> /var/log/dovecot/dovecot.log <==
	Oct 15 09:07:33 master: Info: Dovecot v2.0.alpha1 starting up (core
dumps disabled)

how do i enable coredumps?


More information about the dovecot mailing list