Operating System - HP-UX
1748186 Members
4506 Online
108759 Solutions
New Discussion юеВ

Re: Sendmail Permission denied error on file

 
SOLVED
Go to solution
Peter Godron
Honored Contributor

Sendmail Permission denied error on file

Just installed sendmail 8.12.8 on HPUX11.
Sendmail starts up ok, but on sending message
I receive:
421 4.3.0 collect: Cannot write ./dfh2OBmY78025911 (bfcommit, uid=0, gid=25): Permission denied
>>> QUIT
root... Deferred: 421 4.3.0 collect: Cannot write ./dfh2OBmY78025911 (bfcommit, uid=0, gid=25): Permission denied
Closing connection to [127.0.0.1]
>>> QUIT
Assume this is a problem of permissions on a dir, but can not establish where.
Any Ideas?
5 REPLIES 5
T G Manikandan
Honored Contributor

Re: Sendmail Permission denied error on file

What are the permissions for /var/tmp dir

It should be 1777. i.e.

rwxrwxrwxt
Peter Godron
Honored Contributor

Re: Sendmail Permission denied error on file

dr-xr-xr-x 18 bin bin 1024 Dec 5 2001 var
drwxrwxrwt 3 bin bin 5120 Mar 24 12:24 tmp
chmoding 777 on dirs had no impact.
T G Manikandan
Honored Contributor
Solution

Re: Sendmail Permission denied error on file

What about /var/spool/mqueue

drwxrwxr-x bin bin
T G Manikandan
Honored Contributor

Re: Sendmail Permission denied error on file

permission of /var/mail

#ls -ld mail
drwxrwxr-x 2 bin mail 1024 Mar 24 18:27 mail

In the /var/mail dir each user has a mail box which should have permissions


-rw-rw---- 1 mail
Peter Godron
Honored Contributor

Re: Sendmail Permission denied error on file

Problem now resolved.
Great help!!