Lokesh Babu M. rearranged electrons thusly:

> "failed to create transcript file ./somefilename ...UID 501 access denied"
> and mail remains undelivired.
> where as this does not happen to root,

Is sendmail running as UID root?  Are the permissions for your /var/spool/mail
(or /var/mail) set properly?

jotunheim# ls -l /usr/sbin/sendmail
-r-sr-xr-x  1 root  bin  404537 Jan 12 21:52 /usr/sbin/sendmail

jotunheim# ls -ld /var/mail  (this is freebsd - in linux it's /var/spool/mail)
drwxrwxr-x  2 root  mail  512 Jan 15 19:25 /var/mail/

jotunheim# ls -ld /var/spool/mqueue
drwxr-xr-x  2 root  daemon  512 Jan 15 19:25 /var/spool/mqueue/

> Can anyone help me  where it has gone wrong? I feel all the permissions are
> OK, BTW where its trying to create that file?.
 
check the way you are starting sendmail .. did you compile it by hand?  In
which case, do sh Build install from the sendmail[version]/sendmail/ directory
instead of copying binaries by hand.

If RPM, check that /var/spool/mail exists on your box ... I dont think postfix
uses that by default.

        --suresh

-- 
Suresh Ramasubramanian  <-->  mallet <at> efn <dot> org
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin

----------------------------------------------
An alpha version of a web based tool to manage
your subscription with this mailing list is at
http://lists.linux-india.org/cgi-bin/mj_wwwusr

Reply via email to