I know this is not strictly a courier code issue but I'm trying to track down a permissions issue and from this strace I am getting...
setgid(1) = 0 getuid() = 0 setgroups(1, [1]) = 0 setuid(1) = 0 chdir("/usr") = 0 chdir("/var/lib/courier/tmp") = 0 [... ending with ...] sendto(3, "<19>Jan 2 19:05:47 submit: Permission denied", 45, MSG_NOSIGNAL, NULL, 0) = 45 unlink("145172/1451725547.16796.goldcoast.org") = -1 EACCES (Permission denied) but there is nothing in /var/lib/courier/tmp. My question; does that setgid(1) and setuid(1) mean to change to the uid:gid of 1:1? That is daemon:daemon on Debian systems whereas it should be 114:117 on my system for the "courier" user. If so then it would explain why /var/lib/courier/tmp owned by courier:courier can't be written to by a program changing to daemon:daemon. Which probably means the packages I am testing are built with some kind of internal daemon:daemon permissions whereas all external files are given courier:courier, ie;... ./esmtpd:MAILGROUP=courier ./esmtpd:MAILUSER=courier ------------------------------------------------------------------------------ _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users