Operating System - HP-UX
1832981 Members
3423 Online
110048 Solutions
New Discussion

Re: Sendmail problem.....

 
Richard_115
Frequent Advisor

Sendmail problem.....

I just upgraded my sendmail from 8.9.3 to 813 running on HPUX 11.11. The problem I am gettin when I am sending is as follows.

ollect: Cannot write ./dfl7FFs7Ku021168 (bfcommit, uid=2535, gid=6): Permission denied
queueup: cannot create queue file ./qfl7FFs7Ku021168, euid=2535, fd=-1, fp=0x0: Permission denied

Does anyone out there know what this one is and how to fix it ? For one thing, I know I did not have to reboot this system because when I installed it, it never required me to.

Appreciate much.

Thanks
7 REPLIES 7
Steven E. Protter
Exalted Contributor

Re: Sendmail problem.....

Shalom,

Looks the permissions on the queues are too tight.

/var/spool/mqueue

Thats the normal outbound mail queue.

You don't need to reboot to install sendmail.

Check permissions:

drwxr-xr-x 2 bin bin 6144 Aug 15 18:40 /var/spool/mqueue//

Those permissions are normal for this queue.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Uday_S_Ankolekar
Honored Contributor

Re: Sendmail problem.....

Please check permission on /var/spool/mqueue directory , IT should owned by root:sys with 700 perm

-USA..
Good Luck..
Uday_S_Ankolekar
Honored Contributor

Re: Sendmail problem.....

List of some more files that will cause sendmail to function properly with wrong/inappropriate permissions.

drwxr-xr-x root root 755
/usr/sbin/sendmail -r-sr-sr-t root mail 7555
/usr/lib/sendmail lr-sr-sr-t root sys 7555
/etc/ dr-xr-xr-x bin bin 555
/etc/aliases rwxr-xr-x root sys 755
/etc/mail dr-xr-xr-x bin bin 555
/etc/mail/aliases -r--r--r-- bin bin 444
/etc/mail/aliases.db -rw-r--r-- root sys 644
/etc/mail/sendmail.cf -r--r--r-- bin bin 444
/etc/mail/sendmail.cw -rw-rw-rw- root sys 666
/etc/nsswitch.conf -r--r--r-- root sys 444
/etc/passwd -r--r--r-- root sys 444
/etc/resolv.conf -rw-r--r-- root sys 644
/home drwxr-xr-x root root 755
/tmp drwxrwxrwx bin bin 777
/usr/bin/elm -r-xr-sr-x bin mail 2555
/usr/bin/rmail -r-sr-sr-x root mail 6555
/usr/bin/mail -r-sr-sr-x root mail 6555
/home/user_account -rwxr-xr-x uid users (755)
/usr/bin/mailx -r-xr-xr-x bin bin 666
/home/user_account/.forward -rwxr-xr-x uid users (755)
/var dr-xr-xr-x bin bin 555
/var/adm drwxr-xr-x adm adm 755
/var/adm/syslog dr-xr-xr-x root sys 555
/var/adm/syslog/mail.log -r--r--r-- root root 444
/var/mail drwxrwxr-x bin mail 775
/var/mail/user_account -rw-rw---- uid mail (660)
/var/spool drwxr-xr-x bin bin 755
/var/spool/mqueue drwxr-xr-x bin bin 755
/var/spool/mqueue/qf* or df* -rw------- root mail (400)
/var/tmp drwxrwxrwx bin bin 777
Good Luck..
Richard_115
Frequent Advisor

Re: Sendmail problem.....

ALL
I have changed the permissions as requested on /var/spool/mqueque. I still get the same errors. unfortunately, only ROOT can send mail. all other users get the error i indicated.
VK2COT
Honored Contributor

Re: Sendmail problem.....

Hello,

Did you use gen_cf to create new
Sendmail configs:

/usr/newconfig/etc/mail/cf/cf/gen_cf


The â Verify permissions for the sendmail
filesâ menu option verifies the permission of
the Sendmail files. In Sendmail 8.11.1, you
could use the gen_cf command-line option -v
to verify the permissions. Starting with
Sendmail 8.13.3, you can also use the gen_cf
script to verify the permissions of the
Sendmail files.

The â Correct permissions for the sendmail
filesâ menu option corrects the permissions
of the Sendmail files. Previously, you could
use the gen_cf command-line option -u to
correct the permissions. Starting with
Sendmail 8.13.3, you can use the gen_cf
script to verify the permissions of the
Sendmail files.

Cheers,

VK2COT
VK2COT - Dusan Baljevic
whiteknight
Honored Contributor

Re: Sendmail problem.....

hi Richard,

Please refer to this technical doc:-

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c01004382-1

Hope this help to isolate your issue.


WK
Problem never ends, you must know how to fix it
Joelmel Roche
Valued Contributor

Re: Sendmail problem.....

Hi,

Please try changing this line in the submit.cf file:

D{MTAHost}[127.0.0.1]

To this:

D{MTAHost}[palsmtpx.hp.com]