%{listener} not working
Aki Tuomi
aki.tuomi at open-xchange.com
Thu May 19 09:20:45 UTC 2022
> On 19/05/2022 11:58 cesco <cesco at esiliati.org> wrote:
>
>
> >
> >
> > Hi!
> >
> > %{listener} is not available in authentication process, only in login process for logging purposes, as stated in documentation.
> >
> > You can use %{service} instead?
> >
> > Aki
>
> Hi
> sorry, for whatever reason I was thinking the query is executed in 'login' context, but clearly is in auth. my mistake.
>
> Unfortunately, %{service} has not enough granularity for my case. I'm trying to discriminate logins based on various listeners I created on different ports. I can use ports (that seems to work), but %listener was better as I can assign to them arbitrary names to match in database.
> Are there other ways to do that?
>
> many thanks
> Franz
Presently I think you'll have to do with %{service}%{real_lport}.
Aki
More information about the dovecot
mailing list