Announcement

Collapse
No announcement yet.

User Management and Mail-Storage on external server

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • User Management and Mail-Storage on external server

    Hi everyone - I hope I don't post a duplicate but I don't found anything in the forum or on google.

    I have a server on the net which is receiving all my mails for my domain (hoefer.or.at).
    I'm using postfix (SMTPs) and dovecut (IMAPs) for mail-handling.
    Postfix also does mail-sorting - so I have all my mails in the correct folders.

    What I want is to read my emails throug openXchange without downloading all mails from my hoefer.or.at-Server to the openXchange Server - so I don't have the double storage amount for my mails.

    I was'nt able to find out how to add a user to openXchange which will receive the mails.

    Is this generally possible to configure?

    Thanks

    Björn

  • #2
    Hi Björn,

    it's quite simple - just create a new user with the --imapserver and --smtpserver option via the command line tool "createuser" at /opt/open-xchange/sbin. or use "changeuser" to modify a existing user. To override local imap/smtp configuration you may want to use the --dbonly switch which leads to user creation at the database and does not trigger any local service configuration.
    The OX Server will then talk to the specified imap/smtp server to get a users E-Mail and send them via that server.
    At /opt/open-xchange/etc/groupware/imap.properties you're able to set the attribute "imapCredSrc". This may either be the username given at the OX login page when set to "session" or the login provided with the --imaplogin option when set to "user.imapLogin", also at the create/changeuser command line tool. To authenticate at the IMAP Server, the password entered at the OX user login is used.
    The imap.properties file is also quite important to tweak the ox<->dovecot communication.

    Hope that Helps
    Last edited by Martin Heiland; 05-22-2008, 11:09 PM.

    Comment


    • #3
      Hi,

      I tried to create a user with the commands found at the page:


      I have the same errors like in the first post - so I tried to work it out - like your reply for the post... (enable imap (without "s") on my external server, tried to create a user without port 993, edited the imap.properties) but anything helped...

      If I login as oxadmin at the /admin - Page and click on the user I created I get the following error Message:
      Error code: Error occured in: com.openexchange.admin.rmi.extensions.OXUserMailfi lterExtension! Errortext: java.net.ConnectException: Connection refused (SVL-0001,-1919634326-18)

      The command I entered at my OX-Server:
      createuser --dbonly -A oxadmin -P verysecret -u bjoern -d "Bjoern Andreas Hoefer" -g "Bjoern Andreas" -s "Hoefer" -p "verysecret" -e "bjoern@hoefer.or.at" -l de_DE -t Europe/Vienna --imapserver 87.230.7.238 --smtpserver 87.230.7.238 -c 1

      My imap.properties:
      imapLoginType=user
      imapMasterPassword=secret
      imapServer=87.230.7.238
      smtpServer=87.230.7.238
      smtpLocalhost=null
      imaps=false
      imapsPort=993
      smtps=false
      smtpsPort=465
      mail.mime.charset=UTF-8
      mapSort=imap
      imapSearch=imap
      imapMessageFetchLimit=5000
      imapAttachmentDisplaySizeLimit=8192
      imapQuoteLineColors=#a14044,#917722,#599351,#51619 3,#666666
      imapCredSrc=session
      imapFastFetch=true
      imapSupportsACL=auto
      smtpAuthentication=true
      imapTimeout=5000
      imapConnectionTimeout=10000
      imapMaxNumOfConnections=0
      imapAuthEnc=UTF-8
      userFlagsEnabled=true
      partModifierImpl=com.openexchange.imap.DummyPartMo difier
      maxIMAPConnectionIdleTime=60000
      allowNestedDefaultFolderOnAltNamespace=false
      ignoreSubscription=false
      setSMTPEnvelopeFrom=false
      spamEnabled=true
      watcherEnabled=true
      watcherFrequency=10000
      watcherTime=60000
      watcherShallClose=false

      I also monitored the important two servers which could prevent traffic of my OX-Server.
      Firewall (tail -f /var/log/syslog): No relevant events
      IMAP/SMTP-Server (tcpdump not port 22): No relevant events

      It seems that my OX-Server does'nt want to connect to my IMAP-Server...

      After making changes or adding a user I always restart the service or restart the server (jep - I'm also managing some Windows-Servers... even if the OX-Server is a Debian...) - But no impact...

      What did I do wrong???

      Strange OX-Server... very strange...

      Comment


      • #4
        Originally posted by nestroy View Post
        Hi,

        I tried to create a user with the commands found at the page:


        I have the same errors like in the first post - so I tried to work it out - like your reply for the post... (enable imap (without "s") on my external server, tried to create a user without port 993, edited the imap.properties) but anything helped...

        If I login as oxadmin at the /admin - Page and click on the user I created I get the following error Message:
        Error code: Error occured in: com.openexchange.admin.rmi.extensions.OXUserMailfi lterExtension! Errortext: java.net.ConnectException: Connection refused (SVL-0001,-1919634326-18)

        The command I entered at my OX-Server:
        createuser --dbonly -A oxadmin -P verysecret -u bjoern -d "Bjoern Andreas Hoefer" -g "Bjoern Andreas" -s "Hoefer" -p "verysecret" -e "bjoern@hoefer.or.at" -l de_DE -t Europe/Vienna --imapserver 87.230.7.238 --smtpserver 87.230.7.238 -c 1

        My imap.properties:
        imapLoginType=user
        imapMasterPassword=secret
        imapServer=87.230.7.238
        smtpServer=87.230.7.238
        smtpLocalhost=null
        imaps=false
        imapsPort=993
        smtps=false
        smtpsPort=465
        mail.mime.charset=UTF-8
        mapSort=imap
        imapSearch=imap
        imapMessageFetchLimit=5000
        imapAttachmentDisplaySizeLimit=8192
        imapQuoteLineColors=#a14044,#917722,#599351,#51619 3,#666666
        imapCredSrc=session
        imapFastFetch=true
        imapSupportsACL=auto
        smtpAuthentication=true
        imapTimeout=5000
        imapConnectionTimeout=10000
        imapMaxNumOfConnections=0
        imapAuthEnc=UTF-8
        userFlagsEnabled=true
        partModifierImpl=com.openexchange.imap.DummyPartMo difier
        maxIMAPConnectionIdleTime=60000
        allowNestedDefaultFolderOnAltNamespace=false
        ignoreSubscription=false
        setSMTPEnvelopeFrom=false
        spamEnabled=true
        watcherEnabled=true
        watcherFrequency=10000
        watcherTime=60000
        watcherShallClose=false

        I also monitored the important two servers which could prevent traffic of my OX-Server.
        Firewall (tail -f /var/log/syslog): No relevant events
        IMAP/SMTP-Server (tcpdump not port 22): No relevant events

        It seems that my OX-Server does'nt want to connect to my IMAP-Server...

        After making changes or adding a user I always restart the service or restart the server (jep - I'm also managing some Windows-Servers... even if the OX-Server is a Debian...) - But no impact...

        What did I do wrong???

        Strange OX-Server... very strange...
        This error

        Code:
        Error code: Error occured in: com.openexchange.admin.rmi.extensions.OXUserMailfilterExtension! Errortext: java.net.ConnectException: Connection refused
        Indicates, that the mailfilter plugin cannot reach the SIEVE server.
        When using the console-ee sources and the other OX EE derived stuff, it is required to have a sieve server running on the same machine as the imap server.

        When any other imap server should be used, that does not support sieve, the open-xchange-admin-plugin-hosting admin plugin must be used and nothing else from open-xchange-admin-plugin-* and also not open-xchange-console-ee.

        Comment


        • #5
          Ok, enabled SIEVE for my LDAP-Server (dovecot)

          now I can login (SUCCESS!!)

          But if I click on the mail button I get the following error Message:
          26.05.2008 23:02-->Fehlermeldung: Interner Fehler: No login methods supported! (MSG-0020,-1919634326-35)

          Traffic is now running between the imap server and the ox-server.

          Protocol of the sniff:
          21:07:59.331206 IP alpha.hoefer.or.at.ntp > mais.von-oppen.com.ntp: NTPv4, Client, length 48
          21:07:59.345853 IP alpha.hoefer.or.at.39909 > master.cns.hosteurope.de.domain: 28025+ PTR? 29.188.169.81.in-addr.arpa. (44)
          21:07:59.349125 IP mais.von-oppen.com.ntp > alpha.hoefer.or.at.ntp: NTPv4, Server, length 48
          21:07:59.365736 IP master.cns.hosteurope.de.domain > alpha.hoefer.or.at.39909: 28025 1/0/0 (76)
          21:07:59.366633 IP alpha.hoefer.or.at.39909 > master.cns.hosteurope.de.domain: 39165+ PTR? 144.128.237.80.in-addr.arpa. (45)
          21:07:59.367881 IP master.cns.hosteurope.de.domain > alpha.hoefer.or.at.39909: 39165 1/0/0 (83)
          21:08:10.288878 IP 59.36.101.9.x11 > alpha.hoefer.or.at.loc-srv: S 1585905664:1585905664(0) win 16384
          21:08:10.288921 IP alpha.hoefer.or.at.loc-srv > 59.36.101.9.x11: R 0:0(0) ack 1585905665 win 0
          21:08:10.289256 IP alpha.hoefer.or.at.39911 > master.cns.hosteurope.de.domain: 40248+ PTR? 9.101.36.59.in-addr.arpa. (42)
          21:08:10.700516 IP master.cns.hosteurope.de.domain > alpha.hoefer.or.at.39911: 40248 NXDomain* 0/0/0 (42)
          21:08:13.796010 IP alpha.hoefer.or.at.39911 > master.cns.hosteurope.de.domain: 45152+ AAAA? security.debian.org. (37)
          21:08:13.797266 IP master.cns.hosteurope.de.domain > alpha.hoefer.or.at.39911: 45152 0/0/0 (37)
          21:08:13.797394 IP alpha.hoefer.or.at.39911 > master.cns.hosteurope.de.domain: 18572+ AAAA? security.debian.org.hoefer.or.at. (50)
          21:08:13.830323 IP master.cns.hosteurope.de.domain > alpha.hoefer.or.at.39911: 18572 NXDomain* 0/0/0 (50)
          21:08:13.830449 IP alpha.hoefer.or.at.39911 > master.cns.hosteurope.de.domain: 57377+ A? security.debian.org. (37)
          21:08:13.831608 IP master.cns.hosteurope.de.domain > alpha.hoefer.or.at.39911: 57377 4/0/0 A[|domain]
          21:08:16.800922 IP 85.127.138.13.37829 > alpha.hoefer.or.at.imap2: S 648811365:648811365(0) win 5840 <mss 1452,sackOK,timestamp 22350189 0,nop,wscale 6>
          21:08:16.800977 IP alpha.hoefer.or.at.imap2 > 85.127.138.13.37829: S 2120435397:2120435397(0) ack 648811366 win 5792 <mss 1460,sackOK,timestamp 388994469 22350189,nop,wscale 2>
          21:08:16.801368 IP alpha.hoefer.or.at.39911 > master.cns.hosteurope.de.domain: 34961+ PTR? 13.138.127.85.in-addr.arpa. (44)
          21:08:16.848462 IP 85.127.138.13.37830 > alpha.hoefer.or.at.imap2: S 646362643:646362643(0) win 5840 <mss 1452,sackOK,timestamp 22350203 0,nop,wscale 6>
          21:08:16.848506 IP alpha.hoefer.or.at.imap2 > 85.127.138.13.37830: S 2116141086:2116141086(0) ack 646362644 win 5792 <mss 1460,sackOK,timestamp 388994517 22350203,nop,wscale 2>
          21:08:16.850500 IP 85.127.138.13.37829 > alpha.hoefer.or.at.imap2: . ack 1 win 92 <nop,nop,timestamp 22350203 388994469>
          21:08:16.850650 IP alpha.hoefer.or.at.imap2 > 85.127.138.13.37829: P 1:22(21) ack 1 win 1448 <nop,nop,timestamp 388994519 22350203>
          21:08:16.898528 IP 85.127.138.13.37830 > alpha.hoefer.or.at.imap2: . ack 1 win 92 <nop,nop,timestamp 22350210 388994517>
          21:08:16.898658 IP alpha.hoefer.or.at.imap2 > 85.127.138.13.37830: P 1:22(21) ack 1 win 1448 <nop,nop,timestamp 388994567 22350210>
          21:08:16.899787 IP 85.127.138.13.37829 > alpha.hoefer.or.at.imap2: . ack 22 win 92 <nop,nop,timestamp 22350211 388994519>
          21:08:16.902111 IP master.cns.hosteurope.de.domain > alpha.hoefer.or.at.39911: 34961 NXDomain* 0/0/0 (44)
          21:08:16.902433 IP 85.127.138.13.37829 > alpha.hoefer.or.at.imap2: P 1:16(15) ack 22 win 92 <nop,nop,timestamp 22350211 388994519>
          21:08:16.902449 IP alpha.hoefer.or.at.imap2 > 85.127.138.13.37829: . ack 16 win 1448 <nop,nop,timestamp 388994571 22350211>
          21:08:16.902794 IP alpha.hoefer.or.at.imap2 > 85.127.138.13.37829: P 22:199(177) ack 16 win 1448 <nop,nop,timestamp 388994571 22350211>
          21:08:16.948568 IP 85.127.138.13.37830 > alpha.hoefer.or.at.imap2: . ack 22 win 92 <nop,nop,timestamp 22350218 388994567>
          21:08:16.951569 IP 85.127.138.13.37830 > alpha.hoefer.or.at.imap2: P 1:16(15) ack 22 win 92 <nop,nop,timestamp 22350218 388994567>
          21:08:16.951585 IP alpha.hoefer.or.at.imap2 > 85.127.138.13.37830: . ack 16 win 1448 <nop,nop,timestamp 388994620 22350218>
          21:08:16.951795 IP alpha.hoefer.or.at.imap2 > 85.127.138.13.37830: P 22:199(177) ack 16 win 1448 <nop,nop,timestamp 388994620 22350218>
          21:08:16.956953 IP 85.127.138.13.37831 > alpha.hoefer.or.at.imap2: S 658474980:658474980(0) win 5840 <mss 1452,sackOK,timestamp 22350221 0,nop,wscale 6>
          21:08:16.956987 IP alpha.hoefer.or.at.imap2 > 85.127.138.13.37831: S 2121474958:2121474958(0) ack 658474981 win 5792 <mss 1460,sackOK,timestamp 388994625 22350221,nop,wscale 2>
          21:08:17.005527 IP 85.127.138.13.37831 > alpha.hoefer.or.at.imap2: . ack 1 win 92 <nop,nop,timestamp 22350230 388994625>
          21:08:17.005719 IP alpha.hoefer.or.at.imap2 > 85.127.138.13.37831: P 1:22(21) ack 1 win 1448 <nop,nop,timestamp 388994674 22350230>
          21:08:17.033486 IP 85.127.138.13.37829 > alpha.hoefer.or.at.imap2: . ack 199 win 108 <nop,nop,timestamp 22350233 388994571>
          21:08:17.054476 IP 85.127.138.13.37831 > alpha.hoefer.or.at.imap2: . ack 22 win 92 <nop,nop,timestamp 22350236 388994674>
          21:08:17.057775 IP 85.127.138.13.37831 > alpha.hoefer.or.at.imap2: P 1:16(15) ack 22 win 92 <nop,nop,timestamp 22350236 388994674>
          21:08:17.057797 IP alpha.hoefer.or.at.imap2 > 85.127.138.13.37831: . ack 16 win 1448 <nop,nop,timestamp 388994726 22350236>
          21:08:17.057947 IP alpha.hoefer.or.at.imap2 > 85.127.138.13.37831: P 22:199(177) ack 16 win 1448 <nop,nop,timestamp 388994726 22350236>
          21:08:17.064546 IP 85.127.138.13.37830 > alpha.hoefer.or.at.imap2: . ack 199 win 108 <nop,nop,timestamp 22350238 388994620>
          21:08:17.110464 IP 85.127.138.13.37832 > alpha.hoefer.or.at.imap2: S 660295573:660295573(0) win 5840 <mss 1452,sackOK,timestamp 22350247 0,nop,wscale 6>
          21:08:17.110510 IP alpha.hoefer.or.at.imap2 > 85.127.138.13.37832: S 2130509179:2130509179(0) ack 660295574 win 5792 <mss 1460,sackOK,timestamp 388994779 22350247,nop,wscale 2>
          21:08:17.158613 IP 85.127.138.13.37832 > alpha.hoefer.or.at.imap2: . ack 1 win 92 <nop,nop,timestamp 22350254 388994779>
          21:08:17.171909 IP alpha.hoefer.or.at.imap2 > 85.127.138.13.37832: P 1:22(21) ack 1 win 1448 <nop,nop,timestamp 388994840 22350254>
          21:08:17.173710 IP 85.127.138.13.37831 > alpha.hoefer.or.at.imap2: . ack 199 win 108 <nop,nop,timestamp 22350256 388994726>
          21:08:17.224642 IP 85.127.138.13.37832 > alpha.hoefer.or.at.imap2: . ack 22 win 92 <nop,nop,timestamp 22350262 388994840>
          21:08:17.226467 IP 85.127.138.13.37832 > alpha.hoefer.or.at.imap2: P 1:16(15) ack 22 win 92 <nop,nop,timestamp 22350262 388994840>
          21:08:17.226495 IP alpha.hoefer.or.at.imap2 > 85.127.138.13.37832: . ack 16 win 1448 <nop,nop,timestamp 388994895 22350262>
          21:08:17.227258 IP alpha.hoefer.or.at.imap2 > 85.127.138.13.37832: P 22:199(177) ack 16 win 1448 <nop,nop,timestamp 388994895 22350262>
          21:08:17.284515 IP 85.127.138.13.37833 > alpha.hoefer.or.at.imap2: S 645249968:645249968(0) win 5840 <mss 1452,sackOK,timestamp 22350273 0,nop,wscale 6>
          21:08:17.284567 IP alpha.hoefer.or.at.imap2 > 85.127.138.13.37833: S 2125138535:2125138535(0) ack 645249969 win 5792 <mss 1460,sackOK,timestamp 388994953 22350273,nop,wscale 2>
          21:08:17.334035 IP 85.127.138.13.37833 > alpha.hoefer.or.at.imap2: . ack 1 win 92 <nop,nop,timestamp 22350281 388994953>
          21:08:17.334264 IP alpha.hoefer.or.at.imap2 > 85.127.138.13.37833: P 1:22(21) ack 1 win 1448 <nop,nop,timestamp 388995002 22350281>
          21:08:17.335555 IP 85.127.138.13.37832 > alpha.hoefer.or.at.imap2: . ack 199 win 108 <nop,nop,timestamp 22350281 388994895>
          21:08:17.382351 IP 85.127.138.13.37833 > alpha.hoefer.or.at.imap2: . ack 22 win 92 <nop,nop,timestamp 22350287 388995002>
          21:08:17.385683 IP 85.127.138.13.37833 > alpha.hoefer.or.at.imap2: P 1:16(15) ack 22 win 92 <nop,nop,timestamp 22350288 388995002>
          21:08:17.385711 IP alpha.hoefer.or.at.imap2 > 85.127.138.13.37833: . ack 16 win 1448 <nop,nop,timestamp 388995054 22350288>
          21:08:17.385909 IP alpha.hoefer.or.at.imap2 > 85.127.138.13.37833: P 22:199(177) ack 16 win 1448 <nop,nop,timestamp 388995054 22350288>
          21:08:17.440728 IP 85.127.138.13.37834 > alpha.hoefer.or.at.imap2: S 654291641:654291641(0) win 5840 <mss 1452,sackOK,timestamp 22350296 0,nop,wscale 6>
          21:08:17.440781 IP alpha.hoefer.or.at.imap2 > 85.127.138.13.37834: S 2116423357:2116423357(0) ack 654291642 win 5792 <mss 1460,sackOK,timestamp 388995109 22350296,nop,wscale 2>
          21:08:17.489590 IP 85.127.138.13.37834 > alpha.hoefer.or.at.imap2: . ack 1 win 92 <nop,nop,timestamp 22350303 388995109>
          21:08:17.489976 IP alpha.hoefer.or.at.imap2 > 85.127.138.13.37834: P 1:22(21) ack 1 win 1448 <nop,nop,timestamp 388995158 22350303>
          21:08:17.499475 IP 85.127.138.13.37833 > alpha.hoefer.or.at.imap2: . ack 199 win 108 <nop,nop,timestamp 22350305 388995054>
          21:08:17.540556 IP 85.127.138.13.37834 > alpha.hoefer.or.at.imap2: . ack 22 win 92 <nop,nop,timestamp 22350310 388995158>
          21:08:17.543611 IP 85.127.138.13.37834 > alpha.hoefer.or.at.imap2: P 1:16(15) ack 22 win 92 <nop,nop,timestamp 22350311 388995158>
          21:08:17.543658 IP alpha.hoefer.or.at.imap2 > 85.127.138.13.37834: . ack 16 win 1448 <nop,nop,timestamp 388995212 22350311>
          21:08:17.543959 IP alpha.hoefer.or.at.imap2 > 85.127.138.13.37834: P 22:199(177) ack 16 win 1448 <nop,nop,timestamp 388995212 22350311>
          21:08:17.613513 IP 85.127.138.13.37834 > alpha.hoefer.or.at.imap2: . ack 199 win 108 <nop,nop,timestamp 22350328 388995212>
          21:08:17.920412 IP 85.127.138.13.37835 > alpha.hoefer.or.at.imap2: S 651191286:651191286(0) win 5840 <mss 1452,sackOK,timestamp 22350417 0,nop,wscale 6>

          Strange thing...

          Thanks for the help so far...

          Bjoern

          Comment


          • #6
            I have a new error...

            If I login to the /admin Page on my server and click on the user (bjoern) I get the following errors displayed:

            05-27-2008 09:23 PM-->Error code: Error occured in: com.openexchange.admin.rmi.extensions.OXUserMailfi lterExtension! Errortext: java.net.ConnectException: Connection refused (SVL-0001,-1788064602-17)
            05-27-2008 09:23 PM-->Error code: Error occured in: com.openexchange.admin.rmi.extensions.OXUserMailfi lterExtension! Errortext: java.net.ConnectException: Connection refused (SVL-0001,-1788064602-18)

            I also tcpdump'ed during the click on my user - and ther were a bit traffic to see...
            21:26:53.094256 IP 85.127.138.13.52314 > alpha.hoefer.or.at.sieve: S 3896614308:3896614308(0) win 5840 <mss 1452,sackOK,timestamp 294 0,nop,wscale 6>
            21:26:53.094295 IP alpha.hoefer.or.at.sieve > 85.127.138.13.52314: R 0:0(0) ack 3896614309 win 0
            21:27:04.471136 IP alpha.hoefer.or.at.imaps > 85.127.138.13.62189: P 53:106(53) ack 1 win 7668 <nop,nop,timestamp 476522488 500763729>


            Maybe this helps...

            Comment


            • #7
              Solved!!!

              I entered in the imap.properties

              imaps=enabled
              and
              smtps=enabled

              and it works...

              but I don't see any created subfolders...

              Any suggestions?

              Comment


              • #8
                Hi,

                could it be that those subfolders are not subscribed? If this is the case, they should show up at the configuration foldertree at Folders->User->E-Mail->New Folder - normally those folders are getting subscribed automatically when creating them, if not it would be interesting to know what IMAP server you're using and what commands/errors are getting processed when creating new folders.

                Greetings

                Comment


                • #9
                  Succes - Part 1

                  Hi,

                  success - I just have to click to the settings and then return to the mail structure and I can see all subfolders.


                  I did also a change in the folder-structure of my imap server:
                  I changed the folder Name from .Inbox.subfoldername to .subfoldername - i now have some good performance and usability speedups.

                  Now, I can do a lot (and have to test a lot too... (ical-Synchronisation, funambol-plugin, LDAP-Server, ...)

                  But 1 Thing I can't...

                  Send mail...

                  30.05.2008 22:10-->Fehlermeldung: Verbindung abgelehnt oder Zeitüberschreitung beim Versuch, eine Verbindung zum entfernten Server 87.230.7.238 für Benutzer bjoern herzustellen. (MSG-0001,1722808562-153)

                  hmmmm... (Copyright Marge Simpson)


                  Björn

                  Comment


                  • #10
                    Got Logs?
                    Got ngrep?

                    Comment


                    • #11
                      logs on the imap-server are not so interessting... *g*

                      dovecot: 2008-05-31 14:17:49 Info: imap-login: Login: user=<bjoern>, method=PLAIN, rip=85.127.138.13, lip=87.230.7.238, TLS
                      dovecot: 2008-05-31 14:17:49 Info: IMAP(bjoern): Effective uid=1000, gid=1000
                      dovecot: 2008-05-31 14:17:49 Info: IMAP(bjoern): maildir: data=/home/bjoern/mails
                      dovecot: 2008-05-31 14:17:49 Info: IMAP(bjoern): maildir: root=/home/bjoern/mails, index=/home/bjoern/mails, control=, inbox=
                      dovecot: 2008-05-31 14:18:04 Info: IMAP(bjoern): Disconnected: Logged out

                      no logs on my ox-server...
                      but I also don't have an idea - where to look except on /var/log/open-xchange/open-xchange.log.0

                      Cheers Bjoern

                      Comment


                      • #12
                        Hi,

                        i don't mean the logs of the IMAP Server, but the Logs of the SMTP Service (postfix/sendmail...) They should show some error why the connection ox -> smtp timed out.

                        Greetings

                        Comment


                        • #13
                          Ok, my fault...

                          sorry...

                          I don't use port 995 for SMTPS...
                          I use port 25 with SSL

                          So I changed my imap.properties to:
                          smtps=true
                          smtpsPort=25

                          Now if I try to send a mail I get the following error-code:
                          01.06.2008 20:50-->Fehlermeldung: Interner Fehler: Exception reading response (MSG-0020,311905180-5)

                          The log of my postfix-server always tells me the same:
                          Jun 1 18:50:48 alpha postfix/smtpd[15576]: lost connection after UNKNOWN from unknown[85.127.138.13]
                          Jun 1 18:50:48 alpha postfix/smtpd[15576]: disconnect from unknown[85.127.138.13]

                          If I change the value in imap.properties to
                          smtps=false
                          smtpsPort=25

                          I get the following error:
                          01.06.2008 20:54-->Fehlermeldung: Es trat ein Socket-Fehler auf: Could not convert socket to TLS (MSG-0092,1965609577-4)

                          And my mail-server-logs tell me:
                          Jun 1 18:54:15 alpha postfix/smtpd[15989]: connect from unknown[85.127.138.13]
                          Jun 1 18:54:15 alpha postfix/smtpd[15989]: SSL_accept error from unknown[85.127.138.13]: -1
                          Jun 1 18:54:15 alpha postfix/smtpd[15989]: lost connection after STARTTLS from unknown[85.127.138.13]
                          Jun 1 18:54:15 alpha postfix/smtpd[15989]: disconnect from unknown[85.127.138.13]


                          Next Problem:

                          As you could see in my posted imap.properties I have enabled imaps...
                          But if I look at the logs of my imap-server I see the following:

                          dovecot: 2008-06-01 18:54:15 Info: imap-login: Login: user=<bjoern>, method=PLAIN, rip=85.127.138.13, lip=87.230.7.238, TLS
                          dovecot: 2008-06-01 18:54:15 Info: IMAP(bjoern): Effective uid=secret, gid=secret
                          dovecot: 2008-06-01 18:54:15 Info: IMAP(bjoern): maildir: data=/home/bjoern/mails
                          dovecot: 2008-06-01 18:54:15 Info: IMAP(bjoern): maildir: root=/home/bjoern/mails, index=/home/bjoern/mails, control=, inbox=
                          dovecot: 2008-06-01 18:54:16 Info: IMAP(bjoern): Disconnected: Logged out
                          dovecot: 2008-06-01 18:54:36 Info: IMAP(bjoern): Disconnected: Logged out

                          ...which tells me that my ox-server uses normal imap (without S)

                          If I disable imap (and only turn on imaps) I can login to ox - but can't see any mail...

                          Error Message:
                          01.06.2008 21:03-->Fehlermeldung: An I/O error occured when creating the socket connection to IMAP server (/87.230.7.238): Connection refused (ACL-0005,-1954541564-16)

                          To see this error effectivly - i had to disable the protocol on the server and then resart the groupware...

                          I don't see any connections on my imap-server - so I can't provide any logs..

                          Could both problems caused by a error with my self-signed certificate?

                          Have a good start in the new week

                          Björn

                          Comment


                          • #14
                            I have enabled port 465 for smtps - so it works now...

                            I can send mails....

                            but the Problem that ox only talks imap (not imaps) with my server is'nt solved...


                            can anybody help me?


                            Thanks

                            Bjoern

                            Comment

                            Working...
                            X