On Mon, 07 Apr 2014 19:29:58 -0400 Sam Varshavchik <[email protected]> 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?
--
Hanno Böck
http://hboeck.de/
mail/jabber: [email protected]
GPG: BBB51E42
signature.asc
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 [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
