OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
How to distinguish server instances?

From: Heinz Ulrich Stille (husdesign-d.de)
Date: Sat Sep 02 2006 - 10:19:51 CDT


Hi!

I've got a somewhat complicated filter setup which uses several instances
of smtpd and lmtp chained together. I'd like to distinguish them in the
syslog. With postfix 2.2 I had symlinks like "lmtp-amavis -> lmtp" with
a master.cf enty "lmtp-amavis unix - - n - 5 lmtp-amavis" to get log entries
like "postfix/lmtp-amavis".

With postfix 2.3 this gets me errors "fatal: unexpected process name
"lmtp-amavis" - specify "smtp" or "lmtp"". So I tried the "syslog_name"
parameter, e.g. adding "-o syslog_name=postfix-lmtp-amavis" to the lmtp
entry above. This has no effect, same for smtpd.
Am I doing something wrong? How can I get distinctive names?

MfG, Ulrich

--
Heinz Ulrich Stille / Tel.: +49-541-9400473 / Fax: +49-541-9400450
design_d gmbh / Wilhelmstr. 16 / 49076 Osnabrück / www.design-d.de