[Dovecot] Strip backslash from usernames
Hi,
Is there a way to strip a backslash if it exists at the start of username like \user@example.com within the Dovecot LDA? I am using Dovecot 2.1.9 with a LDAP backend, so I cannot do any sort of SQL trickery.
Dominic.
Dominic Malolepszy wrote:
Is there a way to strip a backslash if it exists at the start of username like \user@example.com within the Dovecot LDA? I am using Dovecot 2.1.9 with a LDAP backend, so I cannot do any sort of SQL trickery.
Address rewriting should be done in the MTA. I see no point why this should be done in the LDA?
Regards Daniel
On 13/09/12 10:38, Daniel Parthey wrote:
Dominic Malolepszy wrote:
Is there a way to strip a backslash if it exists at the start of username like \user@example.com within the Dovecot LDA? I am using Dovecot 2.1.9 with a LDAP backend, so I cannot do any sort of SQL trickery.
Address rewriting should be done in the MTA. I see no point why this should be done in the LDA?
Regards Daniel Agreed, I was just hoping I would not have to poke around the existing Sendmail setup we have here, in the end it turned out the backslashes were leftover legacy crud in some of the LDAP entries that actually did nothing.
participants (2)
-
Daniel Parthey
-
Dominic Malolepszy