Package: maildrop Version: 2.2.0-3.1 Severity: normal Tags: upstream
Hello, Here is the way to reproduce this bug. I was able to reproduce this bug on debian stable and freebsd 9. apt-get install maildrop add a user testuser and a group testgroup Change home directory of testuser to /home/testdir/testuser edit /etc/maildroprc and uncomment DEFAULT="$HOME/Maildir" Change ownership of /home/testdir # ls -ld /home/testdir drwxr-xr-x 3 root testgroup 4096 Jul 28 13:50 /home/testdir # cat /etc/passwd|grep test testuser:x:1001:1001:,,,:/home/testdir/testuser:/bin/bash # cat /etc/group|grep test testuser:x:1001: testgroup:x:1002:testuser Now mail delivery works if /home/testdir has 0755 perms : # chmod 755 /home/testdir # echo "testmail" |maildrop -V 3 -d testuser ERR: authdaemon: s_connect() failed: No such file or directory maildrop: Changing to /home/testdir/testuser Message start at 0 bytes, envelope sender=testuser maildrop: Attempting .mailfilter # cat /home/testdir/testuser/Maildir/new/1343476846.M402842P17286V0000000000000802I000000000057A00A_0.barret\,S\=9 testmail But if /home/testdir has 0750 perms and belongs to root:testgroup, mail delivery fails even if testuser is in group testgroup : # chmod 750 /home/testdir # ls -ld /home/testdir drwxr-x--- 3 root testgroup 4096 Jul 28 13:50 /home/testdir # echo "testmail" |maildrop -V 3 -d testuser ERR: authdaemon: s_connect() failed: No such file or directory maildrop: Changing to /home/testdir/testuser maildrop: Unable to change to home directory. Note that testgroup is not the primary group of testuser BR Eric -- System Information: Debian Release: 6.0.4 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages maildrop depends on: ii courier-authlib 0.63.0-3 Courier authentication library ii libc6 2.11.3-3 Embedded GNU C Library: Shared lib ii libgcc1 1:4.4.5-8 GCC support library ii libgdbm3 1.8.3-9 GNU dbm database routines (runtime ii libpcre3 8.02-1.1 Perl 5 Compatible Regular Expressi ii libstdc++6 4.4.5-8 The GNU Standard C++ Library v3 Versions of packages maildrop recommends: ii postfix [mail-transport 2.7.1-1+squeeze1 High-performance mail transport ag maildrop suggests no packages. -- Configuration Files: /etc/maildroprc changed: DEFAULT="$HOME/Maildir" -- no debconf information -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

