Operating System - HP-UX
1748052 Members
4507 Online
108758 Solutions
New Discussion юеВ

Re: mailx sendmail panic for 1 user

 
SOLVED
Go to solution
Doug O'Leary
Honored Contributor

mailx sendmail panic for 1 user

Hey;

This one's got me tweaked. I have one user who's generating savemail panic messages when he uses mailx. This would seem to be an obvious environment issue, so I move .kshrc and .profile out of the way, and try again - same thing.

Just to verify it's an environment issue, I create a new user, verify he can send mail, then copy all the files from the bad user to the new one. Now, the new one's generating savemaill panics.

Curiously enough, when I generated a 2nd and 3rd new user, thoee guys, despite an almost empty environment, are also generating savemail panics.

I'm at a bit of a loss on this one... Anyone got an idea what I should look at?

Thanks.

Doug O'Leary

------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
4 REPLIES 4
James R. Ferguson
Acclaimed Contributor

Re: mailx sendmail panic for 1 user

Hi Doug:

Verify the permissions on the '/etc/mail' directory and subordinate files. World-writeable permissions are a problem.

Regards!

...JRF...
Doug O'Leary
Honored Contributor

Re: mailx sendmail panic for 1 user

Hey;

Those look right to me and seem to match the other HP systems where I'm not having this problem.

# ltree /etc/mail
dr-xr-xr-x 4 bin bin 8192 Aug 2 13:06 /etc/mail/
dr-xr-xr-x 32 bin bin 8192 Aug 11 09:25 /etc/
# ll /etc/mail
total 816
drwxr-xr-x 2 root sys 96 Jan 26 2007 RCS
-rw-r--r-- 1 root bin 946 Sep 17 2007 aliases
-rw-r----- 1 root bin 24576 Aug 11 09:49 aliases.db
drwxr-xr-x 2 root sys 96 Sep 5 2007 backup
-rw-r----- 1 root sys 0 Apr 13 2006 domaintable.dir
-rw-r----- 1 root sys 0 Apr 13 2006 domaintable.pag
-rw-r--r-- 1 root sys 0 Apr 13 2006 empty
-r--r--r-- 1 root sys 178 Aug 11 09:22 genericstable
-r--r--r-- 1 root sys 24576 Aug 11 09:23 genericstable.db
lrwxr-xr-x 1 root sys 39 Jan 26 2007 helpfile -> /usr/contrib/sendmail/etc/mail/helpfile
-rw-r--r-- 1 root sys 1995 Dec 15 2006 internal-domains
-r--r--r-- 1 bin bin 10222 Nov 14 2000 mailcap
-rw-r----- 1 root sys 0 Apr 13 2006 mailertable.dir
-rw-r----- 1 root sys 0 Apr 13 2006 mailertable.pag
-rw-r--r-- 1 root sys 103057 Sep 5 2007 sendmail.cf
-rw-r--r-- 1 root sys 94706 Dec 22 2005 sendmail.cf.save
-r--r--r-- 1 bin bin 727 Dec 21 2005 sendmail.cw
-rw------- 1 root mail 44 Aug 2 13:06 sendmail.pid
-r--r--r-- 1 bin bin 1012 Nov 14 2000 service.switch
-rw-r--r-- 1 root sys 94252 Sep 5 2007 submit.cf

------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
TTr
Honored Contributor
Solution

Re: mailx sendmail panic for 1 user

According to http://www.brandonhutchinson.com/savemail_panic_in_Sendmail.html the panics are caused by the postmaster alias. Your alias file has not been changed since Sep 2007.
Maybe popstmaster was directed to another user that got deleted.
Also check /var/mail and var/mqueue permissions and owners.
Doug O'Leary
Honored Contributor

Re: mailx sendmail panic for 1 user

Hey;

There it is... thanks. the root alias was redirected. Nice helpful error message that one...

Thanks a lot for the help; appreciate it no end.

Doug O'Leary

------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html