Ubuntu Server 13.10 | Postfix 2.10.2 | Cyrus 2.4.16

Andrey ‪ andrew_dev at hotmail.com
Fri Mar 7 11:13:35 EST 2014

Hi everyone,

I am stack. I would like to use in my test environment virtual domains and emails.

I have 2 domains. The users from default domain i can via sasl and pam authenticate without problem. I use in my mail software credentials like user password.
Now I don’t want to use pam mechanism, but sasldb. See hereunder my configs:



#chroot Postfix
OPTIONS="-c -m /var/spool/postfix/var/run/saslauthd”

#only sasl/virtual related config info!
mydomain = domain.tld
myhostname = mail.domain.tld
mydestination = mail.domain.tld, domain.tld, localhost.domain.tld, localhost

mailbox_transport = lmtp:unix:/var/run/cyrus/socket/lmtp

# Virtual mailbox/domains with delivery to cyrus lmtp

virtual_transport = $mailbox_transport
virtual_mailbox_domains = domain.tld, domain2.tld
virtual_mailbox_maps = hash:/etc/postfix/vmailbox
virtual_alias_maps = hash:/etc/postfix/virtual

#user at domain.tld user at domain.tld 
andrey at domain.tld domain.tld/andrey
info at domain.tld domain.tld/info
#user at domain.tld user at domain.tld 
info at domain2.tld domain2.tld/info

#user at domain.tld user at domain.tld 
andrey at domain.tld andrey
info at domain.tld info
#user at domain.tld user at domain.tld 
info at domain2.tld info

#only sasl/virtual related config info!
allowplaintext: yes
sasl_mech_list: PLAIN
loginrealms: domain.tld,domain2.tld
virtdomains: userid
defaultdomain: domain.tld
sasl_pwcheck_method: saslauthd
sasl_auto_transition: no 

Then I did following steps:
saslpasswd2 -u domain.tld info
testsaslauthd -u info -r domain.tld -p Pa77w0rd
0: OK "Success."
testsaslauthd -u info at domain.tld -p Pa77w0rd
0: NO "authentication failed"

Mar  7 15:49:23 srv01 cyrus/imaps[3906]: badlogin: [] plaintext info SASL(-13): authentication failure: checkpass failed

Mar  7 15:49:23 srv01 saslauthd[3655]: do_auth         : auth failure: [user=info] [service=imap] [realm=] [mech=sasldb] [reason=Unknown]

In windows live mail I use following credentials: info at domain.tld Pa77w0rd. And I cannot login... 
I do not understand, why it does not work?

What I need to change?

Thank you.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20140307/dd8274ea/attachment.html 

More information about the Info-cyrus mailing list