1820268 Members
2921 Online
109622 Solutions
New Discussion юеВ

Re: /var permissions

 
Mark Hoensheid
Advisor

/var permissions

Good morning all...

I came back on Monday morning to find our HPUX 11.0 system in trouble, specifically our sendmail 8.11.1.

We can are able to send email out but not receive anything?

Anyhow, the /var directory permissions below
ll -d /var drwxr-xr-x 20 bin bin 1024 Feb 19

These don't look right to me?

6 REPLIES 6
Bharat Katkar
Honored Contributor

Re: /var permissions

Yeah,
I see some change in OWNER's fields, make it:


dr-xr-xr-x 20 bin bin 1024 Apr 15 13:28 var

You need to know a lot to actually know how little you know
Mel Burslan
Honored Contributor

Re: /var permissions

These permissions are more than allright. On my systems, /var permissions are set for 555 and it still works fine.

what does the output of

# ps -ef | grep sendmail

say ?
Sometimes mail reception bums out due to high cpu load and you can see it in this output.
________________________________
UNIX because I majored in cryptology...
Geoff Wild
Honored Contributor

Re: /var permissions

Yes - should be 555:

ll -d /var
dr-xr-xr-x 28 bin bin 8192 Jul 10 2003 /var

Check mailq

Is the sendmail daemon running?

ps -ef|grep send
root 2711 1 0 Apr 24 ? 4:26 sendmail: accepting connections

Anything strange in /var/adm/syslog/mail.log?

If you don't have a mail.log, add one:

In /etc/syslog.conf:

mail.debug /var/adm/syslog/mail.log
*.info;mail.none /var/adm/syslog/syslog.log
*.alert /dev/console
*.alert root
*.emerg *


Then kill -HUP the syslogd pid

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.
Mark Hoensheid
Advisor

Re: /var permissions

Thanks all for your input..

I changed permissions to 555 on /var.

Ps -ef | grep sendmail shows that sendmail is accepting connections and I also verified these smtp connections through our firewall.

I cleared out our /mqueue and then we started receiving messages from the outside. I checked the mail & syslog and both didn't show anything out of the ordinary? Not sure what happened?

Is 8.11.1 the latest version of Sendmail offered by HP? I have been battling spammers and have been identified as a open relay in the past? We since taken care of the relay thing, but looking to stay on top of this to keep the bad guys out. Any help with this last point would be much appreciated.
Geoff Wild
Honored Contributor

Re: /var permissions

Yes 8.11.1 is latest from HP:

http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=SMAIL811

I would look into compiling your own version from sendmail.org seeing how your server is on the net...

Though I see there is a patch:

http://www2.itrc.hp.com/service/cki/patchDocDisplay.do?patchId=T64V51AB-IX6-SENDMAI

Which makes it appear that sendmail 8.12.x is in Internet Express?

http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1111

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

Re: /var permissions

Well - I took a look at one of my "internet express" cd's - and no sendmail....maybe someone from HP can chime in a let us know if sendmail 8.12.11 is or will be available for HP-UX....

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.