RE: [SOGo] I just came on board and I'm having some minor issues with my first SOGO install.

2011-12-12 Thread Paul Mecham
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-1D 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-1D 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.numailto: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.numailto: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
?xml version=1.0 encoding=UTF-8?
!DOCTYPE plist PUBLIC -//GNUstep//DTD plist 0.9//EN 
http://www.gnustep.org/plist-0_9.xml;http://www.gnustep.org/plist-0_9.xml
plist version=0.9
dict
keyNSGlobalDomain/key
dict
/dict
keysogod/key
dict
keySOGoSharedFolderName/key
stringINBOX/shared/string
keySOGoSpecialFoldersInRoot/key
stringNO/string
keyOCSFolderInfoURL/key

stringpostgresql://sogo:sogo@localhost:5432/sogo/sogo_folder_info/string
keyOCSSessionsFolderURL/key

stringpostgresql://sogo:sogo@localhost:5432/sogo/sogo_sessions_folder/string
keySOGoACLsSendEMailNotifications/key
stringYES/string

RE: [SOGo] I just came on board and I'm having some minor issues with my first SOGO install.

2011-12-12 Thread Paul Mecham
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.numailto: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.numailto: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
?xml version=1.0 encoding=UTF-8?
!DOCTYPE plist PUBLIC -//GNUstep//DTD plist 0.9//EN 
http://www.gnustep.org/plist-0_9.xml;http://www.gnustep.org/plist-0_9.xml
plist version=0.9
dict
keyNSGlobalDomain/key
dict
/dict
keysogod/key
dict
keySOGoSharedFolderName/key
stringINBOX/shared/string
keySOGoSpecialFoldersInRoot/key
stringNO/string
keyOCSFolderInfoURL/key

stringpostgresql://sogo:sogo@localhost:5432/sogo/sogo_folder_info/string
keyOCSSessionsFolderURL/key

stringpostgresql://sogo:sogo@localhost:5432/sogo/sogo_sessions_folder/string
keySOGoACLsSendEMailNotifications/key
stringYES/string
keySOGoAppointmentSendEMailNotifications/key
stringYES/string
keySOGoDraftsFolderName/key
stringINBOX/Drafts/string
keySOGoFoldersSendEMailNotifications/key
stringYES/string
keySOGoIMAPServer/key
stringlocalhost/string
keySOGoLanguage/key
stringEnglish/string
keySOGoMailDomain/key
stringrvscapes.com/string
keySOGoMailingMechanism/key
stringsmtp/string
keySOGoProfileURL/key

stringpostgresql://sogo:sogo@localhost:5432/sogo

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.

2011-12-13 Thread Paul Mecham
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 pmec...@proapphosting.com 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] Setting SOGoMailDomain doesn't seem to work as I expect, am I retarded?

2011-12-15 Thread Paul Mecham
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.
?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
keyNSGlobalDomain/key
dict
/dict
keysogod/key
dict
keyGCSFolderDebugEnabled/key
stringYES/string
keyGCSFolderStoreDebugEnabled/key
stringYES/string
keyLDAPDebugEnabled/key
stringYES/string
keyMySQL4DebugEnabled/key
stringYES/string
keyNGImap4DisableIMAP4Pooling/key
stringYES/string
keyOCSFolderInfoURL/key

stringpostgresql://sogo:sogo@localhost:5432/sogo/sogo_folder_info/string
keyOCSFolderManagerSQLDebugEnabled/key
stringYES/string
keyOCSSessionsFolderURL/key

stringpostgresql://sogo:sogo@localhost:5432/sogo/sogo_sessions_folder/string
keyPGDebugEnabled/key
stringYES/string
keySOGoACLsSendEMailNotifications/key
stringYES/string
keySOGoAppointmentSendEMailNotifications/key
stringYES/string
keySOGoDebugRequests/key
stringYES/string
keySOGoDraftsFolderName/key
stringDrafts/string
keySOGoFoldersSendEMailNotifications/key
stringYES/string
keySOGoIMAPServer/key
stringlocalhost/string
keySOGoLanguage/key
stringEnglish/string
keySOGoMailDomain/key
stringrvscapes.com/string
keySOGoMailKeepDraftsAfterSend/key
stringYES/string
keySOGoMailMessageCheck/key
stringevery_minute/string
keySOGoMailingMechanism/key
stringsmtp/string
keySOGoProfileURL/key

stringpostgresql://sogo:sogo@localhost:5432/sogo/sogo_user_profile/string
keySOGoSMTPServer/key
stringlocalhost/string
keySOGoSentFolderName/key
stringSent/string
keySOGoTimeZone/key
stringAmerica/Montreal/string
keySOGoTrashFolderName/key
stringTrash/string
keySOGoUIxDebugEnabled/key
stringYES/string
keySOGoUserSources/key
array
dict
keyCNFieldName/key
stringcn/string
keyIDFieldName/key
stringuid/string
keyIMAPHostFieldName/key
string/string
keyUIDFieldName/key
stringuid/string
keybaseDN/key
stringou=users,dc=rvscapes,dc=com/string
keybindDN/key
stringuid=sogo,ou=users,dc=rvscapes,dc=com/string
keybindPassword/key
stringqwerty/string
keycanAuthenticate/key
stringYES/string
keydisplayName/key
stringShared Addresses/string
keyhostname/key
string127.0.0.1/string
keyid/key
stringpublic/string
keyisAddressBook/key
stringYES/string
keyport/key
string389/string
/dict
/array
keySoDebugObjectTraversal/key
stringYES/string
keySoSecurityManagerDebugEnabled/key
stringYES/string
keyWODebugZipResponse/key
stringYES/string
keyWODontZipResponse/key
stringYES/string
keyhostName/key
stringmail.rvscapes.com/string
/dict
/dict
/plist

-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

RE: [SOGo] Setting SOGoMailDomain doesn't seem to work as I expect, am I retarded?

2011-12-15 Thread Paul Mecham
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 pmec...@proapphosting.com 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...

        keySOGoSMTPServer/key
        stringlocalhost/string

...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] Probably another lame question but here goes....

2011-12-16 Thread Paul Mecham
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] Probably another lame question but here goes....

2011-12-19 Thread Paul Mecham
 dynamic backend modules:
# modulepath/usr/lib/openldap

# Modules available in openldap-servers-overlays RPM package
# Module syncprov.la is now statically linked with slapd and there
# is no need to load it here
# moduleload accesslog.la
# moduleload auditlog.la
# moduleload denyop.la
# moduleload dyngroup.la
# moduleload dynlist.la
# moduleload lastmod.la
# moduleload pcache.la
# moduleload ppolicy.la
# moduleload refint.la
# moduleload retcode.la
# moduleload rwm.la
# moduleload smbk5pwd.la
# moduleload 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

RE: [SOGo] Probably another lame question but here goes....

2011-12-19 Thread Paul Mecham
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/someletter 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
?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
keyNSGlobalDomain/key
dict
/dict
keysogod/key
dict
keySOGoMailShowSubscribedFoldersOnly/key
stringNO/string
keyGCSFolderDebugEnabled/key
stringYES/string
keyGCSFolderStoreDebugEnabled/key
stringYES/string