Hi Terry, I have just simulated a situation where SOGo is running on a remote machine different than the one hosting IMAP. It worked as expected. What I suggest you do is to increase the logging level of your IMAP server and see what the SOGo server is sending and why it is failing. I use Dovecot and I could see details of the connection from the SOGo server, so I believe it should be simpler for you to diagnose the problem this way.
And looking at your config, is the space in these params intentional - <string>sieve://hma018.domain.com:4 190</string> <key>SOGoMailSignatu rePlacement</key> cheers! On 27 June 2013 00:12, Terry Welch <[email protected]> wrote: > Ok, Ive managed to work through the "This page cant be displayed" issue > and now I'm on to the next. I log into SOGo with user name and authenticate > fine but do not get my IMAP folders displayed. My SOGo server is stand > alone and IMAP/Postfix are on a different server. Using Thunderbird I can > authenticate and use email just fine no issues but SOGo gives me a Could > Not Connect IMAP4 error. > > Here is my .GNUstepDefaults config > > > <?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>OCSEMailAlarmsFolderURL</key> > <string>postgresql:// > sogo:[email protected]:5432/sogo/sogo_alarms_folder</string> > <key>OCSFolderInfoURL</key> > <string>postgresql:// > sogo:[email protected]:5432/sogo/sogo_folder_info</string> > <key>OCSSessionsFolderURL</key> > <string>postgresql:// > sogo:[email protected]:5432/sogo/sogo_sessions_folder</string> > <key>SOGoACLsSendEMailNotifications</key> > <string>YES</string> > <key>SOGoAppointmentSendEMailNotificati ons</key> > <string>YES</string> > <key>SOGoDraftsFolderName</key> > <string>Drafts</string> > <key>SOGoEnableEMailAlarms</key> > <string>YES</string> > <key>SOGoFoldersSendEMailNotifications</key> > <string>YES</string> > <key>SOGoIMAPServer</key> > <string>mail1.domain.com</string> > <key>SOGoSieveServer</key> > <string>sieve://hma018.domain.com:4 190</string> > > > <key>SOGoLanguage</key> > <string>English</string> > <key>SOGoMailAuxiliaryUserAccountsEnabled</key> > <string>YES</string> > <key>SOGoMailComposeMessageType</key> > <string>html</string> > <key>SOGoMailDomain</key> > <string>domain.com</string> > <key>SOGoMailReplyPlacement</key> > <string>above</string> > <key>SOGoMailSignatu rePlacement</key> > <string>below</string> > <key>SOGoMailUseOutlookStyleReplies</key> > <string>YES</string> > <key>SOGoMailingMechanism</key> > <string>smtp</string> > <key>SOGoPageTitle</key> > <string>SOGo Mail at domain, LLC.</string> > <key>SOGoVacationEnabled</key> > <string>YES</string> > <key>SOGoForwardEnabled</key> > <string>YES</string> > &n bsp; <key>SOGoSieveScriptsEnabled</key> > <string>YES</string> > > <key>SOGoProfileURL</key> > <string>postgresql:// > sogo:[email protected]:5432/sogo/sogo_user_profile</string> > <key>SOGoSMTPServer</key> > <string>hma016.domain.com</string> > <key>SOGoSentFoldersName</key> > <string>Sent</string> > <key>SOGoTimeZone</key> > <string>America/Phoenix</string> > <key>SOGoTrashFolderN ame</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=people,dc=domain,dc=com</string> > <key>bindDN</key> > <string>cn=Manager,dc=domain,dc=com</string> > <key>bindPassword</key> > <string>password</string> > & nbsp; <key>canAuthenticate</key> > <string>YES</string> > <key>displayName</key> > <string>HMA - ALL PEOPLE</string> > <key>hostname</key> > <string>ds1.domain.com</string> > <key>id</key> > <stri ng>public</string> > <key>isAddressBook</key> > <string>YES</string> > <key>port</key> > <string>389</string> > </dict> > </array> > <key>SOGoWOWorkersCount</key> > <string>8</string> > <key>SxVMemLimit</key> > <string>1024</string>< br /> <key>mailHost</key> > <string>hma016.domain.com</string> > </dict> > </dict> > </plist> > > Here is my sogo.log output: > > 192.1.1.237 - - [26/Jun/2013:07:12:46 GMT] "GET > /SOGo/so/terry.welch/Mail/null/expunge HTTP/1.1" 404 208/0 0.004 - - 0 > Jun 26 07:12:46 sogod [15593]: [ERROR] > <0x0x7f3785b25ef8[NGImap4ConnectionManager]> IMAP4 login failed: > host=hma016.domain.com, user=terry.welch, pwd=yes > url=imap://[email protected]/INBOX/ > base=(null) > base-class=(null)) > = <0x0x7f3785cc5948[NGImap4Client]: login=terry.welch(pwd) > address=<0x0x7f3785c41cb8[NGInternetSocketAddress]: > host=hma016.domain.comport=143>> > Jun 26 07:12:46 sogod [15593]: <0x85C31BA8[SOGoMailFolder]:folderINBOX> > renewing imap4 password > Jun 26 07:12:46 sogod [15593]: [ERROR] > <0x0x7f3785b25ef8[NGImap4ConnectionManager]> IMAP4 login failed: > host=hma016.domain.com, user=terry.welch, pwd=yes > url=imap://[email protected]/INBOX/ > base=(null) > base-class=(null)) > = <0x0x7f3785bd9d88[NGImap4Client]: login=terry.welch(pwd) > address=<0x0x7f3785b57818[NGInternetSocketAddress]: > host=hma016.domain.comport=143>> > Jun 26 07:12:46 sogod [15593]: [ERROR] > <0x85C31BA8[SOGoMailFolder]:folderINBOX> Could not connect IMAP4 > 192.1.1.237 - - [26/Jun/2013:07:12:46 GMT] "GET > /SOGo/so/terry.welch/Mail/view HTTP/1.1" 200 7885/0 0.034 31421 74% 0 > 192.1.1.237 - - [26/Jun/2013:07:12:47 GMT] "POST > /SOGo/so/terry.welch/Calendar/alarmslist?browserTime=1372281195 HTTP/1.1" > 200 2/0 0.006 - - 0 > Jun 26 07:12:47 sogod [15593]: [ERROR] > <0x0x7f3785b25ef8[NGImap4ConnectionManager]> IMAP4 login faile d: > host=hma016.domain.com, user=terry.welch, pwd=yes > url=imap://[email protected]/ > base=(null) > base-class=(null)) > = <0x0x7f3785c592d8[NGImap4Client]: login=terry.welch(pwd) > address=<0x0x7f3785bb8a58[NGInternetSocketAddress]: > host=hma016.domain.comport=143>> > Jun 26 07:12:47 sogod [15593]: <0x85BDE038[SOGoMailAccount]:0> renewing > imap4 password > Jun 26 07:12:47 sogod [15593]: [ERROR] > <0x0x7f3785b25ef8[NGImap4ConnectionManager]> IMAP4 login failed: > host=hma016.domain.com, user=terry.welch, pwd=yes > url=imap://[email protected]/ > base=(null) > base-class=(null)) > = <0x0x7f3785ccccd8[NGImap4Client]: login=terry.welch(pwd) > address=<0x0x7f3785b89968[NGInternetSocketAddress]: > host=hma016.domain.comport=143>> > Jun 26 07:12:47 sogod [15593]: [ERROR] <0x85BDE038[SOGoMailAccount]:0> > Could not c onnect IMAP4 > 192.1.1.237 - - [26/Jun/2013:07:12:47 GMT] "POST > /SOGo/so/terry.welch/Mail/0/mailboxes HTTP/1.1" 200 17/0 0.005 - - 0 > 192.1.1.237 - - [26/Jun/2013:07:12:47 GMT] "POST > /SOGo/so/terry.welch/Mail/foldersState HTTP/1.1" 200 6/0 0.003 - - 0 > > Any advise or clues on the would be greatly appreciated! > > > > -- > > > *Terry Welch* > > > -------- Original Message -------- > Subject: Re: [SOGo] This page cant be displayed > Date: Wednesday, June 26, 2013 09:53 AM MST > From: Odhiambo Washington <[email protected]> > To: [email protected] > References: <[email protected]> > <9e9-51cb1500-24f-2db56200@119463519> > > > > > Hi Terry, > > It means your Apache configuration is missing certain aliases - please add > these, and ensure the paths are correct. I use FreeBSD so the paths shown > below are different than in Linux! > > > Alias /SOGo.woa/WebServerResources/ > /usr/local/GNUstep/Local/Library/SOGo/WebServerResources/ > Alias /SOGo/WebServerResources/ > /usr/local/GNUstep/Local/Library/SOGo/WebServerResources/ > AliasMatch /SOGo/so/ControlPanel/Products/(.*)/Resources/(.*) > /usr/local/GNUstep/Local/Library/SOGo/$1.SOGo/Resources/$2 > > <Directory /usr/local/GNUstep/Local/Library/SOGo/> > AllowOverride None > Order deny,allow > Allow from all > > <IfModule expires_module> > ExpiresActive On > ExpiresDefault "access plus 1 year" > </IfModule> > > </Directory>** > > <LocationMatch > "^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*\.(jpg|png|gif|css|js)"> > SetHandler default-handler > </LocationMatch> > > > > On 26 June 2013 19:21, Terry Welch <[email protected]> wrote: > >> If I type the url in like this user authenticates into SOGo other then >> IMAP dovecot is having an issue but I will fix that later. >> >> http://mail1.domain.com/SOGo/so/user/Mail/view >> >> If I simply type the url in like this: >> >> http://mail1.domain.com/SOGo >> >> the I get the message "This page cant be displayed" >> >> Any ideas of where to fix this so that the bottom option url works? >> -- >> >> >> *Terry L. Welch* >> OF CONFIDENTIALITY: This message and any attachments contain >> confidential information belonging to the sender intended on ly for the use >> of the individual or entity named above. If you are not the intended >> recipient, be advised that copying, disclosure or reliance upon the >> contents is strictly prohibited. If you have received this message in error >> please notify the sender immediately and destroy this message. >> -------- Original Message -------- >> Subject: Re: [SOGo] This page cant be displayed >> Date: Tuesday, June 25, 2013 07:02 PM MST >> From: Ludovic Marcotte <[email protected]> >> Repl y-To: [email protected] >> Organization: Inverse inc. >> To: [email protected] >> References: <50ea-51ca1300-27d-76ba6f00@7167953> >> >> >> >> >> On 2013-06-25 6:01 PM, Terry Welch wrote: >> > >> > My maillo g says the same. I believe this to be a postgresql issue but >> > do not know enough postgres to figure this out on my own I've done >> > alot of googleing but have had no luck. >> It's a LDAP issue - "Jun 25 08:00:33 sogod [14879]: >> <0x0x7fc1044d0b98[LDAPSource]> >> NAME:LDAPException REASON:operation bind failed: Invalid credentials >> (0x31) INFO:{login = "uid=user,ou=others,dc=domain,dc=com"; }" >> >> Check your bindDn. >> >> -- >> Ludovic Marcotte >> [email protected] <[email protected]> :: +1.514.755.3630 :: >> http://inverse.ca >> Inverse inc. :: Leaders behind SOGo (http://sogo.nu) and PacketFence ( >> http://packetfence.org) >> >> -- >> [email protected] >> https://inverse.ca/sogo/lists >> >> >> >> > > > -- > Best regards, > Odhiambo WASHINGTON, > Nairobi,KE > +254733744121/+254722743223 > "I can't hear you -- I'm using the scrambler." > > > -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 "I can't hear you -- I'm using the scrambler." -- [email protected] https://inverse.ca/sogo/lists
