[Dovecot] Dovecot crashes on certain spam messages

Karl Eklund kalle-e at medelklassen.com
Mon Feb 2 23:21:58 EET 2004

Jonas Smedegaard wrote:

> Perhaps mounting the filesystem with something else than 0 as last but 
> one item in fstab solves it?

Why? The dump option seems to have something to do with a kind of backup 
system, according to man fstab. Also, it seems to be possible to get a 
core dump:

~ $ cat crash.c
main() { char *s; while(1) { *s = "a"; ++s; } }
~ $ gcc -o crash crash.c
crash.c: In function `main':
crash.c:1: warning: assignment makes integer from pointer without a cast
~ $ ulimit -c 50000
~ $ ./crash
Segmentation fault (core dumped)
~ $
-rw-------    1 ke       users       49152 Feb  2 22:19 core
~ $

More information about the dovecot mailing list