Segfault vdelivermail with vpopmail 5.4.32

This had me stumped for a while while installing vpopmail5.4.32 (currently at time of writing is the stable version) on a fresh amd_64 debian lenny machine.

Random segfaults with vdelivermail that look like this:

vdelivermail[3675]: segfault at 0 ip 00007f4164e470b0 sp 00007fff1a370528 error 4 in libc-2.7.so[7f4164dcc000+14a000]

Solution:

In ~vdelivermail/etc:

vusaged.conf

Log:
Level = 1;
Socket:
Filename = /tmp/vusaged.sock;
UID = vpopmail;
GID = vchkpw;
Client timeout = 5;
Poll timeout = 1;
Detect client timeout = 4;
Queue:
Workers = 10;
Max queue size = 1000;
Polling:
Use Maildir++ format = True;
Directory minimum poll time = 120;
Count directory entry size = False;
Age Factor = 1;

vusagec.conf

Global:
Disable = 1;
Server:
Filename = /tmp/vusaged.sock;
Timeout = 1;

Restart vusaged and your problems should be fixed, at least it worked for me.  Why this bug managed to get into a stable version I have no idea, but hopefully this will save you some headaches should this be a production machine.

This entry was posted in Computers, Things that piss me off and tagged , , . Bookmark the permalink.

Leave a Reply