Cyrus IMAP crashes after reading /etc/krb5.conf

Scot Hetzel swhetzel at
Sat Jan 29 12:00:15 PST 2005

On Fri, 28 Jan 2005 21:59:21 -0500, Mikhail Teterin
<mi+mx at> wrote:
> Hello!
> I'm trying to configure a freshly built mail/cyrus-imapd22 to work and
> authenticate accounts -- Kerberos and plain text.
> The GSSAPI authentication works already. After doing kinit, I can do ``imtest
> -m GSSAPI hostname'' and it succeeds.
> Now I'm trying to login with plain text (over SSL). Cyrus' imapd keeps
> crashing from SIGBUS. According to ktrace, this happens right after reading
> the krb5.conf (I replaced our domain with "example" below):
The freebsd-security list is for security issue with the FreeBSD
operating system.
Your question involves a port question. freebsd-questions, cyrus
mailing list, or freebsd-ports is where you should have posted.

You'll need to use gdb on the cyrus-imapd .core file to find out where
it is failing.
You'll also need a version of the cyrus-imapd compiled with debugging
symbols to get something usefull out of gdb.


gdb /usr/ports/mail/cyrus-imapd22/work/cyrus-imapd-2.2*/<location of
file>/<name of cyrus-imapd> -c /<location of core file>/<name of

(check the man page, I'm not sure -c is correct for the core file)

then use bt (backtrace) in gdb and it will show you the src file &
function where the failure is occuring. You may also want to look at
the values of some of the variables (i.e. p varname, p *varname, p


PS. I BCC freebsd-security, do not post any replies there.

More information about the freebsd-questions mailing list