Sponsored Content
Top Forums UNIX for Advanced & Expert Users /var/log/maillog isn't updating. Postfix related Post 302274759 by SkySmart on Thursday 8th of January 2009 09:47:54 AM
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.
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
postfix-nochroot(8)					      System Manager's Manual					       postfix-nochroot(8)

NAME
postfix-nochroot - change /etc/postfix/master.cf to not use chroot SYNOPSIS
postfix-nochroot DESCRIPTION
Renames /etc/postfix/master.cf to /etc/postfix/master.cf.bak and creates a new /etc/postfix/master.cf file with every service configured to not use chroot. Every modified line is commented. It also restarts Postfix (to apply the change) and rmoves the unused chroot directories /var/spool/postfix/{etc,lib,usr} . Using a chroot environment makes upgrades more difficult and gets in the way when running SE Linux (without actually providing any security benefit in a SE Linux system). SEE ALSO
selinux(8), sestatus(8), selinuxenabled(1), check-selinux-installation(8), selinux-config-enforcing(8), selinux-policy-upgrade(8), http://wiki.debian.org/SELinux - More about SELinux Debian install, http://etbe.coker.com.au/tag/selinux/ - Russell's SE Linux blog posts, http://etbe.coker.com.au/2008/08/02/postfix-and-chroot/ - post about this script. AUTHOR
This program and it's man page was written by Russell Coker <russell@coker.com.au> for the Debian system (but may be used by others). Per- mission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-3. postfix-nochroot(8)
All times are GMT -4. The time now is 06:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy