Re: Logging local port used for connection

2015-05-25 Thread Yannik Sembritzki
> No. Parameter expansion is recursive, and this yields an infinite loop. > The default value is never used when you override a parameter. > > You need to cut/paste the default value into the replacement. There > is no support for prepend or append. I see. Yannik

Re: Logging local port used for connection

2015-05-24 Thread Viktor Dukhovni
On Sun, May 24, 2015 at 09:22:44PM +0200, Yannik Sembritzki wrote: > The default of syslog_name is > ${multi_instance_name:postfix}${multi_instance_name?$multi_instance_name} > (atleast > on ubuntu). > > Is it possible to somehow use something like "-o > syslog_name=${syslog_name}-submission" to

Re: Logging local port used for connection

2015-05-24 Thread Yannik Sembritzki
Hi Noel, > If you have postfix listening on several ports and want to know > which port the client connected to, you can set a different syslog > name to differentiate them in the logs. For example, it's common to > set ' -o syslog_name=postfix/submission' on the port 587 submission > listener. I

Re: Logging local port used for connection

2015-05-09 Thread Noel Jones
On 5/9/2015 3:34 PM, Wietse Venema wrote: > Yannik Sembritzki: >> Hi everyone, >> >> is it possible at all to log the local port that is used for a >> connection? There is "smtpd_client_port_logging" but this seems to only >> log the remote port. > > It's not implemented, due to lack of demand. >

Re: Logging local port used for connection

2015-05-09 Thread Wietse Venema
Yannik Sembritzki: > Hi everyone, > > is it possible at all to log the local port that is used for a > connection? There is "smtpd_client_port_logging" but this seems to only > log the remote port. It's not implemented, due to lack of demand. Wietse

Logging local port used for connection

2015-05-09 Thread Yannik Sembritzki
Hi everyone, is it possible at all to log the local port that is used for a connection? There is "smtpd_client_port_logging" but this seems to only log the remote port. greetings Yannik