OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: % in SMTP-AUTH usernames

From: Patrick Ben Koetter (pstate-of-mind.de)
Date: Thu Dec 02 2004 - 03:09:03 CST


* Stanislav Grozev <tachoorbitel.bg>:
> Hello,
>
> I am not sure, whether this is an issue with Postfix, but I have the
> following problem:
>
> I have a virtual domains/mailboxes setup (via virtual_mailbox_domains,
> virtual_mailbox_maps and virtual_alias_maps). Everything is working
> fine. I authenticate off of a LDAP directory via saslauthd. Usernames
> are in the form usernamedomain.tld. Everything is fine, saslauthd
> splits this into username and domain.tld and uses the correct LDAP
> filter. The problem is, some mail clients have to use
> username%domain.tld. Does anyone know a way to make saslauthd also
> split on %, or can Postfix convert it before handing off to saslauthd?

Not that I know. IIRC using % as delimiter is non-standard - in other
words broken, but I didn't look this up in the SASL RFC.

prick

--
SMTP AUTH howto:
<http://postfix.state-of-mind.de/patrick.koetter/smtpauth/>
SMTP AUTH debug utility:
<http://postfix.state-of-mind.de/patrick.koetter/saslfinger/>