I'm not sure if this is the correct place for this type of question or not so pleas forgive and direct me if it's not.
I've installed SOSO 2.0 because and everything seems to work except when I save a draft of an email I get a HTTP 500 error back from the server. I can see the draft email file in my spool directory so I don't believe it's a directory/file rights thing and I've tried adding various folders using the cyradm utility but still no luck. I'm sort of stuck on this right now and any guidance would be appreciated. This is the error message I'm getting in the sogo log: 67.2.80.238 - - [11/Dec/2011:19:47:18 GMT] "POST /SOGo/so/pmecham/Mail/0/folderINBOX/folderDrafts/newDraft1323650830-1/save HTTP/1.1" 500 191/2258 0.256 - - 0 Here is my .GNUSTEPdefaults file <?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>SOGoSharedFolderName</key> <string>INBOX/shared</string> <key>SOGoSpecialFoldersInRoot</key> <string>NO</string> <key>OCSFolderInfoURL</key> <string>postgresql://sogo:sogo@localhost:5432/sogo/sogo_folder_info</string> <key>OCSSessionsFolderURL</key> <string>postgresql://sogo:sogo@localhost:5432/sogo/sogo_sessions_folder</string> <key>SOGoACLsSendEMailNotifications</key> <string>YES</string> <key>SOGoAppointmentSendEMailNotifications</key> <string>YES</string> <key>SOGoDraftsFolderName</key> <string>INBOX/Drafts</string> <key>SOGoFoldersSendEMailNotifications</key> <string>YES</string> <key>SOGoIMAPServer</key> <string>localhost</string> <key>SOGoLanguage</key> <string>English</string> <key>SOGoMailDomain</key> <string>rvscapes.com</string> <key>SOGoMailingMechanism</key> <string>smtp</string> <key>SOGoProfileURL</key> <string>postgresql://sogo:sogo@localhost:5432/sogo/sogo_user_profile</string> <key>SOGoSMTPServer</key> <string>localhost</string> <key>SOGoSentFolderName</key> <string>INBOX/Sent</string> <key>SOGoTimeZone</key> <string>America/Montreal</string> <key>SOGoTrashFolderName</key> <string>INBOX/Trash</string> <key>SOGoUserSources</key> <array> <dict> <key>CNFieldName</key> <string>cn</string> <key>IDFieldName</key> <string>uid</string> <key>IMAPHostFieldName</key> <string></string> <key>UIDFieldName</key> <string>uid</string> <key>baseDN</key> <string>ou=users,dc=rvscapes,dc=com</string> <key>bindDN</key> <string>dc=rvscapes,dc=com</string> <key>bindPassword</key> <string>qwerty</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>public</string> <key>isAddressBook</key> <string>YES</string> <key>port</key> <string>389</string> </dict> </array> </dict> </dict> </plist> And here's my my cyradm lm dump: IMAP Password:localhost.localdomain> lm Drafts (\HasNoChildren) pmecham.folderDrafts (\HasNoChildren) crap2 (\HasNoChildren) pmecham.test (\HasNoChildren) pmecham (\HasChildren) trash (\HasNoChildren) pmecham.Drafts (\HasNoChildren) users.pmecham.crap1 (\HasNoChildren) Here is my imapd.conf configdirectory: /var/lib/imap partition-default: /var/spool/imap admins: cyrus sievedir: /var/lib/imap/sieve sendmail: /usr/sbin/sendmail hashimapspool: true sasl_pwcheck_method: saslauthd sasl_mech_list: PLAIN tls_cert_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem tls_key_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem tls_ca_file: /etc/pki/tls/certs/ca-bundle.crt allowplaintext: yes And my RequestHeader set "x-webobjects-server-port" "80" RequestHeader set "x-webobjects-server-port" "443" RequestHeader set "x-webobjects-server-name" "mail.rvscapes.com" RequestHeader set "x-webobjects-server-url" "http://mail.rvscapes.com" Alias /SOGo.woa/WebServerResources/ \ /usr/lib/GNUstep/SOGo/WebServerResources/ Alias /SOGo/WebServerResources/ \ /usr/lib/GNUstep/SOGo/WebServerResources/ AliasMatch /SOGo/so/ControlPanel/Products/(.*)/Resources/(.*) \ /usr/lib/GNUstep/SOGo/$1.SOGo/Resources/$2 <Directory /usr/lib/GNUstep/SOGo/> AllowOverride None Order deny,allow Allow from all </Directory> <LocationMatch "^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*\.(jpg|png|gif|css|js)"> SetHandler default-handler </LocationMatch> ## Uncomment the following to enable proxy-side authentication, you will then ## need to set the "SOGoTrustProxyAuthentication" SOGo user default to YES and ## adjust the "x-webobjects-remote-user" proxy header in the "Proxy" section ## below. #<Location /SOGo> # AuthType XXX # Require valid-user # SetEnv proxy-nokeepalive 1 # Allow from all #</Location> ProxyRequests Off SetEnv proxy-nokeepalive 1 ProxyPreserveHost On # When using CAS, you should uncomment this and install cas-proxy-validate.py # in /usr/lib/cgi-bin to reduce server overloading # # ProxyPass /SOGo/casProxy http://localhost/cgi-bin/cas-proxy-validate.py # <Proxy http://localhost/app/cas-proxy-validate.py> # Order deny,allow # Allow from your-cas-host-addr # </Proxy> ProxyPass /SOGo http://127.0.0.1:20000/SOGo retry=0 <Proxy http://127.0.0.1:20000/SOGo> ## adjust the following to your configuration # RequestHeader set "x-webobjects-server-port" "443" # RequestHeader set "x-webobjects-server-name" "yourhostname" # RequestHeader set "x-webobjects-server-url" "https://yourhostname" RequestHeader set "x-webobjects-server-port" "80" RequestHeader set "x-webobjects-server-name" "rvscapes.com" RequestHeader set "x-webobjects-server-url" "http://mail.rvscapes.com" ## When using proxy-side autentication, you need to uncomment and ## adjust the following line: # RequestHeader set "x-webobjects-remote-user" "%{REMOTE_USER}e" RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0" RequestHeader set "x-webobjects-remote-host" %{REMOTE_HOST}e env=REMOTE_HOST AddDefaultCharset UTF-8 Order allow,deny Allow from all </Proxy> ## We use mod_rewrite to pass remote address to the SOGo proxy. # The remote address will appear in SOGo's log files and in the X-Forward # header of emails. RewriteEngine On RewriteRule ^/SOGo/(.*)$ /SOGo/$1 [env=REMOTE_HOST:%{REMOTE_ADDR},PT] Thank you for any guidance you can provide. I hope to become a code contributor once I have a clue about how this all fits together. Nice work to everyone that's worked on this. Paul Mecham [email protected] -- [email protected] https://inverse.ca/sogo/lists
