Displaying 2 results from an estimated 2 matches for "xmpp_allowed".
Did you mean:
imap_allowed
2015 Sep 26
2
v2.2.19 release candidate released
...ult_internal_user
}
Now I want to use %{listener} in my SQL password_query in a case
statement to auth according to which listener is being used. E.g.
CASE '%{listener} ' \
WHEN 'exim-client' THEN ma.SMTPAUTH_allowed = 'YES' \
WHEN 'xmpp-client' THEN ma.XMPP_allowed = 'YES' \
ELSE ma.IMAP_allowed = 'YES' \
END
Should the %{listener} variable work in this case ?
--
Greg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a d...
2015 Sep 27
0
v2.2.19 release candidate released
...Now I want to use %{listener} in my SQL password_query in a case
> statement to auth according to which listener is being used. E.g.
>
> CASE '%{listener} ' \
> WHEN 'exim-client' THEN ma.SMTPAUTH_allowed = 'YES' \
> WHEN 'xmpp-client' THEN ma.XMPP_allowed = 'YES' \
> ELSE ma.IMAP_allowed = 'YES' \
> END
Typically they would use a different service (smtp, xmpp, imap) and you'd use e.g.:
protocol smtp {
passdb {
...
}
}
This of course trusts that the auth client sends the correct service.