Package: postfix
Version: 2.9.3-2.1~bpo60+1
Severity: important

Using ldaps for virtual_mailbox_map validation makes smtpd crash when the
server receive a RCPT TO message from the client.
(can be tested with netcat or telnet to simulate an SMTP exchange
between a client and postfix).

Exactly same behavior as described in
#572841<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=572841> but
on Squeeze using postfix from backports (postfix
2.9.3-2.1~bpo60+1).

Here is a message:

Nov 13 10:05:44 test postfix/master[1908]: warning: process
/usr/lib/postfix/smtpd pid 7863 killed by signal 6

Strace sheds light on the issue:

strace -tt -s 4096 -f -p 8269 -e trace=file
...
[pid  8685] 11:22:48.720192 access("/dev/random", R_OK) = -1 ENOENT
(No such file or directory)
...

So, /dev/random is not created in the chroot by default.

Solution:
root@testmail:/var/spool/postfix/dev# mknod random c 1 8
root@testmail:/var/spool/postfix/dev# chmod 666 random

Best regards,
Ignacio.

Reply via email to