Re: [exim] Opposing RFCs ? - Case In/Sensitive AUTH SASL Met…

Pàgina inicial
Delete this message
Reply to this message
Autor: Nicola Tiling
Data:  
A: exim-users
Assumpte: Re: [exim] Opposing RFCs ? - Case In/Sensitive AUTH SASL Methode
> 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