cancel
Showing results for 
Search instead for 
Did you mean: 

Hp-Ux mail tool

SOLVED
Go to solution
Caroline Bérubé
Occasional Visitor

Hp-Ux mail tool

Hello everyone,

I am presently having problem with the deamon! I am using the HP-UX mail and sometimes the owner of my user mail box change to deamon. It happen occasionally and when I change the owner it rehappen again most of the time.

Tks in advance for your help.
5 REPLIES
Steven E. Protter
Exalted Contributor

Re: Hp-Ux mail tool

If the user is called bagel

the ownership of the mailbox(file) in /var/mail should be:

bagel:mail

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
Geoff Wild
Honored Contributor
Solution

Re: Hp-Ux mail tool

What version of HP-UX are you on?

How is sendmail configured?
check /etc/mail/sendmail.cf as well as aliases files

What version of sendmail are you running?
echo \$Z | /usr/sbin/sendmail -bt -d

users should own their mailboxes - not daemon...

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Caroline Bérubé
Occasional Visitor

Re: Hp-Ux mail tool

Hello Steven,

That's the way it's setup my user is bagel and the ownership of the mailbox in /var/mail is bagel but occasionally the ownership switch to deamon and when it happen and I correct the situation it always happen again within the next hour.
Geoff Wild
Honored Contributor

Re: Hp-Ux mail tool

What are the permissions of the sendmail exececutable?

Should be:

# which sendmail
/usr/sbin/sendmail

# ll /usr/sbin/sendmail
lrwxr-xr-x 1 root sys 39 Apr 8 2004 /usr/sbin/sendmail -> /usr/contrib/sendmail/usr/sbin/sendmail

# ll /usr/contrib/sendmail/usr/sbin/sendmail
-r-sr-sr-t 1 root mail 1019904 Oct 29 2003 /usr/contrib/sendmail/usr/sbin/sendmail


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Steven E. Protter
Exalted Contributor

Re: Hp-Ux mail tool

I would look for a cron job that is changing permissions of files on the /var filesystem.

I don't think the sendmail daemon is going to do that. You might want to look at the sendmail.cf file and the /etc/rc.config.d/mailservs file and see if there is anything strange in there.

Regards,

:-)
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