> It seems I can't combine "uc" with "substr" - if the username is pass
> with the AUTH command and the SASL mechanism on the same line I need
> "substr" to get only the command and the SASL methode. e.g. "AUTH
> PLAIN AG50aQA=:"
It works yet again in this way
acl_check_auth:
accept condition = ${if eq {${uc:$
{substr_0_4:$smtp_command_argument}}}{MSN}{yes}{no}}
accept condition = ${if eq {${uc:$
{substr_0_5:$smtp_command_argument}}}{PLAIN}{yes}{no}}
accept condition = ${if eq {${uc:$
{substr_0_8:$smtp_command_argument}}}{CRAM-MD5}{yes}{no}}
accept condition = ${if eq {${uc:$
{substr_0_5:$smtp_command_argument}}}{LOGIN}{yes}{no}}
deny message = AUTH LOGIN or AUTH PLAIN OR AUTH CRAM-MD5 OR
AUTH MSN is REQUIRED
--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/