General discussion on installation and configuration of SOGo

Text archives Help


Re: [SOGo] Can't find valid mailbox Postfix+Dovecot


Chronological Thread 
  • From: Nicolas Fabre < >
  • To:
  • Subject: Re: [SOGo] Can't find valid mailbox Postfix+Dovecot
  • Date: Tue, 02 Apr 2013 09:36:31 +0200

Title: %fullname% Signature
Hi,

So you gave up cyrus?


Nicolas FABRE


Le 29/03/2013 18:07, Olivier Gonson a écrit :
" type="cite"> Hi all,

I'm trying to setup a Centos6+Samba4+Sogo+Openchange+Dovecot+Postfix configuration.
I think i have a problem with the mailboxes. I'm very confused about configuration of postfix and dovecot. For the moment :
- I can login on the webgui and see the fodlers Trash, Sent and Drafts but can't see my INBOX (it stays empty) or send email (no valid mailbox error). I can also create drafts and move them to the different folders.
- I can create a mail profile in Windows control panel but Outlook says it can't access my default mail folder.
- i can

I guess there is a problem with my mailboxes or their location in postfix configuration but i can't pinpoint it.




Here is my postfix configuration :

queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
mail_owner = postfix
myhostname = percy-test.com
mydomain = percy-test.com
inet_interfaces = localhost
inet_protocols = all
mydestination = $myhostname, localhost.$mydomain, localhost, sogovm.percy-test.com, sogovm
unknown_local_recipient_reject_code = 550
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
ddd $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.6.6/samples
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES


Here is my sogo configuration :

<?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>OCSFolderInfoURL</key>
    <string>mysql://sogo:sogo@localhost:3306/sogo/sogo_folder_info</string>
    <key>OCSSessionsFolderURL</key>
    <string>mysql://sogo:sogo@localhost:3306/sogo/sogo_sessions_folder</string>
    <key>SOGoACLsSendEMailNotifications</key>
    <string>YES</string>
    <key>SOGoAppointmentSendEMailNotifications</key>
    <string>YES</string>
    <key>SOGoDraftsFolderName</key>
    <string>Drafts</string>
    <key>SOGoFoldersSendEMailNotifications</key>
    <string>YES</string>
    <key>SOGoIMAPServer</key>
    <string>localhost</string>
    <key>SOGoLanguage</key>
    <string>English</string>
    <key>SOGoMailDomain</key>
    <string>percy-test.com</string>
    <key>SOGoMailingMechanism</key>
    <string>smtp</string>
    <key>SOGoProfileURL</key>
    <string>mysql://sogo:sogo@localhost:3306/sogo/sogo_user_profile</string>
    <key>SOGoSMTPServer</key>
    <string>localhost</string>
    <key>SOGoSentFolderName</key>
    <string>Sent</string>
    <key>SOGoTimeZone</key>
    <string>America/Montreal</string>
    <key>SOGoTrashFolderName</key>
    <string>Trash</string>
    <key>SOGoUserSources</key>
    <array>
        <dict>
        <key>CNFieldName</key>
        <string>displayName</string>
        <key>IDFieldName</key>
        <string>cn</string>
        <key>UIDFieldName</key>
        <string>sAMAccountName</string>
        <key>baseDN</key>
        <string>cn=Users,dc=percy-test,dc=com</string>
        <key>bindDN</key>
        <string>cn=Administrator,cn=Users,dc=percy-test,dc=com</string>
        <key>bindFields</key>
        <array>
            <string>sAMAccountName</string>
        </array>
        <key>bindPassword</key>
        <string>MyPasswd</string>
        <key>canAuthenticate</key>
        <string>YES</string>
        <key>displayName</key>
        <string>Shared Addresses</string>
        <key>hostname</key>
        <string>127.0.0.1</string>
        <key>id</key>
        <string>samba</string>
        <key>isAddressBook</key>
        <string>YES</string>
        <key>port</key>
        <string>389</string>
        </dict>
    </array>
    </dict>
</dict>
</plist>


 
Here is a trace of my maillog when i try to send an email using the webgui :

Mar 29 12:54:25 sogovm postfix/smtpd[18253]: connect from sogovm[127.0.0.1]
Mar 29 12:54:25 sogovm postfix/smtpd[18253]: NOQUEUE: reject: RCPT from sogovm[127.0.0.1]: 550 5.1.1 ">< >: Recipient address rejected: User unknown in local recipient table; from= ">< > to= ">< > proto=ESMTP helo=<sogovm>
Mar 29 12:54:25 sogovm postfix/smtpd[18253]: disconnect from sogovm[127.0.0.1]


And my sogo.log :

192.168.17.68 - - [29/Mar/2013:12:54:21 GMT] "GET /SOGo/so/test1/Mail/compose?mailto=%5B%22test1%20%3Ctest1%40percy-test.com%3E%22%5D HTTP/1.1" 302 0/0 0.004 - - 0
192.168.17.68 - - [29/Mar/2013:12:54:21 GMT] "GET /SOGo/so/test1/Mail//0/compose?mailto=% %3E%22%5D HTTP/1.1" 302 0/0 0.137 - - 0
Mar 29 12:54:21 sogod [1817]: <<0x676820A8[SOGoContactGCSFolder]:personal>>D fetched 0 records.
Mar 29 12:54:21 sogod [1817]: <<0x676D5EF8[SOGoContactGCSFolder]:personal>>D fetched 0 records.
192.168.17.68 - - [29/Mar/2013:12:54:21 GMT] "GET /SOGo/so/test1/Mail/0/folderDrafts/newDraft1364576061-1/edit HTTP/1.1" 200 7443/0 0.162 22246 66% 40K
Mar 29 12:54:25 sogod [1817]: <<0x675FE418[SOGoContactGCSFolder]:personal>>D fetched 0 records.
2013-03-29 12:54:25.116 sogod[1817] WARNING(-[NSNull(misc) length]): called NSNull -length (returns 0) !!!
C: connect to <0x0x7fd36767ee48[NGInternetSocketAddress]: host=localhost not-filled>
S: <SMTP-Reply: code=220 line='percy-test.com ESMTP Postfix'>
C: EHLO sogovm
S: <SMTP-Reply: code=250 line='DSN'>
S: pipelining extension supported.
S: size extension supported.
C: MAIL FROM: ">< >
C: RCPT TO: ">< >
Mar 29 12:54:25 sogod [1817]: <0x0x7fd367720508[SOGoMailer]> error with recipient ' "> '
C: QUIT
S: <SMTP-Reply: code=221 line='2.0.0 Bye'>
192.168.17.68 - - [29/Mar/2013:12:54:25 GMT] "POST /SOGo/so/test1/Mail/0/folderDrafts/newDraft1364576061-1/send HTTP/1.1" 200 104/2387 0.239 - - 16K


Any help would be appreciated.  :o)



--
Olivier Gonson







  • Re: [SOGo] Can't find valid mailbox Postfix+Dovecot, Nicolas Fabre, 04/02/2013

Archive powered by MHonArc 2.6.18.

Top of page