Hanno Böck writes:
On Mon, 07 Apr 2014 19:29:58 -0400 Sam Varshavchik <mr...@courier-mta.com> wrote:> courierlogger captures error messages from its managed process, and > sends them to syslog. The entire emstp server talks to syslog > directly, that's why it's different. This is not something that can > be changed trivially, since big chunks of code are also used when > sendmail gets invoked from the command line, where standard error is > already serving its traditional role, and logging should, truly, go > to syslog. I see. Then probably a different approach might be easier: Providing an option to change the name under that esmtpd gets logged into syslog. I think basically changing this line courieresmtpd.c: clog_open_syslog("courieresmtpd"); from a hardcoded string to something configurable would do, right?
That's simple enough; to take care of messages from that process. syslog messages might also come from other processes too.
pgpqiwXK0Z4v0.pgp
Description: PGP signature
------------------------------------------------------------------------------ Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users