RE: [SOGo] Probably another lame question but here goes....
I'm starting to think I can't get email because of a mis-configuration on the IMAP side... I see directories in the /var/lib/imap/user/ directory that seem to be setting up directory structures that look like they could potentially hold incoming mail. My etc/imapd.conf file looks like this: 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 altnamespace: yes I'm going to find out what's up, it's just a matter of time :)> -Original Message- From: Paul Mecham [mailto:pmec...@proapphosting.com] Sent: Monday, December 19, 2011 11:10 AM To: Christian Mack; users@sogo.nu Subject: RE: [SOGo] Probably another lame question but here goes Thank you for your reply, I really, really appreciate it. I'm sorry I don't believe I understand your questions 100% but I think I might be getting the gist of it. As mentioned earlier we're using Cyrus, PostFix and Postgresql per the SOGO install recommendations. To send and retrieve mail we're using SMTP and IMAPI/CYRUS. Through the SOGO Web interface we can login and send mail and that mail get to it's destination; we have yet to see mail come to the inbox. We've got a server whose CentOS host name is: pahsogo1.pah.local The name that's recognized from an IP name resolution perspective is mail.rvscapes.com The mail server name from an MX mail record perspective is: rvscapes.com As a quick aside, we had an initial problem that was resolved with your teams help where we were getting the return email address of pmec...@mail.rvscapes.com but now, with your help, we got the reply email address coming back as pmec...@rvscapes.com. Thank you for helping get over that bump even though it was not in you software where we had to configure the repair. When we respond to an email sent from SOGO, the response email appears to get sent to our server because we can see the contents of the reply stored in files in the /home/pmecham/Maildir/new/ Folder in filenames that are named: 1324050827.V2aIe20b1M282935.pahsogo1.pah.local What I'm not getting is how to tell SOGO or Thunderbird for that matter to look in this areas for these return emails. I'm not even sure if it (postfix or cyrus? I'm thinking postfix is making these files) works off of directories or some sort of LDAP property it's expecting? From what I believe I hear you saying is that if we had our server name named mail.rvscapes.com then it would be likely, that the default setup would have worked out of the box, but because we've got different names we need to set some sort of configuration option somewhere to map pahsogo1.pah.local to mail.rvscapes.com? As for answers to your questions (and thanks again for taking the time to respond): Q. Can you connect with the parameters given in your SOGo configuration per IMAP client? A. I'm using the cyradm, "client", and can see mailboxes and ACL information, but I don't think you're asking about this client, am I correct? We also used thunderbird to hook up to our mail server, but it's the same as SOGO in that it can't see any of the incoming mail. We can copy messages to the inbox and then we can see them in both SOGO WEB interface and Thuderbird so they appear to both be looking at the same INBOX, but oddly enough we can't create sub folders off of the inbox and we never see any of our response emails in either the Thunderbird or through the SOGO web interface. So I'm thinking that the INBOX is somehow not connected to where our incoming mail is going. I'm pretty sure this is not a SOGO issue. It's that I'm retarded and don't know how to map or set the ACL for the INBOX correctly . In my defense the INBOX seems like it's a special folder that is represented by the LDAP directory user.pmecham, but I'm not really clear if that statement is accurate. I've tried adding user.pmecham.INBOX but that just made a new folder called inbox. I believe it's the Postfix process that is creating the files that contain the reply's to our emails begin sent into the server but I'm not sure how configure Postfix or LDAP/SOSO/Thunderbird to hook the INBOX to the correct directories/service/etc. Q. How did you change your configuration? Here's my GNUSETUP http://www.gnustep.org/plist-0_9.xml";> NSGlobalDomain sogod SOGoMailShowSubscribedFoldersOnly NO GCSFolderDebugEnabled YES GCSFolderStoreDebugEnabled YES LDAPD
RE: [SOGo] Probably another lame question but here goes....
oad translucent.la # moduleload unique.la # moduleload valsort.la # modules available in openldap-servers-sql RPM package: # moduleload back_sql.la # The next three lines allow use of TLS for encrypting connections using a # dummy test certificate which you can generate by changing to # /etc/pki/tls/certs, running "make slapd.pem", and fixing permissions on # slapd.pem so that the ldap user or group can read it. Your client software # may balk at self-signed certificates, however. # TLSCACertificateFile /etc/pki/tls/certs/ca-bundle.crt # TLSCertificateFile /etc/pki/tls/certs/slapd.pem # TLSCertificateKeyFile /etc/pki/tls/certs/slapd.pem # Sample security restrictions # Require integrity protection (prevent hijacking) # Require 112-bit (3DES or better) encryption for updates # Require 63-bit encryption for simple bind # security ssf=1 update_ssf=112 simple_bind=64 # Sample access control policy: # Root DSE: allow anyone to read it # Subschema (sub)entry DSE: allow anyone to read it # Other DSEs: # Allow self write access # Allow authenticated users read access # Allow anonymous users to authenticate # Directives needed to implement policy: # access to dn.base="" by * read # access to dn.base="cn=Subschema" by * read # access to * # by self write # by users read # by anonymous auth # # if no access controls are present, the default policy # allows anyone and everyone to read anything but restricts # updates to rootdn. (e.g., "access to * by * read") # # rootdn can always read and write EVERYTHING! ### # ldbm and/or bdb database definitions ### databasebdb suffix "dc=rvscapes,dc=com" rootdn "dc=rvscapes,dc=com" # Cleartext passwords, especially for the rootdn, should # be avoided. See slappasswd(8) and slapd.conf(5) for details. # Use of strong authentication encouraged. # rootpwsecret # rootpw{crypt}ijFYNcSNctBYg rootpw {SSHA}exwFTOMNbBRH3ykaGDfrNk1dd3CAa5zr # The database directory MUST exist prior to running slapd AND # should only be accessible by the slapd and slap tools. # Mode 700 recommended. directory /var/lib/ldap # Indices to maintain for this database index objectClass eq,pres index ou,cn,mail,surname,givenname eq,pres,sub index uidNumber,gidNumber,loginShelleq,pres index uid,memberUid eq,pres,sub index nisMapName,nisMapEntryeq,pres,sub # Replicas of this database #replogfile /var/lib/ldap/openldap-master-replog #replica host=ldap-1.example.com:389 starttls=critical # bindmethod=sasl saslmech=GSSAPI # authcId=host/ldap-master.example@example.com Q. Are you restarting the services? A. All the time :). Here is my restart shell script. #~/bin/bash /sbin/service saslauthd stop /sbin/service memcached stop /sbin/service postfix stop /sbin/service postgresql stop /sbin/service cyrus-imapd stop /sbin/service ldap stop /sbin/service sogod stop /sbin/service httpd stop /sbin/service saslauthd start /sbin/service memcached start /sbin/service postfix start /sbin/service postgresql start /sbin/service cyrus-imapd start /sbin/service ldap start /sbin/service sogod start /sbin/service httpd start Thank you for any guidance you can provide. Paul -Original Message- From: Christian Mack [mailto:christian.m...@uni-konstanz.de] Sent: Monday, December 19, 2011 1:57 AM To: users@sogo.nu Cc: Paul Mecham Subject: Re: [SOGo] Probably another lame question but here goes On 2011-12-16 17:14, Paul Mecham wrote: > I can send mail with sogo and I receive the mail but only in the file > system directory. It does not show up in the sogo in mail box. Can > someone give me a hint about what ldap property or what > .GNUstepDefaults entry controls how the imap mailbox folders are seen > by SOGO? > > I can see the files with the incoming mail, they are in my > /home/pmehcam/Maildir/new/ Folder in filenames that look like: > 1324050827.V2aIe20b1M282935.pahsogo1.pah.local > > I'm wondering if it has something to do with the "pahsogo1.pah.local" > not matching my domain name of mail.rvscapes.com? > We are using cyrus as email server, so I'm not shure about this. But I think this file names are created from the message ID. They are created by the sender and therefore ony match your domain, if the sender belongs to your domain too. Can you connect with the parameters given in your SOGo configuration per IMAP client? How did you change your configuration? Did you restart SOGo after changing your configuration? Kind regards, Christian Mack -- Christian Mack Gruppe Informationsdienste Rechenzentrum Universität Konstanz -- users@sogo.nu https://inverse.ca/sogo/lists
[SOGo] Probably another lame question but here goes....
I can send mail with sogo and I receive the mail but only in the file system directory. It does not show up in the sogo in mail box. Can someone give me a hint about what ldap property or what .GNUstepDefaults entry controls how the imap mailbox folders are seen by SOGO? I can see the files with the incoming mail, they are in my /home/pmehcam/Maildir/new/ Folder in filenames that look like: 1324050827.V2aIe20b1M282935.pahsogo1.pah.local I'm wondering if it has something to do with the "pahsogo1.pah.local" not matching my domain name of mail.rvscapes.com? I'm so sorry I'm slow catching on. Thanks for any help you can provde. Paul -Original Message- From: Emmanuel Dreyfus [mailto:m...@netbsd.org] Sent: Friday, December 16, 2011 7:29 AM To: users@sogo.nu Subject: Re: [SOGo] LDAP search broken Hello No reply on this one? This is an annoying problem... On Wed, Dec 14, 2011 at 11:25:53AM +, Emmanuel Dreyfus wrote: > Hello > > It seems I cannot get LDAP authentication working, while it works for > the address book. When credentials should be validated by LDAP, it > always fail, and I have this in the logs: > 2011-12-14 12:10:39.717 sogod[12062] -[NGLdapConnection > _searchAtBaseDN:qualifier:attributes:scope:]: search with at base > àL»˜Kpº filter àL»HD–ºK for attrs RK»€UcºI > > It seems the LDAP parameters did not made their way to the function > that uses them. This is SOGO 2.0.0b3. -- Emmanuel Dreyfus m...@netbsd.org -- users@sogo.nu https://inverse.ca/sogo/lists -- users@sogo.nu https://inverse.ca/sogo/lists
RE: [SOGo] Setting SOGoMailDomain doesn't seem to work as I expect, am I retarded?
Got it! Thank you for the direction, even though it wasn't your responsibility to do so; I appreciate it. -Original Message- From: Stephen Ingram [mailto:sbing...@gmail.com] Sent: Thursday, December 15, 2011 3:54 PM To: users@sogo.nu Subject: Re: [SOGo] Setting SOGoMailDomain doesn't seem to work as I expect, am I retarded? On Thu, Dec 15, 2011 at 2:38 PM, Paul Mecham wrote: > I can send mail but cannot receive it. My SOGO web interface is > accessible through http://mail.rvscapes.com/SOGo and when I send an > email the return address is pmec...@mail.rvscapes.com > > I changed the SOGoMailDomain to be rvscapes.com and expected the return email > address to be pmec...@rvscapes.com but nothing happened. Should something > have changed? ...snip... > SOGoSMTPServer > localhost ...snip... Per this entry, you are using an smtp server on your system to deliver mail. This smtp server is where you need to focus as SOGo does not send mail directly. As SOGo is just a front-end to these services, you might want to setup your favorite smtp and imap servers and get them working just the way you want and then adding SOGo to the mix. Then, as long as you choose the correct settings for your .GNUstepDefaults file, everything will just work. Steve -- users@sogo.nu https://inverse.ca/sogo/lists -- users@sogo.nu https://inverse.ca/sogo/lists
[SOGo] Setting SOGoMailDomain doesn't seem to work as I expect, am I retarded?
I can send mail but cannot receive it. My SOGO web interface is accessible through http://mail.rvscapes.com/SOGo and when I send an email the return address is pmec...@mail.rvscapes.com I changed the SOGoMailDomain to be rvscapes.com and expected the return email address to be pmec...@rvscapes.com but nothing happened. Should something have changed? Here's my gnusetup file. http://www.gnustep.org/plist-0_9.xml";> NSGlobalDomain sogod GCSFolderDebugEnabled YES GCSFolderStoreDebugEnabled YES LDAPDebugEnabled YES MySQL4DebugEnabled YES NGImap4DisableIMAP4Pooling YES OCSFolderInfoURL postgresql://sogo:sogo@localhost:5432/sogo/sogo_folder_info OCSFolderManagerSQLDebugEnabled YES OCSSessionsFolderURL postgresql://sogo:sogo@localhost:5432/sogo/sogo_sessions_folder PGDebugEnabled YES SOGoACLsSendEMailNotifications YES SOGoAppointmentSendEMailNotifications YES SOGoDebugRequests YES SOGoDraftsFolderName Drafts SOGoFoldersSendEMailNotifications YES SOGoIMAPServer localhost SOGoLanguage English SOGoMailDomain rvscapes.com SOGoMailKeepDraftsAfterSend YES SOGoMailMessageCheck every_minute SOGoMailingMechanism smtp SOGoProfileURL postgresql://sogo:sogo@localhost:5432/sogo/sogo_user_profile SOGoSMTPServer localhost SOGoSentFolderName Sent SOGoTimeZone America/Montreal SOGoTrashFolderName Trash SOGoUIxDebugEnabled YES SOGoUserSources CNFieldName cn IDFieldName uid IMAPHostFieldName UIDFieldName uid baseDN ou=users,dc=rvscapes,dc=com bindDN uid=sogo,ou=users,dc=rvscapes,dc=com bindPassword qwerty canAuthenticate YES displayName Shared Addresses hostname 127.0.0.1 id public isAddressBook YES port 389 SoDebugObjectTraversal YES SoSecurityManagerDebugEnabled YES WODebugZipResponse YES WODontZipResponse YES hostName mail.rvscapes.com -Original Message- From: Wolfgang Sourdeau [mailto:wsourd...@inverse.ca] Sent: Thursday, December 15, 2011 2:25 PM To: users@sogo.nu Subject: Re: [SOGo] Compile error with SOGo 2 Le 11-12-14 15:02, alex1...@gmx.net a écrit : > Dear all, > > I followed the instructions from the document "SOGo Native Microsoft Outlook > Configuration.pdf" from the SOGo website. Unfortunately I am stuck on the > first part, compile SAMBA4 from the OpenChange-Branch. > > I get the following message: > > ../source4/torture/rpc/samr.c:1293: warning: cast increases required > alignment of target type > gcc: Internal error: Killed (program cc1) > > This seems to be a problem when building Samba 4 on the ARM. You should preferable ask that question to the relevant mailing list... Cheers. Wolfgang -- users@sogo.nu https://inverse.ca/sogo/lists -- users@sogo.nu https://inverse.ca/sogo/lists
[SOGo] Is There A Way to Set The Return Email Addresss?
I've just got SOGO up and running and I can send emails just fine but I cannot receive them. It appears to be due to my return email address. My server name is mail.rvscapes.com and the email return address for my sent item is pmec...@mail.rvscapes.com which I believe is causing the problem because my mail record would only respond to the email address pmec...@rvscapes.com I'm not sure where SOGO, or even if SOGO is the program, that's formulating this return address. I'm using SOGO 2.X and SMTP as the mail sender. I'm also using Cyrus IMPAD for LDAP and PostGres. My .LDIF file is: dn: uid=pmecham,ou=users,dc=rvscapes,dc=com objectClass: top objectClass: inetOrgPerson objectClass: person objectClass: organizationalPerson uid: pmecham cn: Paul Mecham mail: pmecham sn: Mecham givenName: Paul And I can't seem to change the mail: attribute to pmec...@rvscapes.com because then SOGO will not login into the imap server. Any help would be appreciated. I'm trying to find the answers and apologize if these messages are annoying anyone. I'm still so new to this stuff. Is there other documentation for SOSO besides the SOGo Installation Guide.odt file? Paul -- users@sogo.nu https://inverse.ca/sogo/lists
RE: [SOGo] Confused by what LDAP attribute SOGO uses for web interface login credentials VS what LDAP attribute SOGO uses to show folders once logged in.
Thanks again for all your help! You just solved my issue. I guess I need to actually go read about all of the supporting software components so I don't drive everyone nuts with my questions :). Actually I wasn't using the altnamespace:yes in my Cyrus config. I added it to my /etc/imapd.conf file and now I can even save drafts! Thank you so much! Paul -Original Message- From: Stephen Ingram [mailto:sbing...@gmail.com] Sent: Tuesday, December 13, 2011 7:42 PM To: users@sogo.nu Subject: Re: [SOGo] Confused by what LDAP attribute SOGO uses for web interface login credentials VS what LDAP attribute SOGO uses to show folders once logged in. > -Original Message- > From: Stephen Ingram [mailto:sbing...@gmail.com] > Sent: Tuesday, December 13, 2011 4:14 PM > To: users@sogo.nu > Subject: Re: [SOGo] Confused by what LDAP attribute SOGO uses for web > interface login credentials VS what LDAP attribute SOGO uses to show folders > once logged in. > > On Tue, Dec 13, 2011 at 3:13 PM, Paul Mecham > wrote: >> I might be dumb but I'm confused by what LDAP attribute SOGO uses for >> web interface login credentials VS what LDAP attribute SOGO uses to >> show folders once logged in. It appears that the login credentials use the >> "uid" >> attribute and once logged in, sogo uses the ldap attribute of "mail" >> for displaying folders for the currently logged in user. I believe >> that I know that the attributes sogo uses can be changed by modifying >> values in the /home/sogo/GNUstep/Defaults/.GNUstepDefaults file, by >> changing the UIDFieldName, IMAPHostFieldName, and IDFieldName >> configuration values but I'm not really clear on how this should be setup. >> >> >> >> If sogo uses the mail attribute when logged in it doesn't show any of >> the folders that should be there inbox, drafts, etc and I'm not able >> to use the cyradm utility to add the folders to the user's email >> address. Trying a cyrus administration command like: >> >> >> >> cm users.pmec...@rvscapes.com.inbox >> >> cm users.pmec...@rvscapes.com.drafts > > Shouldn't this be: > > cm user.pmec...@rvscapes.com (inbox is default) cm > user.pmecham.dra...@rvscapes.com (other folders like this) > On Tue, Dec 13, 2011 at 5:54 PM, Paul Mecham wrote: > You are correct and thank you for the correction. If I use "users" it > actually works by creating another folder. If I use user then I get a > "permission denied" message back from cyradm. Can you shed any light on my > other question? > I was not only referring to the use of "user" vs "users", but also the ordering of the folder. You placed "drafts" after the entire email address when it should be after the user portion of the email address. And, "inbox" is not required as it is the top-level folder. I also assume that you are using "altnamespace: yes" in your cyrus config. You are correct in your assumption that UIDFieldName corresponds to the login and MailFieldNames corresponds to the email addresses, however, by how your cyrus install is setup, both are the same. You would login to cyrus with your email address. If you use that type of setup, you'll need to set UIDFieldName and MailFieldName as the email address. Steve -- users@sogo.nu https://inverse.ca/sogo/lists -- users@sogo.nu https://inverse.ca/sogo/lists
RE: [SOGo] Confused by what LDAP attribute SOGO uses for web interface login credentials VS what LDAP attribute SOGO uses to show folders once logged in.
You are correct and thank you for the correction. If I use "users" it actually works by creating another folder. If I use user then I get a "permission denied" message back from cyradm. Can you shed any light on my other question? Thank you. -Original Message- From: Stephen Ingram [mailto:sbing...@gmail.com] Sent: Tuesday, December 13, 2011 4:14 PM To: users@sogo.nu Subject: Re: [SOGo] Confused by what LDAP attribute SOGO uses for web interface login credentials VS what LDAP attribute SOGO uses to show folders once logged in. On Tue, Dec 13, 2011 at 3:13 PM, Paul Mecham wrote: > I might be dumb but I'm confused by what LDAP attribute SOGO uses for > web interface login credentials VS what LDAP attribute SOGO uses to > show folders once logged in. It appears that the login credentials use the > "uid" > attribute and once logged in, sogo uses the ldap attribute of "mail" > for displaying folders for the currently logged in user. I believe > that I know that the attributes sogo uses can be changed by modifying > values in the /home/sogo/GNUstep/Defaults/.GNUstepDefaults file, by > changing the UIDFieldName, IMAPHostFieldName, and IDFieldName > configuration values but I'm not really clear on how this should be setup. > > > > If sogo uses the mail attribute when logged in it doesn't show any of > the folders that should be there inbox, drafts, etc and I'm not able > to use the cyradm utility to add the folders to the user's email > address. Trying a cyrus administration command like: > > > > cm users.pmec...@rvscapes.com.inbox > > cm users.pmec...@rvscapes.com.drafts Shouldn't this be: cm user.pmec...@rvscapes.com (inbox is default) cm user.pmecham.dra...@rvscapes.com (other folders like this) Steve -- users@sogo.nu https://inverse.ca/sogo/lists -- users@sogo.nu https://inverse.ca/sogo/lists
[SOGo] Confused by what LDAP attribute SOGO uses for web interface login credentials VS what LDAP attribute SOGO uses to show folders once logged in.
I might be dumb but I'm confused by what LDAP attribute SOGO uses for web interface login credentials VS what LDAP attribute SOGO uses to show folders once logged in. It appears that the login credentials use the "uid" attribute and once logged in, sogo uses the ldap attribute of "mail" for displaying folders for the currently logged in user. I believe that I know that the attributes sogo uses can be changed by modifying values in the /home/sogo/GNUstep/Defaults/.GNUstepDefaults file, by changing the UIDFieldName, IMAPHostFieldName, and IDFieldName configuration values but I'm not really clear on how this should be setup. If sogo uses the mail attribute when logged in it doesn't show any of the folders that should be there inbox, drafts, etc and I'm not able to use the cyradm utility to add the folders to the user's email address. Trying a cyrus administration command like: cm users.pmec...@rvscapes.com.inbox<mailto:users.pmec...@rvscapes.com.inbox> cm users.pmec...@rvscapes.com.drafts<mailto:users.pmec...@rvscapes.com.drafts> etc. I wondered if I had to change my host name on my machine? I'm just confused and the documentation doesn't seem very clear about what attribute is used where when sogo is rendering the default web interface. Any guidance would be appreciated. Paul I think my setup may have something to do with my problem of getting a 500 http error when I go to save a draft. From: Paul Mecham [mailto:pmec...@proapphosting.com] Sent: Tuesday, December 13, 2011 1:40 PM To: users@sogo.nu Subject: RE: [SOGo] I just came on board and I'm having some minor issues with my first SOGO install. Hi Julian, do you have any other recommendations to get rid of the HTTP 500 error when saving a draft from the SOGO web interface. Could it have something to do with LDAP? Does SOGO require that the LDAP server have a predefined directory structure or does it build it. It seems like SOGO builds it automatically because when I try to create a mail box INBOX.Drafts using the cm command in cyradm utility I get an error statusing that I don't have rights to do it even though I'm using the cyrus admin user. It's just not real clear what LDAP sub/folders have to be created in order for SOGO to work. As far as I can tell, SOGO is building these directories automatically. If I add folders I can see them in the interface. I'm at a loss. I think I may grab the code and see what's up. Is the code available for the 2.0 stuff? Paul From: Julian Robbins [mailto:julian.robb...@q-par.com]<mailto:[mailto:julian.robb...@q-par.com]> Sent: Monday, December 12, 2011 10:43 AM To: users@sogo.nu<mailto:users@sogo.nu> Subject: Re: [SOGo] I just came on board and I'm having some minor issues with my first SOGO install. On 12/12/11 17:44, Paul Mecham wrote: Awesome, just to be clear about what we're talking about I'm setting the, SOGoMailSpoolPath property, it that correct? If so, it does seem to change where it puts the drafts but I still get the 500 error. I may just grab the code and debug to see what's up but I was hoping there was a simpler fix. Just for kicks I set it to /home/pmecham/sogomail and tried to save a new message. The program did create a directory named newDraft1323711135-1 but it did not contain any files. Yes you have the right property with SOGoMailSpoolPath. Sorry if a bit vague earlier, but thought it would at least get you in the right direction. Have you checked that your MTA is supported? Most are .. You can increase the debugging in SOGo greatly by looking at http://www.sogo.nu/english/nc/support/faq/article/how-to-enable-more-verbose-logging-in-sogo.html. This may help esp the SOGoMailKeepDraftsAfterSend it mentions that you can set. Julian Paul From: Julian Robbins [mailto:julian.robb...@q-par.com] Sent: Monday, December 12, 2011 9:51 AM To: users@sogo.nu<mailto:users@sogo.nu> Subject: Re: [SOGo] I just came on board and I'm having some minor issues with my first SOGO install. On 12/12/11 16:39, Paul Mecham wrote: Thank you for the quick response. I did try your suggestion earlier on and it did not solve my issue. By default I believe the program uses the /tmp/pmecham directory when I don't specify one. I can see my drafts messages when I vim them through the file system and they appear to contain directories that are named in this fashion, newDraft1323500244-1, and these directories contain drafts. Best to check the Installation manual, but I believe you really should set the config anyway; I don't think SOGo behaves too well if if its not set at all. I think there was a similar thread quite recently on this list about this too. Julian Paul From: Julian Robbins [mailto:julian.robb...@q-par.com] Sent: Monday, December 12, 2011 9:11 AM To: users@sogo.nu<mailto:users@sogo.
RE: [SOGo] I just came on board and I'm having some minor issues with my first SOGO install.
Hi Julian, do you have any other recommendations to get rid of the HTTP 500 error when saving a draft from the SOGO web interface. Could it have something to do with LDAP? Does SOGO require that the LDAP server have a predefined directory structure or does it build it. It seems like SOGO builds it automatically because when I try to create a mail box INBOX.Drafts using the cm command in cyradm utility I get an error statusing that I don't have rights to do it even though I'm using the cyrus admin user. It's just not real clear what LDAP sub/folders have to be created in order for SOGO to work. As far as I can tell, SOGO is building these directories automatically. If I add folders I can see them in the interface. I'm at a loss. I think I may grab the code and see what's up. Is the code available for the 2.0 stuff? Paul From: Julian Robbins [mailto:julian.robb...@q-par.com] Sent: Monday, December 12, 2011 10:43 AM To: users@sogo.nu Subject: Re: [SOGo] I just came on board and I'm having some minor issues with my first SOGO install. On 12/12/11 17:44, Paul Mecham wrote: Awesome, just to be clear about what we're talking about I'm setting the, SOGoMailSpoolPath property, it that correct? If so, it does seem to change where it puts the drafts but I still get the 500 error. I may just grab the code and debug to see what's up but I was hoping there was a simpler fix. Just for kicks I set it to /home/pmecham/sogomail and tried to save a new message. The program did create a directory named newDraft1323711135-1 but it did not contain any files. Yes you have the right property with SOGoMailSpoolPath. Sorry if a bit vague earlier, but thought it would at least get you in the right direction. Have you checked that your MTA is supported? Most are .. You can increase the debugging in SOGo greatly by looking at http://www.sogo.nu/english/nc/support/faq/article/how-to-enable-more-verbose-logging-in-sogo.html. This may help esp the SOGoMailKeepDraftsAfterSend it mentions that you can set. Julian Paul From: Julian Robbins [mailto:julian.robb...@q-par.com] Sent: Monday, December 12, 2011 9:51 AM To: users@sogo.nu<mailto:users@sogo.nu> Subject: Re: [SOGo] I just came on board and I'm having some minor issues with my first SOGO install. On 12/12/11 16:39, Paul Mecham wrote: Thank you for the quick response. I did try your suggestion earlier on and it did not solve my issue. By default I believe the program uses the /tmp/pmecham directory when I don't specify one. I can see my drafts messages when I vim them through the file system and they appear to contain directories that are named in this fashion, newDraft1323500244-1, and these directories contain drafts. Best to check the Installation manual, but I believe you really should set the config anyway; I don't think SOGo behaves too well if if its not set at all. I think there was a similar thread quite recently on this list about this too. Julian Paul From: Julian Robbins [mailto:julian.robb...@q-par.com] Sent: Monday, December 12, 2011 9:11 AM To: users@sogo.nu<mailto:users@sogo.nu> Subject: Re: [SOGo] I just came on board and I'm having some minor issues with my first SOGO install. On 12/12/11 15:53, Paul Mecham wrote: 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. I've haven't checked all your config, but believe there is a particular piece of the config that you have to declare where the filesystsem uses to store draft emails, ie /tmp probably Perhaps you are missing this in your .GNUStelp file ? Julian 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 http://www.gnustep.org/plist-0_9.xml";<http://www.gnustep.org/plist-0_9.xml>> NSGlobalDomain sogod SOGoSharedFolderName INBOX/shared SOGoSpecialFoldersInRoot NO OCSFolderInfoURL postgresql://sogo:sogo@localhost:5432/sogo/sogo_folder_info OCSSessionsFolderURL postgresql://sogo:sogo@localhost:5432/sogo/sogo_sessions_folder SOGoACLsSendEMailNotifications YES SOGoAppointmentSendEMailNotifications
RE: [SOGo] I just came on board and I'm having some minor issues with my first SOGO install.
I'm using postgres and smtp and both appear to be started and running without incident. Would just saving an email in the drafts folder call the MTA for some reason? Hmmm, thank you for your help and consideration. I will crank up the debugging and see what I can see. Thanks again. From: Julian Robbins [mailto:julian.robb...@q-par.com] Sent: Monday, December 12, 2011 10:43 AM To: users@sogo.nu Subject: Re: [SOGo] I just came on board and I'm having some minor issues with my first SOGO install. On 12/12/11 17:44, Paul Mecham wrote: Awesome, just to be clear about what we're talking about I'm setting the, SOGoMailSpoolPath property, it that correct? If so, it does seem to change where it puts the drafts but I still get the 500 error. I may just grab the code and debug to see what's up but I was hoping there was a simpler fix. Just for kicks I set it to /home/pmecham/sogomail and tried to save a new message. The program did create a directory named newDraft1323711135-1 but it did not contain any files. Yes you have the right property with SOGoMailSpoolPath. Sorry if a bit vague earlier, but thought it would at least get you in the right direction. Have you checked that your MTA is supported? Most are .. You can increase the debugging in SOGo greatly by looking at http://www.sogo.nu/english/nc/support/faq/article/how-to-enable-more-verbose-logging-in-sogo.html. This may help esp the SOGoMailKeepDraftsAfterSend it mentions that you can set. Julian Paul From: Julian Robbins [mailto:julian.robb...@q-par.com] Sent: Monday, December 12, 2011 9:51 AM To: users@sogo.nu<mailto:users@sogo.nu> Subject: Re: [SOGo] I just came on board and I'm having some minor issues with my first SOGO install. On 12/12/11 16:39, Paul Mecham wrote: Thank you for the quick response. I did try your suggestion earlier on and it did not solve my issue. By default I believe the program uses the /tmp/pmecham directory when I don't specify one. I can see my drafts messages when I vim them through the file system and they appear to contain directories that are named in this fashion, newDraft1323500244-1, and these directories contain drafts. Best to check the Installation manual, but I believe you really should set the config anyway; I don't think SOGo behaves too well if if its not set at all. I think there was a similar thread quite recently on this list about this too. Julian Paul From: Julian Robbins [mailto:julian.robb...@q-par.com] Sent: Monday, December 12, 2011 9:11 AM To: users@sogo.nu<mailto:users@sogo.nu> Subject: Re: [SOGo] I just came on board and I'm having some minor issues with my first SOGO install. On 12/12/11 15:53, Paul Mecham wrote: 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. I've haven't checked all your config, but believe there is a particular piece of the config that you have to declare where the filesystsem uses to store draft emails, ie /tmp probably Perhaps you are missing this in your .GNUStelp file ? Julian 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 http://www.gnustep.org/plist-0_9.xml";<http://www.gnustep.org/plist-0_9.xml>> NSGlobalDomain sogod SOGoSharedFolderName INBOX/shared SOGoSpecialFoldersInRoot NO OCSFolderInfoURL postgresql://sogo:sogo@localhost:5432/sogo/sogo_folder_info OCSSessionsFolderURL postgresql://sogo:sogo@localhost:5432/sogo/sogo_sessions_folder SOGoACLsSendEMailNotifications YES SOGoAppointmentSendEMailNotifications YES SOGoDraftsFolderName INBOX/Drafts SOGoFoldersSendEMailNotifications YES SOGoIMAPServer localhost SOGoLanguage English SOGoMailDomain rvscapes.com SOGoMailingMechanism smtp SOGoProfileURL postgresql://sogo:sogo@localhost:5432/sogo/sogo_user_profile SOGoSMTPServer localhost SOGoSentFolderName INBOX/Sent SOGoTimeZone America/Montreal SOGoTrashFolderName INBOX/Trash SOGoUserSources
RE: [SOGo] I just came on board and I'm having some minor issues with my first SOGO install.
Also, in the web interface I get the error message: An error occurred during object publishing Failed to store message In case this helps out. Here's the most recent log message as well. Dec 12 12:35:30 sogod [28028]: <<0x09CF5FE4[SOGoDraftObject]:newDraft1323711330-1>>D Note: info object does not yet exist: /home/pmecham/sogomail/pmecham/newDraft1323711330-1/.info.plist 64.0.193.13 - - [12/Dec/2011:12:35:30 GMT] "GET /SOGo/so/pmecham/Mail/0/folderINBOX/folderDrafts/newDraft1323711330-1/edit HTTP/1.1" 200 5256/0 0.165 17587 70% 0 Dec 12 12:35:43 sogod [28028]: <<0x09C9B094[SOGoDraftObject]:newDraft1323711330-1>>D Note: info object does not yet exist: /home/pmecham/sogomail/pmecham/newDraft1323711330-1/.info.plist 64.0.193.13 - - [12/Dec/2011:12:35:43 GMT] "POST /SOGo/so/pmecham/Mail/0/folderINBOX/folderDrafts/newDraft1323711330-1/save HTTP/1.1" 500 191/2296 0.261 - - 32K The other lines make sense to me because I haven't yet created the message but I still get the evil 500 error. I've read on other posts that maybe sogo is doing some sort of mail validation on the save of the mail to the drafs folder and that's causing the error, but I've tried all of the suggestions found with this theory. Thank you for your help an have an awesome day., From: Paul Mecham [mailto:pmec...@proapphosting.com] Sent: Monday, December 12, 2011 10:45 AM To: users@sogo.nu Subject: RE: [SOGo] I just came on board and I'm having some minor issues with my first SOGO install. Awesome, just to be clear about what we're talking about I'm setting the, SOGoMailSpoolPath property, it that correct? If so, it does seem to change where it puts the drafts but I still get the 500 error. I may just grab the code and debug to see what's up but I was hoping there was a simpler fix. Just for kicks I set it to /home/pmecham/sogomail and tried to save a new message. The program did create a directory named newDraft1323711135-1 but it did not contain any files. Paul From: Julian Robbins [mailto:julian.robb...@q-par.com]<mailto:[mailto:julian.robb...@q-par.com]> Sent: Monday, December 12, 2011 9:51 AM To: users@sogo.nu<mailto:users@sogo.nu> Subject: Re: [SOGo] I just came on board and I'm having some minor issues with my first SOGO install. On 12/12/11 16:39, Paul Mecham wrote: Thank you for the quick response. I did try your suggestion earlier on and it did not solve my issue. By default I believe the program uses the /tmp/pmecham directory when I don't specify one. I can see my drafts messages when I vim them through the file system and they appear to contain directories that are named in this fashion, newDraft1323500244-1, and these directories contain drafts. Best to check the Installation manual, but I believe you really should set the config anyway; I don't think SOGo behaves too well if if its not set at all. I think there was a similar thread quite recently on this list about this too. Julian Paul From: Julian Robbins [mailto:julian.robb...@q-par.com] Sent: Monday, December 12, 2011 9:11 AM To: users@sogo.nu<mailto:users@sogo.nu> Subject: Re: [SOGo] I just came on board and I'm having some minor issues with my first SOGO install. On 12/12/11 15:53, Paul Mecham wrote: 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. I've haven't checked all your config, but believe there is a particular piece of the config that you have to declare where the filesystsem uses to store draft emails, ie /tmp probably Perhaps you are missing this in your .GNUStelp file ? Julian 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 http://www.gnustep.org/plist-0_9.xml";<http://www.gnustep.org/plist-0_9.xml>> NSGlobalDomain sogod SOGoSharedFolderName INBOX/shared SOGoSpecialFoldersInRoot NO OCSFolderInfoURL postgresql://sogo:sogo@localhost:5432/sogo/sogo_folder_info OCSSessionsFolderURL postgresql://sogo:sogo@localhost:5432/sogo/sogo_sessions_folder SOGoACLsSendEMailNotifications YES SOGoAppointmentSendEMailNotifi
RE: [SOGo] I just came on board and I'm having some minor issues with my first SOGO install.
Awesome, just to be clear about what we're talking about I'm setting the, SOGoMailSpoolPath property, it that correct? If so, it does seem to change where it puts the drafts but I still get the 500 error. I may just grab the code and debug to see what's up but I was hoping there was a simpler fix. Just for kicks I set it to /home/pmecham/sogomail and tried to save a new message. The program did create a directory named newDraft1323711135-1 but it did not contain any files. Paul From: Julian Robbins [mailto:julian.robb...@q-par.com] Sent: Monday, December 12, 2011 9:51 AM To: users@sogo.nu Subject: Re: [SOGo] I just came on board and I'm having some minor issues with my first SOGO install. On 12/12/11 16:39, Paul Mecham wrote: Thank you for the quick response. I did try your suggestion earlier on and it did not solve my issue. By default I believe the program uses the /tmp/pmecham directory when I don't specify one. I can see my drafts messages when I vim them through the file system and they appear to contain directories that are named in this fashion, newDraft1323500244-1, and these directories contain drafts. Best to check the Installation manual, but I believe you really should set the config anyway; I don't think SOGo behaves too well if if its not set at all. I think there was a similar thread quite recently on this list about this too. Julian Paul From: Julian Robbins [mailto:julian.robb...@q-par.com] Sent: Monday, December 12, 2011 9:11 AM To: users@sogo.nu<mailto:users@sogo.nu> Subject: Re: [SOGo] I just came on board and I'm having some minor issues with my first SOGO install. On 12/12/11 15:53, Paul Mecham wrote: 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. I've haven't checked all your config, but believe there is a particular piece of the config that you have to declare where the filesystsem uses to store draft emails, ie /tmp probably Perhaps you are missing this in your .GNUStelp file ? Julian 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 http://www.gnustep.org/plist-0_9.xml";<http://www.gnustep.org/plist-0_9.xml>> NSGlobalDomain sogod SOGoSharedFolderName INBOX/shared SOGoSpecialFoldersInRoot NO OCSFolderInfoURL postgresql://sogo:sogo@localhost:5432/sogo/sogo_folder_info OCSSessionsFolderURL postgresql://sogo:sogo@localhost:5432/sogo/sogo_sessions_folder SOGoACLsSendEMailNotifications YES SOGoAppointmentSendEMailNotifications YES SOGoDraftsFolderName INBOX/Drafts SOGoFoldersSendEMailNotifications YES SOGoIMAPServer localhost SOGoLanguage English SOGoMailDomain rvscapes.com SOGoMailingMechanism smtp SOGoProfileURL postgresql://sogo:sogo@localhost:5432/sogo/sogo_user_profile SOGoSMTPServer localhost SOGoSentFolderName INBOX/Sent SOGoTimeZone America/Montreal SOGoTrashFolderName INBOX/Trash SOGoUserSources CNFieldName cn IDFieldName uid IMAPHostFieldName UIDFieldName uid baseDN ou=users,dc=rvscapes,dc=com bindDN dc=rvscapes,dc=com bindPassword qwerty canAuthenticate YES displayName Shared Addresses hostname 127.0.0.1 id public isAddressBook YES port 389 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.cr
RE: [SOGo] I just came on board and I'm having some minor issues with my first SOGO install.
Thank you for the quick response. I did try your suggestion earlier on and it did not solve my issue. By default I believe the program uses the /tmp/pmecham directory when I don't specify one. I can see my drafts messages when I vim them through the file system and they appear to contain directories that are named in this fashion, newDraft1323500244-1, and these directories contain drafts. Paul From: Julian Robbins [mailto:julian.robb...@q-par.com] Sent: Monday, December 12, 2011 9:11 AM To: users@sogo.nu Subject: Re: [SOGo] I just came on board and I'm having some minor issues with my first SOGO install. On 12/12/11 15:53, Paul Mecham wrote: 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. I've haven't checked all your config, but believe there is a particular piece of the config that you have to declare where the filesystsem uses to store draft emails, ie /tmp probably Perhaps you are missing this in your .GNUStelp file ? Julian 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 http://www.gnustep.org/plist-0_9.xml";<http://www.gnustep.org/plist-0_9.xml>> NSGlobalDomain sogod SOGoSharedFolderName INBOX/shared SOGoSpecialFoldersInRoot NO OCSFolderInfoURL postgresql://sogo:sogo@localhost:5432/sogo/sogo_folder_info OCSSessionsFolderURL postgresql://sogo:sogo@localhost:5432/sogo/sogo_sessions_folder SOGoACLsSendEMailNotifications YES SOGoAppointmentSendEMailNotifications YES SOGoDraftsFolderName INBOX/Drafts SOGoFoldersSendEMailNotifications YES SOGoIMAPServer localhost SOGoLanguage English SOGoMailDomain rvscapes.com SOGoMailingMechanism smtp SOGoProfileURL postgresql://sogo:sogo@localhost:5432/sogo/sogo_user_profile SOGoSMTPServer localhost SOGoSentFolderName INBOX/Sent SOGoTimeZone America/Montreal SOGoTrashFolderName INBOX/Trash SOGoUserSources CNFieldName cn IDFieldName uid IMAPHostFieldName UIDFieldName uid baseDN ou=users,dc=rvscapes,dc=com bindDN dc=rvscapes,dc=com bindPassword qwerty canAuthenticate YES displayName Shared Addresses hostname 127.0.0.1 id public isAddressBook YES port 389 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";<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.S
[SOGo] I just came on board and I'm having some minor issues with my first SOGO install.
uot;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 ## 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 pmec...@proapphosting.com -- users@sogo.nu https://inverse.ca/sogo/lists