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
RC.SENDMAIL(8)						    BSD System Manager's Manual 					    RC.SENDMAIL(8)

NAME
rc.sendmail -- sendmail(8) startup script DESCRIPTION
The rc.sendmail script is used by /etc/rc at boot time to start sendmail(8). It is meant to be sendmail(8) specific and not a generic script for all MTAs. It is only called by /etc/rc if the rc.conf(5) mta_start_script variable is set to /etc/rc.sendmail. The rc.sendmail script can take an optional argument specifying the action to perform. The available actions are: start Starts both the MTA and the MSP queue runner. stop Stops both the MTA and the MSP queue runner. restart Restarts both the MTA and the MSP queue runner. start-mta Starts just the MTA. stop-mta Stops just the MTA. restart-mta Restarts just the MTA. start-mspq Starts just the MSP queue runner. stop-mspq Stops just the MSP queue runner. restart-mspq Restarts just the MSP queue runner. If no action is specified, start is assumed. The rc.sendmail script is also used by /etc/mail/Makefile to enable the Makefile's start, stop, and restart targets. RC.CONF VARIABLES The following variables affect the behavior of rc.sendmail. They are defined in /etc/defaults/rc.conf and can be changed in /etc/rc.conf. sendmail_enable (str) If set to ``YES'', run the sendmail(8) daemon at system boot time. If set to ``NO'', do not run a sendmail(8) daemon to listen for incoming network mail. This does not preclude a sendmail(8) daemon listening on the SMTP port of the loopback interface. The ``NONE'' option is deprecated and should not be used. It will be removed in a future release. sendmail_cert_create (str) If sendmail_enable is set to ``YES'', create a signed certificate /etc/mail/certs/host.cert representing /etc/mail/certs/host.key by the CA certificate in /etc/mail/certs/cacert.pem. This will enable connecting hosts to negotiate START- TLS allowing incoming email to be encrypted in transit. sendmail(8) needs to be configured to use these generated files. The default configuration in /etc/mail/freebsd.mc has the required options in it. sendmail_cert_cn (str) If sendmail_enable is set to ``YES'' and sendmail_cert_create is set to ``YES'', this is the Common Name (CN) of the certifi- cate that will be created. If sendmail_cert_cn is not set, the system's hostname will be used. If there is no hostname set, ``amnesiac'' will be used. sendmail_flags (str) If sendmail_enable is set to ``YES'', these are the flags to pass to the sendmail(8) daemon. sendmail_submit_enable (bool) If set to ``YES'' and sendmail_enable is set to ``NO'', run sendmail(8) using sendmail_submit_flags instead of sendmail_flags. This is intended to allow local mail submission via a localhost-only listening SMTP service required for running sendmail(8) as a non-set-user-ID binary. Note that this does not work inside jail(2) systems, as jails do not allow binding to just the localhost interface. sendmail_submit_flags (str) If sendmail_enable is set to ``NO'' and sendmail_submit_enable is set to ``YES'', these are the flags to pass to the sendmail(8) daemon. sendmail_outbound_enable (bool) If set to ``YES'' and both sendmail_enable and sendmail_submit_enable are set to ``NO'', run sendmail(8) using sendmail_outbound_flags instead of sendmail_flags. This is intended to allow local mail queue management for systems that do not offer a listening SMTP service. sendmail_outbound_flags (str) If both sendmail_enable and sendmail_submit_enable are set to ``NO'' and sendmail_outbound_enable is set to ``YES'', these are the flags to pass to the sendmail(8) daemon. sendmail_msp_queue_enable (bool) If set to ``YES'', start a client (MSP) queue runner sendmail(8) daemon at system boot time. As of sendmail 8.12, a separate queue is used for command line submissions. The client queue runner ensures that nothing is left behind in the submission queue. sendmail_msp_queue_flags (str) If sendmail_msp_queue_enable is set to ``YES'', these are the flags to pass to the sendmail(8) daemon. These variables are used to determine how the sendmail(8) daemons are started: # MTA if (${sendmail_enable} == NONE) # Do nothing else if (${sendmail_enable} == YES) start sendmail with ${sendmail_flags} else if (${sendmail_submit_enable} == YES) start sendmail with ${sendmail_submit_flags} else if (${sendmail_outbound_enable} == YES) start sendmail with ${sendmail_outbound_flags} endif # MSP Queue Runner if (${sendmail_enable} != NONE && [ -r /etc/mail/submit.cf] && ${sendmail_msp_queue_enable} == YES) start sendmail with ${sendmail_msp_queue_flags} endif To completely prevent any sendmail(8) daemons from starting, you must set the following variables in /etc/rc.conf: sendmail_enable="NO" sendmail_submit_enable="NO" sendmail_outbound_enable="NO" sendmail_msp_queue_enable="NO" SEE ALSO
rc.conf(5), rc(8), sendmail(8) HISTORY
The rc.sendmail file appeared in FreeBSD 4.6. BSD
October 19, 2013 BSD