No log for sendmail


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers No log for sendmail
# 1  
Old 10-30-2008
No log for sendmail

I manage to send an email with sendmail (phew)

I guess there is a queue timer, which is why it aint sent immediatly, and I guess its' in the mc file. ill look into it soon.

What I am looking for are the logs. I don't see any.

grep mail /etc/syslog.conf
# Log anything (except mail) of level info or higher.
*.info;mail.none;authpriv.none;cron.none /var/log/messages
# Log all the mail messages in one place.
#mail.* -/usr/local/psa/var/log/maillog
mail.* /var/log/maillog

however /var/log/maillog file is empty.

do I need to chmod 777 it? I think not, cause it's root who probably runs the sendmail process, is it?

thank you for your answers.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Clarifying sendmail configuration - sendmail-client offline

Hi all, I have read about sendmail running as 2 separate process. 1 as a MSP, and the other as the real daemon or MTA. In my current configuration, the sendmail-client is disabled. Both submit.cf and sendmail.cf are left as default untouch I do not specified any mailhost... (3 Replies)
Discussion started by: javanoob
3 Replies

2. UNIX for Advanced & Expert Users

Sendmail questions, SCO 5.0.6 sendmail 8.11.0

I am running SCO 5.0.6 and using sendmail 8.11.0 and having issues with smtp authentication. When trying to send mail the following message will kick back. (reason: 530 5.7.1 Authentication required) 530 5.7.1 Authentication required Not sure what needs to be tweeked in sendmail.cf but I... (1 Reply)
Discussion started by: ziggy6
1 Replies

3. UNIX for Dummies Questions & Answers

How to read and understand Sendmail 8.14 log files ?

Can some one please help me know how exactly to understand logs in sendmail 8.14.5. I am pretty new to sendmail. I am running rhel6 on my system and i installed sendmail on it. Its just a test enivornment and i am sending and receiving emails on my localshot only. Jun 13 18:32:38 serv1... (0 Replies)
Discussion started by: Rohit Bhanot
0 Replies

4. AIX

Sendmail

How do I run sendmail in non-daemon mode in AIX (3 Replies)
Discussion started by: ranasarkar
3 Replies

5. Linux

Sendmail

In my server sendmail is running in daemon mode as, server01:~ # ps -ef| grep sendmail mail 6354 1 0 2010 ? 00:00:00 sendmail: Queue control root 6423 1 0 2010 ? 00:00:47 sendmail: accepting connections mail 6474 6354 0 2010 ? 00:05:03... (0 Replies)
Discussion started by: ranasarkar
0 Replies

6. Solaris

Sendmail

I have sendmail enabled in my Solaris 10 boxes. It has being flagged as an violation to unix security standard as the port 25 is listening. I want to run the sendmail to run in non-daemon mode so that the queue is processed. Please help. (0 Replies)
Discussion started by: ranasarkar
0 Replies

7. UNIX for Dummies Questions & Answers

sendmail.cf

we have two mail servers and want to setup failover for DR. we have a line in sendmail.cf like this DS smtp.domain.com and this works fine...... we changed it to DS smtp1.domain.com smtp2.domain.com this is bad, we get errors of savemail panic and many bounce messages and... (0 Replies)
Discussion started by: robsonde
0 Replies

8. Linux

SendMail

Does sendmail support IMAP? (1 Reply)
Discussion started by: erhan_j
1 Replies

9. UNIX for Dummies Questions & Answers

Sendmail: Log entry

Hello Can you tell me what this entry means in the log files: relay=gtw.powerinternetcr.com (may be forged), reject=550 5.7.1 <aaronzum@gmx.net>... Relaying denied. IP name possibly forged IS someone trying to use my server for sending spam mail? If so how can I stop this from... (2 Replies)
Discussion started by: skotapal
2 Replies

10. UNIX for Dummies Questions & Answers

sendmail

When ever I start up linux the pc hangs for 10min due to send mail. Advice how do I disable or stop this from happening?:( (1 Reply)
Discussion started by: danny howell
1 Replies
Login or Register to Ask a Question
PMDASENDMAIL(1) 					      General Commands Manual						   PMDASENDMAIL(1)

NAME
pmdasendmail - sendmail performance metrics domain agent (PMDA) SYNOPSIS
$PCP_PMDAS_DIR/sendmail/pmdasendmail [-d domain] [-l logfile] [-U username] DESCRIPTION
pmdasendmail is a sendmail Performance Metrics Domain Agent (PMDA) which exports mail traffic statistics as collected by sendmail(1). Before the sendmail PMDA can export any metrics, sendmail(1) must have statistics collection enabled. This involves checking the name of the statistics file, as given by the OS or O StatusFile control lines in /etc/sendmail.cf, and then creating this file if it does not already exist. Removing the file will terminate statistics collection by sendmail(1) and hence the sendmail PMDA. A brief description of the pmdasendmail command line options follows: -d It is absolutely crucial that the performance metrics domain number specified here is unique and consistent. That is, domain should be different for every PMDA on the one host, and the same domain number should be used for the same PMDA on all hosts. -l Location of the log file. By default, a log file named sendmail.log is written in the current directory of pmcd(1) when pmdasendmail is started, i.e. $PCP_LOG_DIR/pmcd. If the log file cannot be created or is not writable, output is written to the standard error instead. -U User account under which to run the agent. The default is the unprivileged "pcp" account in current versions of PCP, but in older versions the superuser account ("root") was used by default. There are no communication options, as the Install script ensures the sendmail PMDA will be connected to PMCD by a pipe. INSTALLATION
If you want access to the names, help text and values for the sendmail performance metrics, do the following as root: # cd $PCP_PMDAS_DIR/sendmail # ./Install If you want to undo the installation, do the following as root: # cd $PCP_PMDAS_DIR/sendmail # ./Remove pmdasendmail is launched by pmcd(1) and should never be executed directly. The Install and Remove scripts notify pmcd(1) when the agent is installed or removed. FILES
$PCP_PMCDCONF_PATH command line options used to launch pmdasendmail $PCP_PMDAS_DIR/sendmail/help default help text file for the sendmail metrics $PCP_PMDAS_DIR/sendmail/Install installation script for the pmdasendmail agent $PCP_PMDAS_DIR/sendmail/Remove undo installation script for the pmdasendmail agent $PCP_LOG_DIR/pmcd/sendmail.log default log file for error messages and other information from pmdasendmail /etc/sendmail.cf sendmail configuration file to identify the name of the statistics file PCP ENVIRONMENT
Environment variables with the prefix PCP_ are used to parameterize the file and directory names used by PCP. On each installation, the file /etc/pcp.conf contains the local values for these variables. The $PCP_CONF variable may be used to specify an alternative configura- tion file, as described in pcp.conf(5). SEE ALSO
pmcd(1) and sendmail(1). Performance Co-Pilot PCP PMDASENDMAIL(1)