Hi Andre,
Still I am facing issue with IMAP authentication. I have searched
on google but did not find any solution. Can you please help me
to out to solve this issue.
*Sogo Configuration file..*
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//GNUstep//DTD plist 0.9//EN"
"http://www.gnustep.org/plist-0_9.xml">
<plist version="0.9">
<dict>
<key>NSGlobalDomain</key>
<dict>
</dict>
<key>sogod</key>
<dict>
<key>IMAPLoginFieldName</key>
<string>sAMAccountName</string>
<key>NGImap4DisableIMAP4Pooling</key>
<string>NO</string>
<key>OCSFolderInfoURL</key>
<string>postgresql://openchange:password@localhost:5432/openchange/sogo_folder_info</string>
<key>OCSSessionFolderURL</key>
<string>postgresql://openchange:password@localhost:5432/openchange/sogo_sessions_folder</string>
<key>OCSSessionsFolderURL</key>
<string>postgresql://openchange:password@localhost:5432/openchange/sogo_sessions_folder</string>
<key>SOGoAppointMentSendEMailNotifications</key>
<string>YES</string>
<key>SOGoAuthenticationMethod</key>
<string>LDAP</string>
<key>SOGoDraftsFolderName</key>
<string>Drafts</string>
<key>SOGoForceIMAPLoginWithEmail</key>
<string>NO</string>
<key>SOGoForwardEnabled</key>
<string>YES</string>
<key>SOGoIMAPServer</key>
<string>imap://example.org:143
<http://example.org:143></string>
<key>SOGoLanguage</key>
<string>English</string>
<key>SOGoMailAuxiliaryUserAccountsEnabled</key>
<string>YES</string>
<key>SOGoMailDomain</key>
<string>example.org <http://example.org></string>
<key>SOGoMailingMechanism</key>
<string>smtp</string>
<key>SOGoProfileURL</key>
<string>postgresql://openchange:password@localhost:5432/openchange/sogo_user_profile</string>
<key>SOGoSMTPServer</key>
<string>localhost</string>
<key>SOGoSentFolderName</key>
<string>Sent</string>
<key>SOGoTimeZone</key>
<string>America/Montreal</string>
<key>SOGoTrashFolderName</key>
<string>Trash</string>
<key>SOGoUserSources</key>
<array>
<dict>
<key>CNFieldName</key>
<string>cn</string>
<key>IDFieldName</key>
<string>uid</string>
<key>UIDFieldName</key>
<string>uid</string>
<key>baseDN</key>
<string>ou=users,dc=example,dc=org</string>
<key>bindDN</key>
<string>uid=sogo,ou=users,dc=example,dc=org</string>
<key>bindPassword</key>
<string>test</string>
<key>canAuthenticate</key>
<string>YES</string>
<key>displayName</key>
<string>Shared Addresses</string>
<key>hostname</key>
<string>127.0.0.1</string>
<key>id</key>
<string>public</string>
<key>isAddressBook</key>
<string>YES</string>
<key>port</key>
<string>3389</string>
</dict>
</array>
<key>SOGoVacationEnabled</key>
<string>YES</string>
<key>WOLogFile</key>
<string>-</string>
<key>WONoDetach</key>
<string>YES</string>
<key>WOPidFile</key>
<string>/tmp/sogo.pid</string>
<key>userPasswordAlgorithm</key>
<string>none</string>
</dict>
</dict>
</plist>
*IMAP Configuration..*
*
*
disable_plaintext_auth = no
auth_mechanisms = plain
unix_listener auth-master {
mode = 0600
user = vmail
group = vmail
}
service auth-worker {
# Auth worker process is run as root by default, so that it can
access
# /etc/shadow. If this isn't necessary, the user should be
changed to
# $default_internal_user.
# user = vmail
user = root
}
mail_location = maildir:/var/mail/%u
mail_privileged_group = mail
*auth-ldap.conf.ext file*
*
*
uris = ldap://localhost:3389
dn = cn=admin,dc=example,dc=org
tls = no
base = dc=mail,dc=example,dc=org
scope = subtree
user_attrs = homeDirectory=home,uidNumber=uid,gidNumber=gid
user_filter = (&(objectClass=posixAccount)(uid=%u))
pass_attrs = uid=user,userPassword=password
pass_filter = (&(objectClass=posixAccount)(uid=%u))
passdb {
driver = ldap
# Path for LDAP configuration file, see
example-config/dovecot-ldap.conf.ext
args = /etc/dovecot/dovecot-ldap.conf.ext
}
# "prefetch" user database means that the passdb already provided the
# needed information and there's no need to do a separate userdb
lookup.
# <doc/wiki/UserDatabase.Prefetch.txt>
#userdb {
# driver = prefetch
#}
userdb {
driver = ldap
args = /etc/dovecot/dovecot-ldap.conf.ext
*_IMAP error...._*
]> IMAP4 login failed:
host=example.org <http://example.org>, user=sogo, pwd=yes
url=imap://[email protected]/ <http://[email protected]/>
base=(null)
base-class=(null))
= <0x0x7f5d66717800[NGImap4Client]: login=sogo(pwd)
address=<0x0x7f5d667c9ce0[NGInternetSocketAddress]:
host=example.org <http://example.org> port=143>>
May 08 03:51:48 sogod [2972]: <0x6679AF30[SOGoMailAccount]:0>
renewing imap4 password
May 08 03:51:48 sogod [2972]: [ERROR]
<0x0x7f5d666d0b20[NGImap4ConnectionManager]> IMAP4 login failed:
host=example.org <http://example.org>, user=sogo, pwd=yes
url=imap://[email protected]/ <http://[email protected]/>
base=(null)
base-class=(null))
= <0x0x7f5d6697af10[NGImap4Client]: login=sogo(pwd)
address=<0x0x7f5d667adb30[NGInternetSocketAddress]:
host=example.org <http://example.org> port=143>>
*LOGS*
*/var/log/dovecot.msg*
ay 08 13:08:44 imap-login: Info: Disconnected (auth failed, 1
attempts in 12 secs): user=<sogo>, method=PLAIN, rip=127.0.0.1,
lip=127.0.0.1, secured, session=<8wZTBTDcOwB/AAAB>
May 08 13:08:44 imap-login: Info: Disconnected (auth failed, 1
attempts in 8 secs): user=<sogo>, method=PLAIN, rip=127.0.0.1,
lip=127.0.0.1, secured, session=<YxmMBTDcPAB/AAAB>
May 08 13:08:55 imap-login: Info: Disconnected (auth failed, 1
attempts in 3 secs): user=<sogo>, method=PLAIN, rip=127.0.0.1,
lip=127.0.0.1, secured, session=<+3R8BjDcQQB/AAAB>
May 08 13:08:55 imap-login: Info: Disconnected (auth failed, 1
attempts in 11 secs): user=<sogo>, method=PLAIN, rip=127.0.0.1,
lip=127.0.0.1, secured, session=<UC0GBjDcQAB/AAAB>
May 08 13:13:25 imap-login: Info: Disconnected (auth failed, 1
attempts in 11 secs): user=<sogo>, method=PLAIN, rip=127.0.0.1,
lip=127.0.0.1, secured, session=<I3YcFjDcTgB/AAAB>
May 08 13:13:25 imap-login: Info: Disconnected (auth failed, 1
attempts in 8 secs): user=<sogo>, method=PLAIN, rip=127.0.0.1,
lip=127.0.0.1, secured, session=<TA1MFjDcTwB/AAAB>
May 08 13:13:37 imap-login: Info: Disconnected (auth failed, 1
attempts in 12 secs): user=<sogo>, method=PLAIN, rip=127.0.0.1,
lip=127.0.0.1, secured, session=<z5XIFjDcUgB/AAAB>
May 08 13:21:17 log: Warning: Killed with signal 15 (by pid=1
uid=0 code=kill)
May 08 13:21:17 master: Warning: Killed with signal 15 (by pid=1
uid=0 code=kill)
May 08 13:21:17 master: Info: Dovecot v2.1.7 starting up (core
dumps disabled)
~
Any help will be appreciated.
Thanks In Advance..
On Fri, May 3, 2013 at 8:01 PM, André Schild <[email protected]
<mailto:[email protected]>> wrote:
Hello Kumar,
Am 03.05.2013 16:29, schrieb Deepak Kumar:
Hi Christian,
Thanks
Now I am able to login in sogo. But once i login to sogo,
its not displaying folders (Inbox,sent etc..). I looked
into logs and I found the ÍMAP4 login failed errors as
per below errors on the terminal.
Please help me out to solve this issue.
Logs:
> IMAP4 login failed:
host=localhost, user=sogo, pwd=yes
url=imap://sogo@localhost/
Is your IMAP server running on localhost and you can login as
user sogo with the same password as used by sogo ?
André
--
[email protected] <mailto:[email protected]>
https://inverse.ca/sogo/lists