|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: How to distinguish server instances?
From: Noel Jones (njones
megan.vbhcs.org)
Date: Sat Sep 02 2006 - 10:33:07 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 10:19 AM 9/2/2006, Heinz Ulrich Stille wrote:
>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?
Right now the only solution is to use multiple postfix
instances, each with their own config and spool
directory. syslog_name and syslog_facility are global
parameters, I don't think this is likely to change.
You can still use symlinks with smtpd, just note that this
is not a documented feature and could stop working without
notice in future postfix versions.
--
Noel Jones
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]