My sasldb database includes a single user with a realm set to my top-level 
domain (i.e. not the FQDN of the host).

I created the user like this:

# saslpasswd2 -c [email protected]

and tried to test authentication like this:

# testsaslauthd -u [email protected] -p xxxxxx
0: NO "authentication failed"

and then this:

root@www:~# testsaslauthd -r pdjr.eu -u testuser -p xxxxxx
0: OK "Success."

Of course, I now want to authenticate a user from SMTP connections where 
Postfix presents the user as '[email protected]' and from within imapd, which I 
imagine is doing the same thing.

I am unsure now how to proceed. On the imapd side I can find no options for the 
sasldb plugin that force realm decoding in the same way that the sql plugin 
can. Same for Postfix sasl authentication via saslauthd.

Any guidance would be much appreciated.

root@www:~# saslauthd -v      
saslauthd 2.1.27
authentication mechanisms: sasldb getpwent kerberos5 pam rimap shadow ldap


Paul



------------------------------------------
Cyrus: Info
Permalink: 
https://cyrus.topicbox.com/groups/info/T22296d01cb008ed2-Mb3dab4e0c06985c0dc7ffe56
Delivery options: https://cyrus.topicbox.com/groups/info/subscription

Reply via email to