On the remote IMAP server I have SOGo/Postfix/Dovecot working fine and all are authenticating to LDAP.

This is the /var/log/maillog output from the remote IMAP (Dovecot) server.

Jun 27 10:00:07 hma016 dovecot: imap-login: Login: user=<terry.welch>, method=PLAIN, rip=192.1.1.46, lip=192.1.1.46, mpid=15188, secured
Jun 27 10:00:07 hma016 dovecot: imap(terry.welch): Debug: Effective uid=505, gid=505, home=/home/terry.welch
Jun 27 10:00:07 hma016 dovecot: imap(terry.welch): Debug: Namespace inbox: type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:~/Maildir
Jun 27 10:00:07 hma016 dovecot: imap(terry.welch): Debug: maildir++: root=/home/terry.welch/Maildir, index=, control=, inbox=/home/terry.welch/Maildir, alt=
Jun 27 10:00:07 hma016 dovecot: imap-login: Login: user=<terry.welch>, method=PLAIN, rip=192.1.1.46, lip=192.1.1.46, mpid=15189, secured
Jun 27 10:00:07 hma016 dov ecot: imap(terry.welch): Debug: Effective uid=505, gid=505, home=/home/terry.welch
Jun 27 10:00:07 hma016 dovecot: imap(terry.welch): Debug: Namespace inbox: type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:~/Maildir
Jun 27 10:00:07 hma016 dovecot: imap(terry.welch): Debug: maildir++: root=/home/terry.welch/Maildir, index=, control=, inbox=/home/terry.welch/Maildir, alt=
Jun 27 10:00:07 hma016 dovecot: imap-login: Login: user=<terry.welch>, method=PLAIN, rip=192.1.1.46, lip=192.1.1.46, mpid=15190, secured
Jun 27 10:00:07 hma016 dovecot: imap(terry.welch): Debug: Effective uid=505, gid=505, home=/home/terry.welch
Jun 27 10:00:07 hma016 dovecot: imap(terry.welch): Debug: Namespace inbox: type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:~/Maildir
Jun 27 10:00:07 hma016 dovecot: imap(terry.welch): Debug: maildir++: root=/home/terry.welch/Maildir, inde x=, control=, inbox=/home/terry.welch/Maildir, alt=
Jun 27 10:00:07 hma016 dovecot: imap-login: Login: user=<terry.welch>, method=PLAIN, rip=192.1.1.46, lip=192.1.1.46, mpid=15191, secured
Jun 27 10:00:07 hma016 dovecot: imap(terry.welch): Debug: Effective uid=505, gid=505, home=/home/terry.welch
Jun 27 10:00:07 hma016 dovecot: imap(terry.welch): Debug: Namespace inbox: type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:~/Maildir
Jun 27 10:00:07 hma016 dovecot: imap(terry.welch): Debug: maildir++: root=/home/terry.welch/Maildir, index=, control=, inbox=/home/terry.welch/Maildir, alt=
Jun 27 10:00:08 hma016 dovecot: imap(terry.welch): Disconnected: Logged out in=112 out=1389
Jun 27 10:00:08 hma016 dovecot: imap(terry.welch): Disconnected: Logged out in=103 out=1948
Jun 27 10:00:08 hma016 dovecot: imap(terry.welch): Disconnected: Logged out in=104 out=1293
Jun 27 10:00:08 hma016 dovecot: imap(terry.welch): Disconnected: Logged out in=103 out=1146



Here is the output from my SOGo server that I'm trying to connect to the remote IMAP server:

Jun 27 03:16:10 sogod [1105]: [ERROR] <0x0x7f2e9b674198[NGImap4ConnectionManager]> IMAP4 login failed:
  host=hma016.hmatpa.com, user=terry.welch, pwd=yes
  url="" />  base=(null)
  base-class=(null))
  = <0x0x7f2e9b6f0578[NGImap4Client]: login=terry.welch(pwd) address=<0x0x7f2e9b72ad08[NGInternetSocketAddress]: host=hma016.hmatpa.com port=143>>
Jun 27 03:16:10 sogod [1105]: <0x9B968EB8[SOGoMailFolder]:folderINBOX> renewing imap4 password
Jun 27 03:16:10 sogod [1105]: [ERROR] <0x0x7f2e9b674198[NGImap4ConnectionManager]> IMAP4 login failed:
  host=hma016.hmatpa.com, user=terry.welch, pwd=yes
  url="" br />  base=(null)
  base-class=(null))
  = <0x0x7f2e9b83ee58[NGImap4Client]: login=terry.welch(pwd) address=<0x0x7f2e9b892028[NGInternetSocketAddress]: host=hma016.hmatpa.com port=143>>
Jun 27 03:16:10 sogod [1105]: [ERROR] <0x9B968EB8[SOGoMailFolder]:folderINBOX> Could not connect IMAP4
192.1.1.237 - - [27/Jun/2013:03:16:10 GMT] "GET /SOGo/so/terry.welch/Mail/view HTTP/1.1" 200 7885/0 0.052 31421 74% 4K
Jun 27 03:16:11 sogod [1104]: [ERROR] <0x0x7f2e9b8af078[NGImap4ConnectionManager]> IMAP4 login failed:
  host=hma016.hmatpa.com, user=terry.welch, pwd=yes
  url="" />  base=(null)
  base-class=(null))
  = <0x0x7f2e9b77ff88[NGImap4Client]: login=terry.welch(pwd) address=<0x0x7f2e9b704008[NGInternetSocketAddress]: host=hma016.hmatpa.com port=143>>
Jun 27 03:16:11 sogod [1104]: <0x9B764308[SOGoMailAccou nt]:0> renewing imap4 password
Jun 27 03:16:11 sogod [1104]: [ERROR] <0x0x7f2e9b8af078[NGImap4ConnectionManager]> IMAP4 login failed:
  host=hma016.hmatpa.com, user=terry.welch, pwd=yes
  url="" />  base=(null)
  base-class=(null))
  = <0x0x7f2e9b8af248[NGImap4Client]: login=terry.welch(pwd) address=<0x0x7f2e9b778e38[NGInternetSocketAddress]: host=hma016.hmatpa.com port=143>>
Jun 27 03:16:11 sogod [1104]: [ERROR] <0x9B764308[SOGoMailAccount]:0> Could not connect IMAP4
192.1.1.237 - - [27/Jun/2013:03:16:11 GMT] "POST /SOGo/so/terry.welch/Mail/0/mailboxes HTTP/1.1" 200 17/0 0.008 - - 0
192.1.1.237 - - [27/Jun/2013:03:16:11 GMT] "POST /SOGo/so/terry.welch/Calendar/alarmslist?browserTime=1372353400 HTTP/1.1" 200 2/0 0.052 - - 0
192.1.1.237 - - [27/Jun/2013:03:16:11 GMT] "POST /SOGo/so/terry.welch/Mail/foldersState HTTP/1. 1" 200 6/0 0.003 - - 0

I cant get much out of it but maybe you guys that have more knowledge on the subject can. Thanks
 


--


Terry L. Welch
terry.welch@hmatpa.com

HMA, LLC.
1600 W. Broadway Rd, Suite 300
Tempe, -AZ  85282
ph:  480-800-7470
480-214-4645

NOTICE OF CONFIDENTIALITY: This message and any attachments contain confidential information belonging to the sender intended only 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 Mess age --------
Subject: Re: [SOGo] This page cant be displayed
Date: Thursday, June 27, 2013 06:18 AM MST
From: Odhiambo Washington <odhia...@gmail.com>
Reply-To: users@sogo.nu
To: users@sogo.nu
References: <50ea-51cb5900-325-76ba6f00@7168119>



 
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 <terry.we...@hmatpa.com> 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& nbsp;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>
 &nbsp ;  <dict>
        <key>OCSEMailAlarmsFolderURL</key>
        <string>postgresql://sogo:sogo@127.0.0.1:5432/sogo/sogo_alarms_folder</string>
        <key>OCSFolderInfoURL</key>
        <string>postgresql://sogo:sogo@127.0.0.1:5432/sogo/sogo_folder_info</string>
        <key>OCSSessionsFolderURL</key>
        <string>postgresql://sogo:sogo@127.0.0.1:5432/sogo/sogo_sessions_folder</string>
        <key>SOGoACLsSendEMailNotifications</key>
        <string>YES</string>
        <key>SOGoAppoin tmentSendEMailNotificati 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>SOGoMai lReplyPlacement</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:s...@hma018.domain.com: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>
        &nbs p;       <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>
  &nbs p;             <string>ds1.domain.com</string>
                <key>id</key>
                <stri ng>public</string>
                <key>isAddressBook</key>
                <string>YES</string>
                <key>port</key>
                <string>389</string>
       & nbsp;    </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]> IMA P4 login failed:
  host=hma016.domain.com, user=terry.welch, pwd=yes
  url="" href="http://terry.we...@hma016.domain.com/INBOX/" target="_blank">terry.we...@hma016.domain.com/INBOX/
  base=(null)
  base-class=(null))
  = <0x0x7f3785cc5948[NGImap4Client]: login=terry.welch(pwd) address=<0x0x7f3785c41cb8[NGInternetSocketAddress]: host=hma016.domain.com port=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="" href="http://terry.we...@hma016.domain.com/INBOX/" target="_blank">terry.welc h...@hma016.domain.com/INBOX/
  base=(null)
  base-class=(null))
  = <0x0x7f3785bd9d88[NGImap4Client]: login=terry.welch(pwd) address=<0x0x7f3785b57818[NGInternetSocketAddress]: host=hma016.domain.com port=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="" href="http://t erry.we...@hma016.domain.com/" target="_blank">terry.we...@hma016.domain.com/
  base=(null)
  base-class=(null))
  = <0x0x7f3785c592d8[NGImap4Client]: login=terry.welch(pwd) address=<0x0x7f3785bb8a58[NGInternetSocketAddress]: host=hma016.domain.com port=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="" href="http://terry.we...@hma016.domain.com/" target="_blank">terry.we...@hma016.domain.com/
  base=(null)
  base-class=(null))
  = <0x0x7f3785ccccd8[NGImap4Client]: login=terry.welch(pwd) address=<0x0x7f3785b89968[NGInternetSocketAd dress]: host=hma016.domain.com port=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 <odhia...@gmail.com>
To: terry.we...@hmatpa.com< br />References: <51ca4b9a.7040...@inverse.ca> <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 <terry.we...@hmatpa.com> 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, d isclosure 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 <lmarco...@inverse.ca>
Repl y-To: users@sogo.nu
Organization: Inverse inc.
To: users@sogo.nu
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 do ne
> 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
lmarco...@inverse.ca :: +1.514.755.3630 :: http://inverse.ca
Inverse inc. :: Leaders behind SOGo (http://sogo.nu) and PacketFence (http://packetfence.org)

--
users@sogo.nu
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."

 

Reply via email to