[exim] SMTP AUTH with passwords starting with <

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Frank Richter
Date:  
À: exim-users
Sujet: [exim] SMTP AUTH with passwords starting with <
Hello,

we’ve got SMTP AUTH errors with this config:

begin authenticators
plain:
    driver = plaintext
    public_name = PLAIN
    server_prompts = :
    server_condition = "${if pam{$auth2:${sg{$auth3}{:}{::}}}{yes}{no}}"
    server_set_id = $auth2

The password started with <# – and authentication failed.
We debugged this and came to:
https://www.exim.org/exim-html-current/doc/html/spec_html/ch-the_exim_runtime_configuration_file.html#SECTlistsepchange

"If a list begins with a left angle bracket, followed by any punctuation
character, that character is used instead of colon as the list separator. …"

Oh well … now how to avoid this? Is this a workaround:

server_condition = "${if pam{$auth2:<:${sg{$auth3}{:}{::}}}{yes}{no}}"

Or how to disable the list separator in this expansion?

Regards,
Frank

--
Frank Richter
Computing Services, Chemnitz University of Technolgy, Germany


--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/