Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
General
cancel
Showing results for 
Search instead for 
Did you mean: 

mail.log not edited when sending e-mail by sendmail

SOLVED
Go to solution
tom_2010
Occasional Advisor

mail.log not edited when sending e-mail by sendmail

Hi all.

I've got sendmail Version 8.9.3 working on HP-UNIX 11i v1.
I spent a couple of days to solve sendmail related problem (thread is ttp://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1438598) and tested sending emails so many times and my mail.log got bigger.
So i zipped mail.log and created a new file under /var/adm/syslog.

But when i send e-mail thru sendmail, no logs are written in mail.log. I've already restarted sendmail service but still log not edited.

What should i do to make sendmail to edit mail.log??

2 REPLIES
rariasn
Honored Contributor
Solution

Re: mail.log not edited when sending e-mail by sendmail

Hi Tom,

# /sbin/init.d/sendmail stop
# mv mail.log mail.log.old
# kill -HUP `cat /var/run/syslog.pid`
# /sbin/init.d/sendmail start


Test send mail and mail.log

rgs
tom_2010
Occasional Advisor

Re: mail.log not edited when sending e-mail by sendmail

Hi Rariasn.

Great! This works!! I appriciate your help.