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
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
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
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
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
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
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
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.
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
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
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
LEARN ABOUT DEBIAN
lr_run
LR_RUN.IN(1) LogReport's Lire Documentation LR_RUN.IN(1)
NAME
lr_run - run a Lire program and deal with the logging output
SYNOPSIS
lr_run program arguments
DESCRIPTION
lr_run runs program, and redirects program's stderr output to logger(1). It parses programs logging output, and sets logger(1)'s flags
accordingly.
lr_run gets configuration from sysconfdir/lire/defaults. In case 'lr_logging_method' is set to 'stderr', logger(1) is not involved: logging
output gets redirected to stderr. In case 'lr_debug' is set to the empty string, messages with loglevel debug and info get suppressed. The
configuration variable 'lr_logging_facility' is used to find logger(1)'s facility.
NOTES
program's output on stderr should be in format superservice service id programname level message. level should be one of: emerg (system is
unusable), alert (action must be taken immediately), crit (critical conditions), err (error conditions), warning (warning conditions),
notice (normal, but significant, condition), info (informational message), debug (debug-level message). See syslog(3).
id can be used to tag each Lire job, so that these can get tracked. programname should be the name of the program which generated the log
line.
EXAMPLES
To process a Postfix log and display the report as text, use
$ lr_run lr_log2report postfix < /var/log/mail.log
To process a Postfix log and create the report in HTML (packed up in a tar archive), use:
$ lr_run lr_log2report -o html postfix < /var/log/mail.log > postfix.tar
SEE ALSO
Documentation in the Lire User Manual
VERSION
$Id: lr_run.in,v 1.23 2006/07/23 13:16:33 vanbaal Exp $
COPYRIGHT
Copyright (C) 2000-2003 Stichting LogReport Foundation LogReport@LogReport.org
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program (see COPYING); if not, check with
http://www.gnu.org/copyleft/gpl.html.
THANKS
Rudi Sluijtman, for sharing some thoughts on shell scripting.
AUTHOR
Joost van Baal <joostvb@logreport.org>
Lire 2.1.1 2006-07-23 LR_RUN.IN(1)