Hi Corinna, Corinna Vinschen wrote: > > On Jul 24 23:42, D. Boland wrote: > > [...] > > Sendmail checks if the user's home directories are group- or world > > writable. It does this with 'stat'. If Sendmail is running in 'crude' > > mode (main program and children running as the Sendmail 'smmsp' user, > > made admin), stat returns the right file mode for my home directory > > (rwxr-xr-x). The email is delivered. > > > > If I have Sendmail running in preferred mode (main program as > > cyg_server, children running as 'smmsp', removed from admin group), > > stat returns the wrong mode (rwxrwxrwx). As a consequence, Sendmail > > refuses to deliver email. > > > > Can I do anything about this? > > That shouldn't happen. Unless your home dir is on FAT or FAT32 > and you're using the wrong umask. For a start, can you try this: > > Login as user smmsp twice, once with admin privs, once without. > Each time, run the following command: > > $ strace -o stat.trace stat > > And send the output of stat, as well as the two generated trace files > here. This might give us a clue. Here's the output I get on the terminal: daniel@dimension ~ $ ssh smmsp@localhost smmsp@localhost's password: Last login: Tue Jul 22 07:18:27 2014 from localhost smmsp@dimension ~ $ groups None Users mail smmsp@dimension ~ $ strace -o /tmp/stat.trace stat /home/daniel/ File: `/home/daniel/' Size: 0 Blocks: 0 IO Block: 65536 directory Device: e82f1393h/3895399315d Inode: 1970324836993607 Links: 1 Access: (0755/drwxr-xr-x) Uid: ( 1003/ daniel) Gid: ( 513/ None) Access: 2014-07-28 09:40:47.976156800 +0200 Modify: 2014-07-17 11:40:03.095408000 +0200 Change: 2014-07-17 11:40:03.095408000 +0200 Birth: 2014-05-22 17:00:44.538505600 +0200 daniel@dimension ~ net localgroup "Administrators" "smmsp" /add daniel@dimension ~ $ ssh smmsp@localhost smmsp@localhost's password: Last login: Mon Jul 28 09:48:12 2014 from localhost smmsp@dimension ~ $ groups None Administrators Users mail smmsp@dimension ~ $ strace -o /tmp/stat.trace.admin stat /home/daniel/ File: `/home/daniel/' Size: 0 Blocks: 0 IO Block: 65536 directory Device: e82f1393h/3895399315d Inode: 1970324836993607 Links: 1 Access: (0755/drwxr-xr-x) Uid: ( 1003/ daniel) Gid: ( 513/ None) Access: 2014-07-28 09:53:19.596934400 +0200 Modify: 2014-07-17 11:40:03.095408000 +0200 Change: 2014-07-17 11:40:03.095408000 +0200 Birth: 2014-05-22 17:00:44.538505600 +0200 The strace output is attached. Daniel