Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

add email subject to maillog (sendmail log file)

user4485593Apr 21 2010 — edited Apr 22 2010
I need to add the email subject to sendmail (8.13.8+Sun). I understand I can do that in the sendmail.cf How can I do this for both the local.cf and sendmail.cf, and even the submit.cf so I can see the subject in all the maillog entries.

This is a solaris 10 server. I found 2 of the same suggestions that did not work.

I added this to my sendmail.mc file and rebuilt but the subject did not appear in the logs.

LOCAL_CONFIG
Klog syslog
HSubject: $>Log_Subject

LOCAL_RULESETS
SLog_Subject
R$* $: $(log Subject: $1 $) $1

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 20 2010
Added on Apr 21 2010
1 comment
490 views