>> Hello,
>> 
>> currently it's not possible to specify a username containing a colon ?:? 
>> inside a ?smtp_sasl_password_map?, as the colon is used to split username 
>> and password from each other.
>> 
>> Is this limitation intentionally or was it just overlooked?
> 
> Just like the UNIX login name, the SASL login name can't contain
> ':'. With Cyrus SASL configurations, they can be the same thing.
> 
> As a matter of principle, avoid special characters in identifiers
> such as login names and email address localparts. Special characters
> may cause problems when an identifier is used as part of a filename,
> in an email address, in a command line, or in some other context.
> See also https://xkcd.com/327/
> 
>    Wietse

Fully understand your recommendations.

The SMTP service, where the postfix SMTP client is supposed to authenticate 
using SASL, awaits in the „authentication identity“ of the „PLAIN SASL 
mechanism message“ (RFC 4616) additional „IP-Address:Port“ information to 
address a system behind the SMTP-Service and further infos, all delimited from 
each other by „#“.

The RFC 4616 itself allows all ASCII characters and further UTF-8 encoded 
Unicode chars except NUL for all message parts. So in the end from postfix side 
only „:“ is impossible to use in the „authentication identity“, other „special“ 
characters are „allowed“.

Stefan

> _______________________________________________
> Postfix-users mailing list -- postfix-users@postfix.org
> To unsubscribe send an email to postfix-users-le...@postfix.org
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to