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 REDHAT
postdrop
POSTDROP(1) General Commands Manual POSTDROP(1)
NAME
postdrop - Postfix mail posting utility
SYNOPSIS
postdrop [-rv] [-c config_dir]
DESCRIPTION
The postdrop command creates a file in the maildrop directory and copies its standard input to the file.
Options:
-c The main.cf configuration file is in the named directory instead of the default configuration directory. See also the MAIL_CONFIG
environment setting below.
-r Use a Postfix-internal protocol for reading the message from standard input, and for reporting status information on standard out-
put. This is currently the only supported method.
-v Enable verbose logging for debugging purposes. Multiple -v options make the software increasingly verbose.
SECURITY
The command is designed to run with set-group ID privileges, so that it can write to the maildrop queue directory and so that it can con-
nect to Postfix daemon processes.
DIAGNOSTICS
Fatal errors: malformed input, I/O error, out of memory. Problems are logged to syslogd(8) and to the standard error stream. When the
input is incomplete, or when the process receives a HUP, INT, QUIT or TERM signal, the queue file is deleted.
ENVIRONMENT
MAIL_CONFIG
Directory with the main.cf file. In order to avoid exploitation of set-group ID privileges, it is not possible to specify arbitrary
directory names.
A non-standard directory is allowed only if the name is listed in the standard main.cf file, in the alternate_config_directories
configuration parameter value.
Only the super-user is allowed to specify arbitrary directory names.
FILES
/var/spool/postfix, mail queue
/etc/postfix, configuration files
CONFIGURATION PARAMETERS
See the Postfix main.cf file for syntax details and for default values. Use the postfix reload command after a configuration change.
import_environment
List of names of environment parameters that can be imported from non-Postfix processes.
queue_directory
Top-level directory of the Postfix queue. This is also the root directory of Postfix daemons that run chrooted.
SEE ALSO
sendmail(1) compatibility interface
syslogd(8) system logging
LICENSE
The Secure Mailer license must be distributed with this software.
AUTHOR(S)
Wietse Venema
IBM T.J. Watson Research
P.O. Box 704
Yorktown Heights, NY 10598, USA
POSTDROP(1)