Displaying 2 results from an estimated 2 matches for "smtpauth_allowed".
2015 Sep 26
2
v2.2.19 release candidate released
...mode = 0660
user = dovecot
group = mail
}
user = $default_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...
2015 Sep 27
0
v2.2.19 release candidate released
...s were wrong - fixed now. Although I suppose auth could also have that..
> 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 tru...