Hi I was experiencing the unable to attach files to replies issue so decided to upgrade Sogo.
I initially ran a:
yum update --disablerepo=* --enablerepo=sogo
/etc/rc7.d/S85sogod restart
as per the wiki. Upon completing this I found that though everyone could log in only the admin user could access their emails. All other functions appear to work.
Admin can expand email but users cannot.
In the logs I see:
Aug 15 21:36:03 sogod [19259]: [ERROR] <0x0xba291f24[NGImap4ConnectionManager]> IMAP4 login failed:
host=localhost, user=xxxxxx, pwd=yes
url=imap://xxxxxx@localhost/
base=(null)
base-class=(null))
= <0x0xba174c64[NGImap4Client]: login=xxxxxx(pwd) socket=<NGActiveSocket[0x0xb9eb5d5c]: mode=rw address=<0x0xba218d34[NGInternetSocketAddress]: host=localhost port=35125> connectedTo=<0x0xba1f1eec[NGInternetSocketAddress]: host=localhost port=143>>>
Aug 15 21:36:03 sogod [19259]: <0xBA17B00C[SOGoMailAccount]:0> renewing imap4 password
Aug 15 21:36:03 sogod [19259]: [ERROR] <0x0xba291f24[NGImap4ConnectionManager]> IMAP4 login failed:
host=localhost, user=xxxxxx, pwd=yes
url=imap://xxxxxx@localhost/
base=(null)
base-class=(null))
= <0x0xba247aec[NGImap4Client]: login=xxxxxx(pwd) socket=<NGActiveSocket[0x0xba11678c]: mode=rw address=<0x0xba21b414[NGInternetSocketAddress]: host=localhost port=35126> connectedTo=<0x0xba2fb44c[NGInternetSocketAddress]: host=localhost port=143>>>
Aug 15 21:36:03 sogod [19259]: [ERROR] <0xBA17B00C[SOGoMailAccount]:0> Could not connect IMAP4
xxx.xxx.xxx.xxx - - [15/Aug/2014:21:36:03 GMT] "POST /SOGo/so/xxxxxx/Mail/0/mailboxes HTTP/1.1" 200 17/0 0.009 - - 0
xxx.xxx.xxx.xxx - - [15/Aug/2014:21:36:03 GMT] "POST /SOGo/so/xxxxxx/Mail/1/mailboxes HTTP/1.1" 200 343/0 0.219 - - 0
xxx.xxx.xxx.xxx - - [15/Aug/2014:21:36:04 GMT] "POST /SOGo/so/xxxxxx/Mail/1/folderINBOX/unseenCount HTTP/1.1" 200 13/0 0.259 - - 0
xxx.xxx.xxx.xxx - - [15/Aug/2014:21:36:36 GMT] "GET /SOGo/so/xxxxxx/preferences HTTP/1.1" 200 15823/0 0.370 76295 79% 1M
Aug 15 21:40:59 sogod [19258]: [ERROR] <0x0xb9f8ab24[WOWatchDog]> No child available to handle incoming request!
xxx.xxx.xxx.xxx - - [15/Aug/2014:21:40:59 GMT] "POST /SOGo/so/xxxxxx/Calendar/personal/canAccessContent HTTP/1.1" 204 0/0 0.017 - - 4K
Aug 15 21:41:00 sogod [19258]: [ERROR] <0x0xb9f8ab24[WOWatchDog]> No child available to handle incoming request!
xxx.xxx.xxx.xxx - - [15/Aug/2014:21:41:00 GMT] "POST /SOGo/so/xxxxxx/Calendar/alarmslist?browserTime=1408095654 HTTP/1.1" 200 2/0 0.028 - - 176K
Aug 15 21:41:00 sogod [19258]: [ERROR] <0x0xb9f8ab24[WOWatchDog]> No child available to handle incoming request!
xxx.xxx.xxx.xxx - - [15/Aug/2014:21:41:00 GMT] "POST /SOGo/so/xxxxxx/Calendar/taskslist?show-completed=0&asc=true&sort=end&filterpopup=view_today HTTP/1.1" 200 2/0 0.027 - - 32K
xxx.xxx.xxx.xxx - - [15/Aug/2014:21:41:00 GMT] "POST /SOGo/so/xxxxxx/Calendar/eventslist?asc=true&sort=start&day=&filterpopup=view_today HTTP/1.1" 200 2/0 0.051 - - 184K
xxx.xxx.xxx.xxx - - [15/Aug/2014:21:41:00 GMT] "POST /SOGo/so/xxxxxx/Calendar/activeTasks HTTP/1.1" 200 15/0 0.031 - - 48K
xxx.xxx.xxx.xxx - - [15/Aug/2014:21:41:00 GMT] "POST /SOGo/so/xxxxxx/Calendar/monthview HTTP/1.1" 200 1200/0 0.033 6481 81% 8K
xxx.xxx.xxx.xxx - - [15/Aug/2014:21:41:00 GMT] "POST /SOGo/so/xxxxxx/Calendar/eventsblocks?sd=20140728&ed=20140831&view=monthview HTTP/1.1" 200 394/0 0.023 1122 64% 56K
Aug 15 21:41:04 sogod [19259]: <0x0xba115ef4[LDAPSource]> <NSException: 0xba30fc34> NAME:LDAPException REASON:operation bind failed: Invalid credentials (0x31) INFO:{login = "cn=xxxxxx,ou=groups,dc=keane,dc=co,dc=nz"; }
xxx.xxx.xxx.xxx - - [15/Aug/2014:21:41:04 GMT] "GET /SOGo/so/xxxxxx/Mail HTTP/1.1" 302 0/0 0.015 - - 4K
Aug 15 21:41:04 sogod [19259]: [ERROR] <0x0xba291f24[NGImap4ConnectionManager]> IMAP4 login failed:
host=localhost, user=xxxxxx, pwd=yes
url=imap://xxxxxx@localhost/INBOX/
base=(null)
base-class=(null))
= <0x0xba31269c[NGImap4Client]: login=xxxxxx(pwd) socket=<NGActiveSocket[0x0xba23599c]: mode=rw address=<0x0xba2970d4[NGInternetSocketAddress]: host=localhost port=35155> connectedTo=<0x0xba2fad3c[NGInternetSocketAddress]: host=localhost port=143>>>
Aug 15 21:41:04 sogod [19259]: <0xBA2579FC[SOGoMailFolder]:folderINBOX> renewing imap4 password
Aug 15 21:41:04 sogod [19259]: [ERROR] <0x0xba291f24[NGImap4ConnectionManager]> IMAP4 login failed:
host=localhost, user=xxxxxx, pwd=yes
url=imap://xxxxxx@localhost/INBOX/
base=(null)
base-class=(null))
= <0x0xba3e1494[NGImap4Client]: login=xxxxxx(pwd) socket=<NGActiveSocket[0x0xba3325e4]: mode=rw address=<0x0xba28896c[NGInternetSocketAddress]: host=localhost port=35156> connectedTo=<0x0xba2fa194[NGInternetSocketAddress]: host=localhost port=143>>>
Aug 15 21:41:04 sogod [19259]: [ERROR] <0xBA2579FC[SOGoMailFolder]:folderINBOX> Could not connect IMAP4
xxx.xxx.xxx.xxx - - [15/Aug/2014:21:41:04 GMT] "GET /SOGo/so/xxxxxx/Mail/view HTTP/1.1" 200 8444/0 0.083 35552 76% 0
xxx.xxx.xxx.xxx - - [15/Aug/2014:21:41:04 GMT] "POST /SOGo/so/xxxxxx/Calendar/alarmslist?browserTime=1408095659 HTTP/1.1" 200 2/0 0.015 - - 0
2014-08-15 21:41:04.725 sogod[19261] WARNING: IMAP4 connection pooling is disabled!
Aug 15 21:41:04 sogod [19261]: [ERROR] <0x0xba13edec[NGImap4ConnectionManager]> IMAP4 login failed:
host=localhost, user=xxxxxx, pwd=yes
url=imap://xxxxxx@localhost/
base=(null)
base-class=(null))
= <0x0xba1409ec[NGImap4Client]: login=xxxxxx(pwd) socket=<NGActiveSocket[0x0xba142c14]: mode=rw address=<0x0xba143084[NGInternetSocketAddress]: host=localhost port=35160> connectedTo=<0x0xba141bdc[NGInternetSocketAddress]: host=localhost port=143>>>
2014-08-15 21:41:04.727 sogod[19261] Note(NGImap4Connection): using '.' as the IMAP4 folder separator.
Aug 15 21:41:04 sogod [19261]: <0xBA13C964[SOGoMailAccount]:0> renewing imap4 password
Aug 15 21:41:04 sogod [19261]: [ERROR] <0x0xba13edec[NGImap4ConnectionManager]> IMAP4 login failed:
host=localhost, user=xxxxxx, pwd=yes
url=imap://xxxxxx@localhost/
base=(null)
base-class=(null))
= <0x0xba14cdec[NGImap4Client]: login=xxxxxx(pwd) socket=<NGActiveSocket[0x0xba14d194]: mode=rw address=<0x0xba14d1d4[NGInternetSocketAddress]: host=localhost port=35161> connectedTo=<0x0xba14cebc[NGInternetSocketAddress]: host=localhost port=143>>>
Aug 15 21:41:04 sogod [19261]: [ERROR] <0xBA13C964[SOGoMailAccount]:0> Could not connect IMAP4
xxx.xxx.xxx.xxx - - [15/Aug/2014:21:41:04 GMT] "POST /SOGo/so/xxxxxx/Mail/0/mailboxes HTTP/1.1" 200 17/0 0.018 - - 252K
xxx.xxx.xxx.xxx - - [15/Aug/2014:21:41:04 GMT] "POST /SOGo/so/xxxxxx/Mail/1/mailboxes HTTP/1.1" 200 343/0 0.243 - - 24K
xxx.xxx.xxx.xxx - - [15/Aug/2014:21:41:05 GMT] "POST /SOGo/so/xxxxxx/Mail/1/folderINBOX/unseenCount HTTP/1.1" 200 13/0 0.263 - - 48K
After this I have also updated my yum repo's and update Sogo completely so I now have:
smeserver-sogo.noarch 1.1-2.el5.sme installed
smeserver-sogo-thunderbird.noarch 1.0.1-1.el5.nh installed
sogo.i386 2.2.7-1.el5 installed
sogo-tool.i386 2.2.7-1.el5 installed
I have also installed Dan's Dovecote contrib.
This is my sogo.config
/*
* ------------------------------------------------------------
* !!DO NOT MODIFY THIS FILE!!
*
* Manual changes will be lost when this file is regenerated.
*
* Please read the developer's guide, which is available
* at
http://www.contribs.org/development/ *
* Copyright (C) 1999-2006 Mitel Networks Corporation
* ------------------------------------------------------------
*/
{
NGUseUTF8AsURLEncoding = YES;
OCSFolderInfoURL = "mysql://sogo:XXXXXXXXXXXXXXXXXXXX@localhost/sogo/sogo_folder_info";
OCSSessionsFolderURL = "mysql://sogo:XXXXXXXXXXXXXXXXXXXX@localhost/sogo/sogo_sessions_folder";
SOGoACLsSendEMailNotifications = NO;
SOGoAppointmentSendEMailNotifications = YES;
SOGoAppointmentSendEMailReceipts = YES;
SOGoAuthenticationMethod = LDAP;
SOGoDraftsFolderName = Drafts;
SOGoEnablePublicAccess = YES;
SOGoFoldersSendEMailNotifications = NO;
SOGoIMAPServer = localhost;
SOGoMailDomain = xxxxxxx.xx.xx;
SOGoMailingMechanism = smtp;
SOGoProfileURL = "mysql://sogo:XXXXXXXXXXXXXXXXXXXX@localhost/sogo/sogo_user_profile";
SOGoSMTPServer = localhost;
SOGoSentFolderName = Sent;
SOGoSuperUsernames = (
admin
);
SOGoTimeZone = Pacific/Auckland;
SOGoTrashFolderName = Trash;
WOWorkersCount = 3;
SOGoMailAuxiliaryUserAccountsEnabled = YES;
SOGoMailCustomFromEnabled = YES;
SOGoSieveServer = sieve://localhost:4190;
SOGoSieveScriptsEnabled = YES;
SOGoVacationEnabled = YES;
SOGoForwardEnabled = YES;
NGImap4ConnectionStringSeparator = ".";
SOGoUserSources = (
{
CNFieldName = cn;
IDFieldName = uid;
UIDFieldName = uid;
baseDN = "ou=Users,dc=xxxxxxx,dc=xx,dc=xx";
canAuthenticate = YES;
displayName = "Users";
hostname = localhost;
id = users;
isAddressBook = YES;
port = ;
type = ldap;
},
{
CNFieldName = cn;
IDFieldName = cn;
UIDFieldName = cn;
baseDN = "ou=Groups,dc=xxxxxxx,dc=xx,dc=xx";
canAuthenticate = YES;
displayName = "Groups";
hostname = localhost;
id = groups;
isAddressBook = YES;
port = ;
type = ldap;
}
);
WOMessageUseUTF8 = YES;
WOParsersUseUTF8 = YES;
WOPort = 127.0.0.1:20000;
WOUseRelativeURLs = YES;
}
There are no issues with email other than in SoGo and syncing with my mobile devices etc is all working.
Does anyone know where I should look next to fix this issue?
Thanks
Tony