Michael Carmack writes:
This is the problem:On Tue, Oct 29, 2002 at 07:16:08PM -0500, Sam Varshavchik wrote:
You need to look a little bit earlier than this. About 20-50 lines more. Furthermore you need to use the -s option, because all the text messages are cut off by default.
It got a bit long, so here it is on the web:http://antidote.karmak.org/sendmail-trace This seems to be happening more frequently , or maybe I'm just paying more attention now.
[pid 9655] chdir("/pkg/courier/0.39.3/.i686-pc-linux-gnu/.karmak.1/var/run/tmp") = 0
[pid 9655] mkdir("103613", 0770) = -1 EACCES (Permission denied)
[pid 9655] _exit(0)
The permissions or the ownership of this directory are fscked up.
Check the permissions on the sendmail binary and that tmp subdirectory. The tmp subdirectory must be owned by courier's uid/gid, and have mode 0770. The sendmail binary must be uid root.
[root@ny root]# ls -l /usr/lib/courier/bin/sendmail
-r-s--x--x 1 root daemon 41334 Oct 25 23:16 /usr/lib/courier/bin/sendmail
A new spool subdirectory is created every couple of hours. I think you lost the setuid bit on sendmail, meaning that every couple of hours everything will break until you run sendmail as root, which will finally be able to run the submit child process as the courier user, and create the new spool subdirectory.
-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
