Announcement

Collapse
No announcement yet.

mail setup on debian 7 for open-xchange appsuite

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

  • mail setup on debian 7 for open-xchange appsuite

    I just installed open-xchange appsuite for test reasons on debian 7 and everything works fine; i am stucked on the "Mail" configuration. Is there any tutorial or manual on how i can see how to configure a basic mail system (postfix, cyrus) that works with open-xchange appsuite.

    I just tried the old tutorial Basic_Mail_Setup_Debian4 (http://oxpedia.org/wiki/index.php?ti...an4&oldid=3579) but it didn't help.

    thanks in advance
    Julian

  • #2
    hello Everybody,

    i just install a Mailserver based on postfix and dovecot following the advice of Martin Braun and following the tutorial https://www.digitalocean.com/communi...r-with-dovecot. It works from the terminal, it means i can send mails but appsuite still dosent want to load the "Mail" part of it.
    do you have any advices where to check where the problem could hide?

    thanks
    Julian

    Comment


    • #3
      Hi Julian,

      without further information (config, used mailbox format etc) a shot in the dark, did you check:
      mailbox format: settings in OX imap properties fit to postfix / dovecot settings?
      mail server - IP/DNS
      enable logfiles with debug mode: are there failures, error entries?

      Comment


      • #4
        Hello pro-it,

        thanks a lot for answering quickly. I have gathered the information from my test-system as you asked. if you need further infos please let me know.
        this system is based on postfix/cyrus/appsuite 7.6.0 Rev11-Rev16. from terminal i could send mails.

        i installed postfix/cyrus like this:
        $ apt-get install cyrus-admin-2.2 cyrus-imapd-2.2 sasl2-bin libsasl2-modules postfix
        $ vim /etc/imapd.conf
        unixhierarchysep: yes

        admins: cyrus

        $ saslpasswd2 -c cyrus
        $ saslpasswd2 -c testuser

        $ cyradm --user cyrus --authz cyrus localhost
        cm user/testuser

        Postfix (SMTP)

        $ vim /etc/group
        mail:x:8ostfix

        $ vim /etc/postfix/master.cf
        lmtp unix - - n - - lmtp

        $ vim /etc/postfix/main.cf
        mynetworks = 127.0.0.1/8, ip.of.ox.server

        canonical_maps = hash:/etc/postfix/canonical
        mailbox_transport = lmtp:unix:/var/run/cyrus/socket/lmtp
        local_recipient_maps = proxy:unixasswd.byname $alias_maps hash:/etc/postfix/cyrus_recipients

        $ vim /etc/postfix/canonical
        testuser testuser@example.com OK

        $ postmap hash:/etc/postfix/canonical
        $ vim /etc/postfix/cyrus_recipients
        testuser OK

        $ postmap hash:/etc/postfix/cyrus_recipients

        postfix:
        alias_database = hash:/etc/aliases
        alias_maps = hash:/etc/aliases
        append_dot_mydomain = no
        biff = no
        canonical_maps = hash:/etc/postfix/canonical
        config_directory = /etc/postfix
        inet_interfaces = all
        local_recipient_maps = proxy:unixasswd.byname $alias_maps hash:/etc/postfix/cyrus_recipients
        mailbox_command = procmail -a "$EXTENSION"
        mailbox_size_limit = 0
        mailbox_transport = lmtp:unix:/var/run/cyrus/socket/lmtp
        mydestination = ox7.example.com, localhost.example.com, , localhost
        myhostname = ox7.example.com
        mynetworks = 127.0.0.0/8, 192.168.25.140
        myorigin = /etc/mailname
        readme_directory = no
        recipient_delimiter = +
        relayhost =
        smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
        smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
        smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
        smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
        smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
        smtpd_use_tls = yes
        --------------------------
        mail.log / mail.err
        Oct 8 11:56:42 ox7 cyrus/tls_prune[2361]: DBERROR: opening /var/lib/cyrus/tls_sessions.db: cyrusdb error
        Oct 8 11:56:42 ox7 cyrus/master[2292]: process 2361 exited, status 1
        Oct 8 12:29:05 ox7 postfix[3477]: fatal: usage: postfix [-c config_dir] [-Dv] command
        Oct 8 11:56:41 ox7 cyrus/master[2292]: process started
        Oct 8 11:56:41 ox7 cyrus/master[2313]: about to exec /usr/sbin/cyrus
        Oct 8 11:56:41 ox7 cyrus/ctl_cyrusdb[2313]: recovering cyrus databases
        Oct 8 11:56:41 ox7 cyrus/ctl_cyrusdb[2313]: skiplist: checkpointed /var/lib/cyrus/mailboxes.db (2 records, 332 bytes) in 0 seconds
        Oct 8 11:56:41 ox7 cyrus/ctl_cyrusdb[2313]: skiplist: checkpointed /var/lib/cyrus/annotations.db (0 records, 144 bytes) in 0 seconds
        Oct 8 11:56:41 ox7 cyrus/ctl_cyrusdb[2313]: done recovering cyrus databases
        Oct 8 11:56:41 ox7 cyrus/master[2357]: about to exec /usr/sbin/cyrus
        Oct 8 11:56:42 ox7 cyrus/cyr_expire[2357]: skiplist: checkpointed /var/lib/cyrus/deliver.db (0 records, 144 bytes) in 0 seconds
        Oct 8 11:56:42 ox7 cyrus/cyr_expire[2357]: Expunged 0 out of 0 messages from 2 mailboxes
        Oct 8 11:56:42 ox7 cyrus/cyr_expire[2357]: duplicate_prune: pruning back 3.00 days
        Oct 8 11:56:42 ox7 cyrus/cyr_expire[2357]: duplicate_prune: purged 0 out of 0 entries
        Oct 8 11:56:42 ox7 cyrus/master[2361]: about to exec /usr/sbin/cyrus
        Oct 8 11:56:42 ox7 cyrus/tls_prune[2361]: DBERROR: opening /var/lib/cyrus/tls_sessions.db: cyrusdb error
        Oct 8 11:56:42 ox7 cyrus/master[2292]: process 2361 exited, status 1
        Oct 8 11:56:42 ox7 cyrus/master[2292]: WARNING: cannot find executable for service 'pop3' -- ignored
        Oct 8 11:56:42 ox7 cyrus/master[2292]: WARNING: cannot find executable for service 'nntp' -- ignored
        Oct 8 11:56:42 ox7 cyrus/master[2292]: unable to setsocketopt(IP_TOS): Operation not supported
        Oct 8 11:56:42 ox7 cyrus/master[2292]: unable to setsocketopt(IP_TOS): Operation not supported
        Oct 8 11:56:42 ox7 cyrus/master[2292]: ready for work
        Oct 8 11:56:42 ox7 cyrus/master[2381]: about to exec /usr/lib/cyrus/bin/notifyd
        Oct 8 11:56:42 ox7 cyrus/master[2380]: about to exec /usr/sbin/cyrus
        Oct 8 11:56:42 ox7 cyrus/ctl_cyrusdb[2380]: checkpointing cyrus databases
        Oct 8 11:56:42 ox7 cyrus/ctl_cyrusdb[2380]: archiving database file: /var/lib/cyrus/mailboxes.db
        Oct 8 11:56:42 ox7 cyrus/ctl_cyrusdb[2380]: archiving database file: /var/lib/cyrus/annotations.db
        Oct 8 11:56:42 ox7 cyrus/ctl_cyrusdb[2380]: done checkpointing cyrus databases
        Oct 8 11:56:42 ox7 cyrus/master[2292]: process 2380 exited, status 0
        Oct 8 11:56:42 ox7 cyrus/notify[2381]: executed
        Oct 8 11:56:52 ox7 postfix/master[3088]: daemon started -- version 2.9.6, configuration /etc/postfix
        Oct 8 11:56:52 ox7 postfix/cleanup[3155]: warning: database /etc/postfix/canonical.db is older than source file /etc/postfix/canonical
        Oct 8 11:56:52 ox7 postfix/pickup[3127]: 36452101CA9: uid=0 from=<root>
        Oct 8 11:56:52 ox7 postfix/cleanup[3155]: 36452101CA9: message-id=<20141008095652.36452101CA9@ox7.example.com>
        Oct 8 11:56:52 ox7 postfix/qmgr[3128]: 36452101CA9: from=<root@ox7.example.com>, size=491, nrcpt=1 (queue active)
        Oct 8 11:56:52 ox7 cyrus/master[3167]: about to exec /usr/lib/cyrus/bin/lmtpd
        Oct 8 11:56:52 ox7 cyrus/lmtpunix[3167]: executed
        Oct 8 11:56:52 ox7 cyrus/lmtpunix[3167]: skiplist: checkpointed /var/lib/cyrus/statuscache.db (0 records, 144 bytes) in 0 seconds
        Oct 8 11:56:52 ox7 cyrus/lmtpunix[3167]: accepted connection
        Oct 8 11:56:52 ox7 cyrus/lmtpunix[3167]: lmtp connection preauth'd as postman
        Oct 8 11:56:52 ox7 cyrus/lmtpunix[3167]: verify_user(user.jp) failed: Mailbox does not exist
        Oct 8 11:56:53 ox7 postfix/lmtp[3166]: 36452101CA9: to=<jp@ox7.example.com>, orig_to=<root>, relay=ox7.example.com[/var/run/cyrus/socket/lmtp], delay=9.7, delays=8.8/0.25/0.29/0.34, dsn=5.1.1, status=bounced (host ox7.example.com[/var/run/cyrus/socket/lmtp] said: 550-Mailbox unknown. Either there is no mailbox associated with this 550-name or you do not have authorization to see it. 550 5.1.1 User unknown (in reply to RCPT TO command))
        Oct 8 11:56:53 ox7 postfix/cleanup[3155]: 2C3DB101CC5: message-id=<20141008095653.2C3DB101CC5@ox7.example.com>
        Oct 8 11:56:53 ox7 postfix/qmgr[3128]: 2C3DB101CC5: from=<>, size=2663, nrcpt=1 (queue active)
        Oct 8 11:56:53 ox7 postfix/bounce[3168]: 36452101CA9: sender non-delivery notification: 2C3DB101CC5
        Oct 8 11:56:53 ox7 postfix/qmgr[3128]: 36452101CA9: removed
        Oct 8 11:56:53 ox7 cyrus/lmtpunix[3167]: accepted connection
        Oct 8 11:56:53 ox7 cyrus/lmtpunix[3167]: lmtp connection preauth'd as postman
        Oct 8 11:56:53 ox7 cyrus/lmtpunix[3167]: verify_user(user.jp) failed: Mailbox does not exist
        Oct 8 11:56:53 ox7 postfix/lmtp[3166]: 2C3DB101CC5: to=<jp@ox7.example.com>, orig_to=<root@ox7.example.com>, relay=ox7.example.com[/var/run/cyrus/socket/lmtp], delay=0.14, delays=0.06/0/0/0.07, dsn=5.1.1, status=bounced (host ox7.example.com[/var/run/cyrus/socket/lmtp] said: 550-Mailbox unknown. Either there is no mailbox associated with this 550-name or you do not have authorization to see it. 550 5.1.1 User unknown (in reply to RCPT TO command))
        Oct 8 11:56:53 ox7 postfix/qmgr[3128]: 2C3DB101CC5: removed
        Oct 8 11:58:03 ox7 cyrus/master[2292]: process 3167 exited, status 0
        Oct 8 12:26:42 ox7 cyrus/master[3461]: about to exec /usr/sbin/cyrus
        Oct 8 12:26:42 ox7 cyrus/ctl_cyrusdb[3461]: checkpointing cyrus databases
        Oct 8 12:26:42 ox7 cyrus/ctl_cyrusdb[3461]: archiving database file: /var/lib/cyrus/mailboxes.db
        Oct 8 12:26:42 ox7 cyrus/ctl_cyrusdb[3461]: archiving database file: /var/lib/cyrus/annotations.db
        Oct 8 12:26:42 ox7 cyrus/ctl_cyrusdb[3461]: done checkpointing cyrus databases
        Oct 8 12:26:42 ox7 cyrus/master[2292]: process 3461 exited, status 0
        Oct 8 12:29:05 ox7 postfix[3477]: fatal: usage: postfix [-c config_dir] [-Dv] command
        -------------------------
        # Debian Cyrus imapd.conf
        configdirectory: /var/lib/cyrus
        proc_path: /run/cyrus/proc
        mboxname_lockpath: /run/cyrus/lock
        defaultpartition: default
        partition-default: /var/spool/cyrus/mail
        partition-news: /var/spool/cyrus/news
        newsspool: /var/spool/news
        altnamespace: no
        unixhierarchysep: yes
        lmtp_downcase_rcpt: yes
        admins: cyrus
        allowanonymouslogin: no
        popminpoll: 1
        autocreatequota: 0
        umask: 077
        sieveusehomedir: false
        sievedir: /var/spool/sieve
        hashimapspool: true
        allowplaintext: yes
        sasl_auto_transition: no
        tls_ca_path: /etc/ssl/certs
        tls_session_timeout: 1440
        tls_cipher_list: TLSv1+HIGH:!aNULL:@STRENGTH
        lmtpsocket: /var/run/cyrus/socket/lmtp
        idlesocket: /var/run/cyrus/socket/idle
        notifysocket: /var/run/cyrus/socket/notify
        syslog_prefix: cyrus
        -------------------------
        imap.properties:
        com.openexchange.imap.imapSort=imap
        com.openexchange.imap.imapSearch=imap
        com.openexchange.imap.umlautFilterThreshold=50
        com.openexchange.imap.imapFastFetch=true
        com.openexchange.imap.imapSupportsACL=auto
        com.openexchange.imap.imapTimeout=50000
        com.openexchange.imap.imapConnectionTimeout=20000
        com.openexchange.imap.imapTemporaryDown=10000
        com.openexchange.imap.failedAuthTimeout=10000
        com.openexchange.imap.imapAuthEnc=UTF-8
        com.openexchange.imap.User2ACLImpl=auto
        com.openexchange.imap.blockSize=1000
        com.openexchange.imap.spamHandler=DefaultSpamHandl er
        com.openexchange.imap.propagateClientIPAddress=fal se
        com.openexchange.imap.propagateHostNames=
        com.openexchange.imap.maxNumConnections=0
        com.openexchange.imap.storeContainerType=boundary-aware
        com.openexchange.imap.maxNumExternalConnections=im ap.gmail.com:2,imap.googlemail.com:2
        com.openexchange.imap.enableTls=true
        com.openexchange.imap.notifyRecent=false
        com.openexchange.imap.notifyFrequencySeconds=300
        com.openexchange.imap.notifyFullNames=INBOX
        com.openexchange.imap.maxMailboxNameLength=60
        com.openexchange.imap.invalidMailboxNameCharacters =
        com.openexchange.imap.allowFolderCaches=true
        com.openexchange.imap.ssl.protocols=SSLv3 TLSv1
        com.openexchange.imap.ssl.ciphersuites=

        Comment


        • #5
          Hi everybody,

          i tested further with another mail configuration, postfix/dovecot just like in this tutorial: https://scaron.info/comp/debian-mail...x-dovecot.html and appsuite (installed like http://oxpedia.org/wiki/index.php?ti...for_Debian_7.0) still dosen't load the mails.

          the mail server via terminal works fine. I never studied informatics but i want to make this mail-server/appsuite work and understand how it works.

          is there anybody how can tell me which are the config-files that i have to work with.

          danke schön im voraus
          julian

          Comment


          • #6
            Hi Julian

            Just to make sure your mailserver works proper, have you ever tried to connect to it through any other mail client like roundcube (web), Thunderbird (app), Outlook (app), ....? I suggest to do so, otherwise the problem must not be within open-xchange itself.

            If the problem persists only within open-xchange, please post your open-xchange log-file with enabled debug mode from /var/log/open-xchange/ to help us understanding your problem.

            Regards

            engeliii23

            Comment


            • #7
              Hello engeliii23,

              thanks a lot for answering. I tested first my mailing program using mail command on terminal:
              /var/log/mail.log:
              Oct 10 15:31:12 ox7 postfix/smtp[4594]: 091E010119A: to=<user@gmail.com>, relay=gmail-smtp-in.l.google.com[173.194.71.26]:25, delay=1.7, delays=0.03/0.01/1/0.68, dsn=2.0.0, status=sent (250 2.0.0 OK 1412947813 tn9si9273158lbb.72 - gsmtp)
              Oct 10 15:31:12 ox7 postfix/qmgr[3062]: 091E010119A: removed

              gmail box:
              hello from ox7
              root <root@example.com>
              3:31 PM (4 minutes ago)

              to me
              hello
              --------------------
              i cannot use thunderbird because for my testserver my hostname is "example.com" - and roundcube is my next project .

              after changing the log level for the com.openexchange.appsuite logger

              # logconf -l com.openexchange.appsuite=DEBUG com.openexchange.usm=DEBUG

              /var/log/open-xchange/open-xchange.log.0:
              Loading global IMAP properties...
              Notify Recent: false
              Notify Frequency Seconds: 300
              IMAP allow folder caches: true
              IMAP-Sort: true
              IMAP-Search: true
              Fast Fetch Enabled: true
              Propagate Client IP Address: false
              Enable TLS: true
              Propagate Host Names: <none>
              Support ACLs: auto
              IMAP Timeout: 50000
              IMAP Connection Timeout: 20000
              IMAP Temporary Down: 10000
              Authentication Encoding: UTF-8
              Block Size: 1000
              Max. Number of External Connections: imap.gmail.com:2, imap.googlemail.com:2
              Max. Number of connections: 0
              Store container type: boundary-aware
              Spam Handler: DefaultSpamHandler
              Supported SSL protocols: SSLv3 TLSv1
              Supported SSL cipher suites: <default>
              Global IMAP properties successfully loaded!
              2014-10-10T15:31:51,580+0200 INFO [Start Level Event Dispatcher] com.openexchange.imap.entity2acl.Entity2ACLInit.st art(Entity2ACLInit.java:101)
              Auto-Detection for IMAP server implementation
              2014-10-10T15:31:51,602+0200 INFO [Start Level Event Dispatcher] com.openexchange.mail.osgi.MailProviderServiceTrac ker.addingService(MailProviderServiceTracker.java: 92)
              Mail provider for protocol 'imap_imaps' successfully registered
              2014-10-10T15:31:51,932+0200 INFO [Start Level Event Dispatcher] com.openexchange.hazelcast.osgi.HazelcastActivator .startHazelcast(HazelcastActivator.java:253)

              2014-10-10T15:40:24,483+0200 WARN [OXWorker-0000005] com.openexchange.spamhandler.SpamHandlerRegistry.g etSpamHandler(SpamHandlerRegistry.java:257)
              No spam handler found for registration name 'DefaultSpamHandler'. Using fallback 'NoSpamHandler'
              com.openexchange.ajax.action=all
              com.openexchange.ajax.module=calendar
              com.openexchange.ajax.requestNumber=8
              com.openexchange.database.schema=oxdatabase_5
              com.openexchange.grizzly.remoteAddress=192.168.25. 104
              com.openexchange.grizzly.remotePort=45795
              com.openexchange.grizzly.requestIp=192.168.25.104
              com.openexchange.grizzly.requestURI=/ajax/calendar
              com.openexchange.grizzly.serverName=192.168.25.140
              com.openexchange.grizzly.servletPath=/ajax/calendar
              com.openexchange.grizzly.threadName=OXWorker-0000005
              com.openexchange.grizzly.userAgent=Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0
              com.openexchange.request.trackingId=9e33e872973f4d cfa4412c5ade6daccf
              com.openexchange.session.authId=109a30bd583844b698 0f555fd918016d
              com.openexchange.session.clientId=open-xchange-appsuite
              com.openexchange.session.contextId=1
              com.openexchange.session.sessionId=89d23de5ed9b41c 38a9f3dcfc49ca5cc
              com.openexchange.session.userId=3
              com.openexchange.session.userName=testuser
              2014-10-10T15:40:24,535+0200 INFO [OXWorker-0000012] com.openexchange.caching.internal.JCSCache.isLocal (JCSCache.java:221)
              Cache ''CapabilitiesContext'' is operating in distributed mode
              com.openexchange.ajax.action=updates
              com.openexchange.ajax.module=calendar
              com.openexchange.ajax.requestNumber=2
              com.openexchange.database.schema=oxdatabase_5
              com.openexchange.grizzly.remoteAddress=192.168.25. 104
              com.openexchange.grizzly.remotePort=45782
              com.openexchange.grizzly.requestIp=192.168.25.104
              com.openexchange.grizzly.requestURI=/ajax/calendar
              com.openexchange.grizzly.serverName=192.168.25.140
              com.openexchange.grizzly.servletPath=/ajax/calendar
              com.openexchange.grizzly.threadName=OXWorker-0000012
              com.openexchange.grizzly.userAgent=Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0
              com.openexchange.request.trackingId=8b630d754f4745 e691067c643d1db5bc
              com.openexchange.session.authId=109a30bd583844b698 0f555fd918016d
              com.openexchange.session.clientId=open-xchange-appsuite
              com.openexchange.session.contextId=1
              com.openexchange.session.sessionId=89d23de5ed9b41c 38a9f3dcfc49ca5cc
              com.openexchange.session.userId=3
              com.openexchange.session.userName=testuser
              2014-10-10T15:40:24,551+0200 INFO [OXWorker-0000005] com.openexchange.caching.internal.JCSCache.isLocal (JCSCache.java:221)
              Cache ''CapabilitiesContext'' is operating in distributed mode
              com.openexchange.ajax.action=all
              com.openexchange.ajax.module=calendar
              com.openexchange.ajax.requestNumber=8
              com.openexchange.database.schema=oxdatabase_5
              com.openexchange.grizzly.remoteAddress=192.168.25. 104
              com.openexchange.grizzly.remotePort=45795
              com.openexchange.grizzly.requestIp=192.168.25.104
              com.openexchange.grizzly.requestURI=/ajax/calendar
              com.openexchange.grizzly.serverName=192.168.25.140
              com.openexchange.grizzly.servletPath=/ajax/calendar
              com.openexchange.grizzly.threadName=OXWorker-0000005
              com.openexchange.grizzly.userAgent=Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0
              com.openexchange.request.trackingId=9e33e872973f4d cfa4412c5ade6daccf
              com.openexchange.session.authId=109a30bd583844b698 0f555fd918016d
              com.openexchange.session.clientId=open-xchange-appsuite
              com.openexchange.session.contextId=1
              com.openexchange.session.sessionId=89d23de5ed9b41c 38a9f3dcfc49ca5cc
              com.openexchange.session.userId=3
              com.openexchange.session.userName=testuser
              2014-10-10T15:40:24,583+0200 INFO [OXWorker-0000005] com.openexchange.caching.internal.JCSCache.isLocal (JCSCache.java:221)
              Cache ''CapabilitiesUser'' is operating in distributed mode
              com.openexchange.ajax.action=all
              com.openexchange.ajax.module=calendar
              com.openexchange.ajax.requestNumber=8
              com.openexchange.database.schema=oxdatabase_5
              com.openexchange.grizzly.remoteAddress=192.168.25. 104
              com.openexchange.grizzly.remotePort=45795
              com.openexchange.grizzly.requestIp=192.168.25.104
              com.openexchange.grizzly.requestURI=/ajax/calendar
              com.openexchange.grizzly.serverName=192.168.25.140
              com.openexchange.grizzly.servletPath=/ajax/calendar
              com.openexchange.grizzly.threadName=OXWorker-0000005
              com.openexchange.grizzly.userAgent=Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0
              com.openexchange.request.trackingId=9e33e872973f4d cfa4412c5ade6daccf
              com.openexchange.session.authId=109a30bd583844b698 0f555fd918016d
              com.openexchange.session.clientId=open-xchange-appsuite
              com.openexchange.session.contextId=1
              com.openexchange.session.sessionId=89d23de5ed9b41c 38a9f3dcfc49ca5cc
              com.openexchange.session.userId=3
              com.openexchange.session.userName=testuser
              2014-10-10T15:40:24,791+0200 ERROR [OXWorker-0000013] com.openexchange.ajax.requesthandler.DispatcherSer vlet.logException(DispatcherServlet.java:473)
              Error processing request.
              com.openexchange.ajax.action=list
              com.openexchange.ajax.module=folders
              com.openexchange.ajax.requestNumber=3
              com.openexchange.database.schema=oxdatabase_5
              com.openexchange.grizzly.remoteAddress=192.168.25. 104
              com.openexchange.grizzly.remotePort=45789
              com.openexchange.grizzly.requestIp=192.168.25.104
              com.openexchange.grizzly.requestURI=/ajax/folders
              com.openexchange.grizzly.serverName=192.168.25.140
              com.openexchange.grizzly.servletPath=/ajax/folders
              com.openexchange.grizzly.threadName=OXWorker-0000013
              com.openexchange.grizzly.userAgent=Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0
              com.openexchange.request.trackingId=a5cd0fdc58e440 64b453e4fd0fbda56c
              com.openexchange.session.authId=109a30bd583844b698 0f555fd918016d
              com.openexchange.session.clientId=open-xchange-appsuite
              com.openexchange.session.contextId=1
              com.openexchange.session.sessionId=89d23de5ed9b41c 38a9f3dcfc49ca5cc
              com.openexchange.session.userId=3
              com.openexchange.session.userName=testuser
              com.openexchange.exception.OXException: MSG-0012 Categories=CONFIGURATION Message='Cannot initialize mail module' exceptionID=761979359-15
              at com.openexchange.exception.OXExceptionFactory.crea te(OXExceptionFactory.java:164)
              at com.openexchange.exception.OXExceptionFactory.crea te(OXExceptionFactory.java:134)
              at com.openexchange.exception.OXExceptionFactory.crea te(OXExceptionFactory.java:122)
              at com.openexchange.mail.MailExceptionCode.create(Mai lExceptionCode.java:594)
              at com.openexchange.mail.api.MailAccess.getInstance(M ailAccess.java:333)
              at com.openexchange.folderstorage.mail.MailFolderStor age.getFolder(MailFolderStorage.java:799)
              at com.openexchange.folderstorage.cache.CacheFolderSt orage.loadFolder(CacheFolderStorage.java:1657)
              at com.openexchange.folderstorage.cache.CacheFolderSt orage.loadFolder(CacheFolderStorage.java:1646)
              at com.openexchange.folderstorage.cache.CacheFolderSt orage.getFolder(CacheFolderStorage.java:1103)
              at com.openexchange.folderstorage.cache.CacheFolderSt orage.getFolder(CacheFolderStorage.java:1080)
              at com.openexchange.folderstorage.cache.CacheFolderSt orage.getSubfolders(CacheFolderStorage.java:1292)
              at com.openexchange.folderstorage.outlook.OutlookFold erStorage$3.call(OutlookFolderStorage.java:1744)
              at com.openexchange.folderstorage.outlook.OutlookFold erStorage$3.call(OutlookFolderStorage.java:1740)
              at java.util.concurrent.FutureTask.run(FutureTask.jav a:262)
              at com.openexchange.folderstorage.outlook.OutlookFold erStorage.getSubfolders(OutlookFolderStorage.java: 1750)
              at com.openexchange.folderstorage.outlook.OutlookFold erStorage$MailFolderCallable.call(OutlookFolderSto rage.java:2421)
              at com.openexchange.folderstorage.outlook.OutlookFold erStorage$MailFolderCallable.call(OutlookFolderSto rage.java:2384)
              at java.util.concurrent.FutureTask.run(FutureTask.jav a:262)
              at com.openexchange.threadpool.ThreadPools$RunnableAd apter.call(ThreadPools.java:595)
              at com.openexchange.threadpool.ThreadPools$TaskAdapte r.call(ThreadPools.java:635)
              at java.util.concurrent.FutureTask.run(FutureTask.jav a:262)
              at com.openexchange.threadpool.internal.CustomThreadP oolExecutor$Worker.runTask(CustomThreadPoolExecuto r.java:817)
              at com.openexchange.threadpool.internal.CustomThreadP oolExecutor$Worker.run(CustomThreadPoolExecutor.ja va:844)
              at java.lang.Thread.run(Thread.java:745)
              2014-10-10T15:40:24,824+0200 INFO [OXWorker-0000012] com.openexchange.caching.internal.JCSCache.isLocal (JCSCache.java:221)
              Cache ''CalendarCache'' is operating in local-only mode
              com.openexchange.ajax.action=updates
              com.openexchange.ajax.module=calendar
              com.openexchange.ajax.requestNumber=2
              com.openexchange.database.schema=oxdatabase_5
              com.openexchange.grizzly.remoteAddress=192.168.25. 104
              com.openexchange.grizzly.remotePort=45782
              com.openexchange.grizzly.requestIp=192.168.25.104
              com.openexchange.grizzly.requestURI=/ajax/calendar
              com.openexchange.grizzly.serverName=192.168.25.140
              com.openexchange.grizzly.servletPath=/ajax/calendar
              com.openexchange.grizzly.threadName=OXWorker-0000012
              com.openexchange.grizzly.userAgent=Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0
              com.openexchange.request.trackingId=8b630d754f4745 e691067c643d1db5bc
              com.openexchange.session.authId=109a30bd583844b698 0f555fd918016d
              com.openexchange.session.clientId=open-xchange-appsuite
              com.openexchange.session.contextId=1
              com.openexchange.session.sessionId=89d23de5ed9b41c 38a9f3dcfc49ca5cc
              com.openexchange.session.userId=3
              com.openexchange.session.userName=testuser

              hope it is the wished info from my server
              Julian

              Comment


              • #8
                Originally posted by juliani77 View Post
                i cannot use thunderbird because for my testserver my hostname is "example.com" - and roundcube is my next project .
                1st of all: Of course you can, just create a dns-zone in your local dns server (router, e.g.) or (and much easier) just use your hosts-file in /etc/hosts to route example.com to your local ip by adding the following line at the end of the file:
                192.168.25.140 example.com
                Just do not forget to remove that after you finished testing ;-)

                2nd: Just to make sure, you did not make the same thing as thwfreak, please try, similar to him, to set right permissions and owners for your open-xchange/etc/ directory and sub-files/-directories by using chmod / chown command. It looks like you got a similar exception as he did, so your mail-module can not load properly:
                [...]
                com.openexchange.exception.OXException: MSG-0012 Categories=CONFIGURATION Message='Cannot initialize mail module' exceptionID=761979359-15
                [...]
                at com.openexchange.folderstorage.cache.CacheFolderSt orage.getSubfolders(CacheFolderStorage.java:1292)
                at com.openexchange.folderstorage.outlook.OutlookFold erStorage$3.call(OutlookFolderStorage.java:1744)
                at com.openexchange.folderstorage.outlook.OutlookFold erStorage$3.call(OutlookFolderStorage.java:1740)
                [...]
                Link to thread of thwfreak.

                3rd: If nothing helped, provide us some of your properties you set, especially including mail.properties. I do not have access to the sources at the moment, so I just can imagine what it is :-)
                Last edited by engeliii23; 10-10-2014, 04:30 PM.

                Comment


                • #9
                  Hi engeliii23,

                  i made a first test editing host file but it didn't work, i have to make further tests.

                  i changed owner:
                  chown -R open-xchangepen-xchange /opt/open-xchange/etc/
                  drwxr-xr-x 9 open-xchange open-xchange 12288 Oct 9 15:56 etc
                  but it still doesn't work:
                  2014-10-10T17:15:22,522+0200 ERROR [OXWorker-0000021] com.openexchange.ajax.requesthandler.DispatcherSer vlet.logException(DispatcherServlet.java:473)
                  Error processing request.
                  com.openexchange.ajax.action=list
                  com.openexchange.ajax.module=folders
                  com.openexchange.ajax.requestNumber=41
                  com.openexchange.database.schema=oxdatabase_5
                  com.openexchange.grizzly.remoteAddress=192.168.25. 104
                  com.openexchange.grizzly.remotePort=48889
                  com.openexchange.grizzly.requestIp=192.168.25.104
                  com.openexchange.grizzly.requestURI=/ajax/folders
                  com.openexchange.grizzly.serverName=192.168.25.140
                  com.openexchange.grizzly.servletPath=/ajax/folders
                  com.openexchange.grizzly.threadName=OXWorker-0000021
                  com.openexchange.grizzly.userAgent=Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0
                  com.openexchange.request.trackingId=6d6432cb0a9e4b adbce9e5c76238e211
                  com.openexchange.session.authId=30fca05491d04ab790 79393e80a5b950
                  com.openexchange.session.clientId=open-xchange-appsuite
                  com.openexchange.session.contextId=1
                  com.openexchange.session.sessionId=8bb680fd45ef43e a8fc234327b087894
                  com.openexchange.session.userId=3
                  com.openexchange.session.userName=testuser
                  com.openexchange.exception.OXException: MSG-0012 Categories=CONFIGURATION Message='Cannot initialize mail module' exceptionID=793561687-27
                  at com.openexchange.exception.OXExceptionFactory.crea te(OXExceptionFactory.java:164)
                  at com.openexchange.exception.OXExceptionFactory.crea te(OXExceptionFactory.java:134)
                  at com.openexchange.exception.OXExceptionFactory.crea te(OXExceptionFactory.java:122)
                  at com.openexchange.mail.MailExceptionCode.create(Mai lExceptionCode.java:594)
                  at com.openexchange.mail.api.MailAccess.getInstance(M ailAccess.java:333)
                  at com.openexchange.folderstorage.mail.MailFolderStor age.getFolder(MailFolderStorage.java:799)
                  at com.openexchange.folderstorage.cache.CacheFolderSt orage.loadFolder(CacheFolderStorage.java:1657)
                  at com.openexchange.folderstorage.cache.CacheFolderSt orage.loadFolder(CacheFolderStorage.java:1646)
                  at com.openexchange.folderstorage.cache.CacheFolderSt orage.getFolder(CacheFolderStorage.java:1103)
                  at com.openexchange.folderstorage.cache.CacheFolderSt orage.getFolder(CacheFolderStorage.java:1080)
                  at com.openexchange.folderstorage.cache.CacheFolderSt orage.getSubfolders(CacheFolderStorage.java:1292)
                  at com.openexchange.folderstorage.outlook.OutlookFold erStorage$3.call(OutlookFolderStorage.java:1744)
                  at com.openexchange.folderstorage.outlook.OutlookFold erStorage$3.call(OutlookFolderStorage.java:1740)
                  at java.util.concurrent.FutureTask.run(FutureTask.jav a:262)
                  at com.openexchange.folderstorage.outlook.OutlookFold erStorage.getSubfolders(OutlookFolderStorage.java: 1750)
                  at com.openexchange.folderstorage.outlook.OutlookFold erStorage$MailFolderCallable.call(OutlookFolderSto rage.java:2421)
                  at com.openexchange.folderstorage.outlook.OutlookFold erStorage$MailFolderCallable.call(OutlookFolderSto rage.java:2384)
                  at java.util.concurrent.FutureTask.run(FutureTask.jav a:262)
                  at com.openexchange.threadpool.ThreadPools$RunnableAd apter.call(ThreadPools.java:595)
                  at com.openexchange.threadpool.ThreadPools$TaskAdapte r.call(ThreadPools.java:635)
                  at java.util.concurrent.FutureTask.run(FutureTask.jav a:262)
                  at com.openexchange.threadpool.internal.CustomThreadP oolExecutor$Worker.runTask(CustomThreadPoolExecuto r.java:817)
                  at com.openexchange.threadpool.internal.CustomThreadP oolExecutor$Worker.run(CustomThreadPoolExecutor.ja va:844)
                  at java.lang.Thread.run(Thread.java:745)


                  mail.properties are:
                  com.openexchange.mail.loginSource=use
                  com.openexchange.mail.passwordSource=session
                  com.openexchange.mail.mailServerSource=user
                  com.openexchange.mail.transportServerSource=user
                  com.openexchange.mail.masterPassword=secret
                  com.openexchange.mail.mailServer=ox7.example.com
                  com.openexchange.mail.transportServer=ox7.example. com
                  com.openexchange.mail.defaultMailProvider=imap
                  mail.mime.charset=UTF-8
                  com.openexchange.mail.mailFetchLimit=1000
                  com.openexchange.mail.attachmentDisplaySizeLimit=8 192
                  com.openexchange.mail.mailAccessCacheShrinkerSecon ds=3
                  com.openexchange.mail.mailAccessCacheIdleSeconds=4
                  com.openexchange.mail.quoteLineColors=#a14044,#917 722,#599351,#516193,#666666
                  com.openexchange.mail.userFlagsEnabled=true
                  com.openexchange.mail.partModifierImpl=com.openexc hange.mail.partmodifier.DummyPartModifier
                  com.openexchange.mail.allowNestedDefaultFolderOnAl tNamespace=false
                  com.openexchange.mail.ignoreSubscription=false
                  com.openexchange.mail.supportSubscription=true
                  com.openexchange.mail.defaultSeparator=/
                  com.openexchange.mail.watcherEnabled=true
                  com.openexchange.mail.watcherFrequency=10000
                  com.openexchange.mail.watcherTime=60000
                  com.openexchange.mail.watcherShallClose=false
                  com.openexchange.mail.JavaMailProperties=javamail. properties
                  com.openexchange.mail.phishingHeader=
                  com.openexchange.mail.adminMailLoginEnabled=false
                  com.openexchange.mail.addClientIPAddress=false
                  com.openexchange.mail.rateLimitPrimaryOnly=true
                  com.openexchange.mail.rateLimit=0
                  com.openexchange.mail.maxToCcBcc=0
                  com.openexchange.mail.hidePOP3StorageFolders=false
                  com.openexchange.mail.deleteDraftOnTransport=false
                  com.openexchange.mail.supportMsisdnAddresses=false
                  com.openexchange.mail.translateDefaultFolders=true
                  com.openexchange.mail.maxMailSize=-1
                  com.openexchange.mail.hideDetailsForDefaultAccount =false
                  com.openexchange.mail.maxForwardCount=8
                  com.openexchange.mail.account.blacklist=
                  com.openexchange.mail.imageHost=

                  in some forums i read sth about maildirectory (mbox or maildir). appsuite can deal with both of them, in which files are they to be set?

                  thanks and have a nice weekend
                  juli

                  Comment


                  • #10
                    Hello everybody,
                    during this weekend i installed a new test system: debian 7 / appsuite / postfix / cyrus and the mail server works fine; i can not tell you what was different this time on my configurations.
                    thanks for reading and answering
                    julian

                    Comment

                    Working...
                    X