/var/log/maillog isn't updating. Postfix related


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users /var/log/maillog isn't updating. Postfix related
# 1  
Old 01-08-2009
/var/log/maillog isn't updating. Postfix related

can someone please help me figure how i can get maillog to start updating again? it just all of a sudden stopped. and postfix isn't writing to it anymore. I'm running a Ubuntu box 8.04

thanks
# 2  
Old 01-08-2009
Especially Postfix has great HOWTO-DEBUG document. You can follow the guidelines there, while making sure that no one has played with the file's permissions, etc. Start with postfix's restart, if feasible, and see if the file gets updated after test mail.
# 3  
Old 01-08-2009
Quote:
Originally Posted by sysgate
Especially Postfix has great HOWTO-DEBUG document. You can follow the guidelines there, while making sure that no one has played with the file's permissions, etc. Start with postfix's restart, if feasible, and see if the file gets updated after test mail.


thanks a million for responding. i have tried quite a lot of things which includes rebooting the server, restarting postfix multiple times. manually rotating the logfile. none of which worked.

the maillog was working before but just stopped. below is the last errors that was written to the file.

Jan 8 03:14:01 nagios postfix/postdrop[30330]: warning: unable to look up public/pickup: No such file or directory
Jan 8 03:19:46 nagios postfix/qmgr[30377]: fatal: do not run this command by hand
Jan 8 03:19:58 nagios postfix[30378]: fatal: chdir(/var/spool/postfix): No such file or directory
Jan 8 03:20:02 nagios postfix[30379]: fatal: chdir(/var/spool/postfix): No such file or directory


keep in mind, i've been able to get postfix running and sending emails as it is expected to do. i'm just not seeing anything being written to the /var/log/maillog file. i want to be able to see the progress of whatever postfix is doing and it is in maillog file that it use to be in.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Transfer the logs being thrown into /var/log/messages into another file example /var/log/volumelog

I have been searching and reading about syslog. I would like to know how to Transfer the logs being thrown into /var/log/messages into another file example /var/log/volumelog. tail -f /var/log/messages dblogger: msg_to_dbrow: no logtype using missing dblogger: msg_to_dbrow_str: val ==... (2 Replies)
Discussion started by: kenshinhimura
2 Replies

2. UNIX and Linux Applications

Postfix: Active Directory and postfix alias

I have a mailserver with postfix i want to alias all mail for administrator@domain.fqdn to root@domain.fqdn I have the aliases configured,and i did newliases but doesn't work. How to did this?Postfix is configured for virtual domain on ad server. (2 Replies)
Discussion started by: Linusolaradm1
2 Replies

3. Shell Programming and Scripting

How can view log messages between two time frame from /var/log/message or any type of log files

How can view log messages between two time frame from /var/log/message or any type of log files. when logfiles are very big and especially many messages with in few minutes, I would like to display log messages between 5 minute interval. Could you pls give me the command? (1 Reply)
Discussion started by: johnveslin
1 Replies

4. Solaris

Difference between /var/log/syslog and /var/adm/messages

Hi, Is the contents in /var/log/syslog and /var/adm/messages are same?? Regards (3 Replies)
Discussion started by: vks47
3 Replies

5. Solaris

/var/adm/messages not updating

This is Solaris 10. I have devices sending syslog, but the /var/adm/messages file is not updating anymore. Here's what I did when it stopped. I wanted to change the location of where the messages are being logged to a SAN drive. 1) Made a backup of syslog.conf 2) Edited the file to change... (12 Replies)
Discussion started by: mmletzko
12 Replies

6. UNIX for Dummies Questions & Answers

Please help with Postfix config issue - How to allow remote Exchange server to relay to my postfix

Hi guys One of our clients have a problem with sending email to a certain domain. No matter what we try, the mails just dont get delivered. What I did then, is created a new connector on their Exchange server, pointing all mail sent to their client at "domain1" to relay to our Postfix mail... (0 Replies)
Discussion started by: wbdevilliers
0 Replies

7. Solaris

diff b/w /var/log/syslog and /var/adm/messages

hi sirs can u tell the difference between /var/log/syslogs and /var/adm/messages in my working place i am having two servers. in one servers messages file is empty and syslog file is going on increasing.. and in another servers message file is going on increasing but syslog file is... (2 Replies)
Discussion started by: tv.praveenkumar
2 Replies

8. IP Networking

postfix - reinject mail to postfix from hold queue directory

hi all. Am using smtpd_recipient_restrictions & check_recipient_access in postfix. The hash file looks like this: emailaddress1 HOLD emailaddress2 HOLD The aim is to place email from these recipients in the hold directory,check them then reinject them back in postfix on some... (0 Replies)
Discussion started by: coolatt
0 Replies

9. Red Hat

/var/log/messages and secure not updating

Hello all, I recently deleted some lines from the messages and secure files, in /var/log and now they are not keeping a log anymore. The last update shows the date of when I deleted the lines. I had to delete some failed login attempts to stop denyhosts from blocking the ips (probably not the... (3 Replies)
Discussion started by: z1dane
3 Replies

10. UNIX for Advanced & Expert Users

maillog extract

Hi all, below are some text extracted from maillog. I have a cronjob running at 1720 daily and it will send mails to me. it was working fine on the 27 Sept.Sep 27 17:20:01 venus sendmail: k8R9K0OR032710: from=user1, size=580, class=0, nrcpts=1, msgid=<200609270920.k8R9K0OR032710@venus.domain.com>,... (1 Reply)
Discussion started by: new2ss
1 Replies
Login or Register to Ask a Question