Topic: problem logging in to roundcube
==== Required information ====
- iRedMail version: 0.8.6
- Store mail accounts in which backend (LDAP):
- Linux/BSD distribution name and version: centos 6.3
- Related log if you're reporting an issue:
Feb 23 05:14:10 auth: Debug: auth client connected (pid=32147)
Feb 23 05:14:10 auth: Debug: client in: AUTH 1 PLAIN service=imap secured lip=127.0.0.1 rip=127.0.0.1 lport=143 rport=36159 resp=aW5xdWlyaWVzQHRvdXJzYXVzdHJhbGlhLm5ldC5hdQBpbnF1aXJpZXNAdG91cnNhdXN0cmFsaWEubmV0LmF1AGlucXVpclRpM3M=
Feb 23 05:14:10 auth: Debug: ldap(inquiries@xxxxx.net.au,127.0.0.1): bind search: base=o=domains,dc=smartmailhq,dc=com filter=(&(objectClass=mailUser)(accountStatus=active)(enabledService=mail)(enabledService=imapsecured)(|(mail=inquiries@xxxxx.net.au)(&(enabledService=shadowaddress)(shadowAddress=inquiries@xxxxx.net.au))))
Feb 23 05:14:10 auth: Debug: ldap(inquiries@xxxxx.net.au,127.0.0.1): result: mail(user)=inquiries@xxxxx.net.au
Feb 23 05:14:10 auth: Debug: client out: OK 1 user=inquiries@xxxxx.net.au
Feb 23 05:14:10 auth: Debug: master in: REQUEST 308019201 32147 1 153c46b67079ba667b878e8cf428e689
Feb 23 05:14:10 auth: Debug: ldap(inquiries@xxxxx.net.au,127.0.0.1): user search: base=o=domains,dc=zzzzz,dc=com scope=subtree filter=(&(objectClass=mailUser)(accountStatus=active)(enabledService=mail)(enabledService=imapsecured)(|(mail=inquiries@xxxxx.net.au)(&(enabledService=shadowaddress)(shadowAddress=inquiries@xxxxx.net.au)))) fields=mail,homeDirectory,mailQuota
Feb 23 05:14:10 auth: Debug: ldap(inquiries@xxxxx.net.au,127.0.0.1): result: mail(user)=inquiries@xxxxx.net.au homeDirectory(home)=/var/vmail/vmail1/xxxxx.net.au/i/n/q/inquiries-2014.01.21.14.57.43/ mailQuota(quota_rule=*:bytes=%$)=209715200
Feb 23 05:14:10 auth: Debug: master out: USER 308019201 inquiries@xxxxx.net.au home=/var/vmail/vmail1/xxxxx.net.au/i/n/q/inquiries-2014.01.21.14.57.43/ quota_rule=*:bytes=209715200 mail=maildir:~/Maildir/
Feb 23 05:14:10 imap-login: Info: Login: user=<inquiries@xxxxx.net.au>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=32148, secured
Feb 23 05:14:10 imap: Debug: Loading modules from directory: /usr/lib64/dovecot
Feb 23 05:14:10 imap: Debug: Module loaded: /usr/lib64/dovecot/lib10_quota_plugin.so
Feb 23 05:14:10 imap: Debug: Module loaded: /usr/lib64/dovecot/lib11_imap_quota_plugin.so
Feb 23 05:14:10 imap: Debug: Module loaded: /usr/lib64/dovecot/lib20_autocreate_plugin.so
Feb 23 05:14:10 imap: Debug: Added userdb setting: plugin/quota_rule=*:bytes=209715200
Feb 23 05:14:10 imap: Debug: Added userdb setting: mail=maildir:~/Maildir/
Feb 23 05:14:10 imap(inquiries@xxxxx.net.au): Debug: Effective uid=500, gid=500, home=/var/vmail/vmail1/xxxxx.net.au/i/n/q/inquiries-2014.01.21.14.57.43/
Feb 23 05:14:10 imap(inquiries@xxxxx.net.au): Debug: Quota root: name=user backend=dict args=:proxy::quotadict
Feb 23 05:14:10 imap(inquiries@xxxxx.net.au): Debug: Quota rule: root=user mailbox=* bytes=209715200 messages=0
Feb 23 05:14:10 imap(inquiries@xxxxx.net.au): Debug: Quota warning: bytes=178257920 (85%) messages=0 reverse=no command=quota-warning 85 inquiries@xxxxx.net.au
Feb 23 05:14:10 imap(inquiries@xxxxx.net.au): Debug: Quota warning: bytes=188743680 (90%) messages=0 reverse=no command=quota-warning 90 inquiries@xxxxx.net.au
Feb 23 05:14:10 imap(inquiries@xxxxx.net.au): Debug: Quota warning: bytes=199229440 (95%) messages=0 reverse=no command=quota-warning 95 inquiries@xxxxx.net.au
Feb 23 05:14:10 imap(inquiries@xxxxx.net.au): Debug: dict quota: user=inquiries@xxxxx.net.au, uri=proxy::quotadict, noenforcing=0
Feb 23 05:14:10 imap(inquiries@xxxxx.net.au): Debug: Namespace : type=private, prefix=, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:~/Maildir/
Feb 23 05:14:10 imap(inquiries@xxxxx.net.au): Debug: maildir++: root=/var/vmail/vmail1/toursaustralia.net.au/i/n/q/inquiries-2014.01.21.14.57.43//Maildir, index=, control=, inbox=/var/vmail/vmail1/xxxxx.net.au/i/n/q/inquiries-2014.01.21.14.57.43//Maildir, alt=
Feb 23 05:14:10 imap(inquiries@xxxxx.net.au): Debug: Namespace : type=shared, prefix=Shared/%u/, sep=/, inbox=no, hidden=no, list=children, subscriptions=yes location=maildir:/%Lh/Maildir/:INDEX=/%Lh/Maildir/Shared/%u
Feb 23 05:14:10 imap(inquiries@xxxxx.net.au): Debug: shared: root=/var/run/dovecot, index=, control=, inbox=, alt=
Feb 23 05:14:10 imap(inquiries@xxxxx.net.au): Debug: Namespace : Using permissions from /var/vmail/vmail1/xxxxx.net.au/i/n/q/inquiries-2014.01.21.14.57.43//Maildir: mode=0700 gid=-1
Feb 23 05:14:10 imap(inquiries@xxxxx.net.au): Info: Disconnected: Logged out bytes=29/419
====
i have been using iredmail for about 18months and found it very good. i manage the setup for multiple domains and it works very well including using roundcube as a webmail solution.
the only problem is that when an account is first set up, the user cannot log inot the roundcube webmail account
at first i though that the problem was, when setting up an account, a record in the "user" table is not inserted into the roundcube email database, because as soon as i enter the user manually into the database, it works perfectly.
however with further investigation this does not seem to be the case
this seems to be something else to prevent users from logging in to roundcube.
i recently updated to the latest iredmail version hoping it may point out where i may have done something wrong, but nothing surfaced.
above is the dovecot log which has not provided any clues to where i need to start looking.
everything else about the account is working perfectly
has anyone had this problem or could offer possible clues as to what else i need to look at.
cheers
rs
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.