VDS Sphera Knowledge Base
| Main / Browse Categories / Email & Sendmail / How do I change the log level for Sendmail? |
How do I change the log level for Sendmail?
|
You can change the log level setting in the /etc/mail/sendmail.cf file. Before editing this file, be sure to back it up. For example, you can backup the file by running this command from SSH. cp /etc/mail/sendmail.cf /etc/mail/sendmail.cf.backup By default, the log level for Sendmail is set to 0. (Logging is disabled.) # log level O LogLevel=0The most common log level setting is 9. # log level O LogLevel=9You can see the various log levels in this article to determine what information you want captured. Once you edit the settings, you can view the maillog file to troubleshoot email problems. Here is how you would view the maillog live on the server, using a SSH connection. tail -f /var/log/maillog
User Comments
|
||||||||
Attachments
| No attachments. |
Related Articles


