Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

another problem, no log :]

Status
Not open for further replies.

roeiboot

Technical User
Feb 10, 2002
241
US
oi,

besides from the relay problems i have (see other posts) i'm unable to locate the maillog for sendmail.. i could have deleted it but still i would think sendmail makes a new log correct ?

anyone any idea/advise.. thx.
 
Have you checked the /var/log directory? You are correct that sendmail will create another one if you deleted the old one but I think you have to restart sendmail to do it.
 
yeah, checked there but no maillog (should that be the name?) did a search on the whole drive, no log.. re-started sendmail pretty often the last 2-3 days but still no log :(
 
This has me stumped too. Sendmail isn't playing by the rules. :)
 
no it isn't.. and in order to install Pop-before-smtp i need that log file, correct. any idea how i can make Sendmail play by the rules again :}
 
Check your [tt]/etc/syslog.conf[/tt]. It should specify where the maillog is stored. If there is nothing about [tt]mail.[/tt], the log would be [tt]/var/log/messages[/tt]. //Daniel
 
That could very well be the problem. In syslog.conf there should be a line that reads:

mail.* /var/log/maillog

I put the thought out of my head because I couldn't think of why someone would delete that line. It never dawned on me that it could be pointing somewhere else.
 
checked the syslog.conf and the mail.* is there with the path you "guessed" so that's not the problem... (wanna see ? goto any other ideas, only thing i did was delete the log last week.. i assumed as Ace confirmed that sendmail would make a new one.. thanks in advance.

ps. is 'maillog' a file or a directory ? already tried creating a directory called maillog but didn't help.
 
someone from sendmail.org e-mailed me back and said:

sendmail uses syslog, it doesn't even know where the logfile is. You have to create it yourself (unless syslog does it for you).
touch /var/log/maillog
restart syslog

i did the first line (touch..) and it created a maillog, restarted the syslog but it said: started system logger [FAILED].. so it looks like i have a new problem :]
also the maillog file remains empty, restarted Sendmail, picked up & sent mail, still the log is empty.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top