[SOGo] SOGo 1.3.15 not polling mail

2012-05-24 Thread Ronald J. Yacketta

Hello all!

I have 2 servers running SOGo configured exactly the same (using the 
same LDAP, IMAP and SMTP servers) but separate DB's, one is for internal 
testing while the other is a pilot for a group of ~30 people.


When I access 'Mail' on the dev server e-mail is polled; that is all the 
subscribed folders are processed for new mail etc, this can be seen in 
the logs while the pilot server (again same configuration minus DB) only 
polls the inbox and no other folders unless you click the folder.


Here is the config running on both servers

sogod SOGoVacationEnabled NO
sogod SOGoSMTPServer our.smtp.server
sogod SOGoUserSources '(
{
CNFieldName = cn;
IDFieldName = uid;
UIDFieldName = uid;
authenticationFilter = (userClass=''***OR userClass=''***S'' 
OR userClass=''***'');

baseDN = ou=People,o=our-o;
bindAsCurrentUser = YES;
bindFields = (
uid
);
canAuthenticate = YES;
displayName = People;
filter = (userClass=''***'' OR userClass=''A***' OR 
userClass=''***'');

hostname = our.ldap.server;
id = public;
isAddressBook = YES;
port = 389;
},
{
CNFieldName = cn;
IDFieldName = uid;
KindFieldName = Kind;
MultipleBookingsFieldName = Multiplebookings;
UIDFieldName = uid;
baseDN = ou=Resources,o=our-o;
bindDN = cn=yah-right;
bindPassword = **;
canAuthenticate = YES;
displayName = Resources;
hostname = our.ldap.server;
id = resources;
isAddressBook = YES;
port = 389;
},
{
CNFieldName = ou;
IDFieldName = ou;
UIDFieldName = ou;
baseDN = ou=Departments,o=our-o;
bindDN = cn=yah-right;
bindPassword = **;
canAuthenticate = YES;
displayName = Departments;
hostname = our.ldap.server;
id = departments;
isAddressBook = YES;
port = 389;
}
)'
sogod SOGoEnableEMailAlarms YES
sogod SOGoIMAPServer imap://our.imap.server/
sogod OCSEMailAlarmsFolderURL 
postgresql://sogo:@127.0.0.1:5432/sogo/sogo_alarms_folder

sogod NGImap4ConnectionStringSeparator .
sogod SOGoProfileURL 
postgresql://sogo:@127.0.0.1:5432/sogo/sogo_user_profile

sogod SOGoTimeZone America/New_York
sogod debug YES
sogod LDAPDebugEnabled YES
sogod SOGoImapDebugEnabled YES
sogod SOGoLoginModule Calendar
sogod SOGoMailingMechanism smtp
sogod OCSSessionsFolderURL 
postgresql://sogo:@127.0.0.1:5432/sogo/sogo_sessions

sogod SOGoAppointmentSendEMailReceipts NO
sogod SOGoSieveServer sieve://our.sieve.server:2000
sogod SOGoSuperUsernames '(
yacketrj,
)'
sogod SOGoMailDomain potsdam.edu
sogod SOGoForwardEnabled No
sogod OCSFolderInfoURL 
postgresql://sogo:@127.0.0.1:5432/sogo/sogo_folder_info

sogod SOGoSieveScriptsEnabled NO
sogod SOGoAppointmentSendEMailNotifications YES

dev server log:

xxx.xxx.xxx.xxx- - [24/May/2012:08:45:18 GMT] GET 
/SOGo/so/yacketrj/Mail HTTP/1.1 302 0/0 0.003 - - 0
May 24 08:45:19 sogod [13485]: [WARN] 
0x0x2d4b0c8[UIxEnvelopeAddressFormatter] unexpected envelope address: 
0x0x2580d78[NGImap4EnvelopeAddress]:
May 24 08:45:19 sogod [13485]: [WARN] 
0x0x2d4b0c8[UIxEnvelopeAddressFormatter] unexpected envelope address: 
0x0x2d03518[NGImap4EnvelopeAddress]:
May 24 08:45:19 sogod [13485]: [WARN] 
0x0x2d4b0c8[UIxEnvelopeAddressFormatter] unexpected envelope address: 
0x0x49a0798[NGImap4EnvelopeAddress]:
xxx.xxx.xxx.xxx- - [24/May/2012:08:45:20 GMT] GET 
/SOGo/so/yacketrj/Mail/view HTTP/1.1 200 28957/0 1.524 128359 77% 0
xxx.xxx.xxx.xxx- - [24/May/2012:08:45:20 GMT] POST 
/SOGo/so/yacketrj/Calendar/alarmslist?browserTime=1337863349 HTTP/1.1 
200 2/0 0.007 - - 0
xxx.xxx.xxx.xxx- - [24/May/2012:08:45:21 GMT] POST 
/SOGo/so/yacketrj/Mail/0/mailboxes HTTP/1.1 200 2814/0 0.835 - - 0
xxx.xxx.xxx.xxx- - [24/May/2012:08:45:22 GMT] POST 
/SOGo/so/yacketrj/Mail//0/folderINBOX/unseenCount HTTP/1.1 200 15/0 
0.866 - - 0
xxx.xxx.xxx.xxx- - [24/May/2012:08:45:22 GMT] POST 
/SOGo/so/yacketrj/Mail/foldersState HTTP/1.1 200 44/0 0.012 - - 0
xxx.xxx.xxx.xxx- - [24/May/2012:08:45:22 GMT] POST 
/SOGo/so/yacketrj/Mail//0/folderGreg/unseenCount HTTP/1.1 200 13/0 
0.832 - - 0
xxx.xxx.xxx.xxx- - [24/May/2012:08:45:23 GMT] POST 
/SOGo/so/yacketrj/Mail//0/folderTracker/unseenCount HTTP/1.1 200 15/0 
0.834 - - 0
xxx.xxx.xxx.xxx- - [24/May/2012:08:45:25 GMT] POST 
/SOGo/so/yacketrj/Mail//0/folderCobbler/unseenCount HTTP/1.1 200 15/0 
0.844 - - 0
xxx.xxx.xxx.xxx- - [24/May/2012:08:45:26 GMT] POST 
/SOGo/so/yacketrj/Mail//0/foldernagios/unseenCount HTTP/1.1 200 13/0 
0.818 - - 0

...
Runs through all my subscribed folders

while the pilot server only polls INBOX

xxx.xxx.xxx.xxx- - [24/May/2012:08:48:54 GMT] GET 
/SOGo/so/yacketrj/Mail HTTP/1.1 302 0/0 0.004 - - 0
May 24 08:48:55 sogod [19189]: [WARN] 
0x0x29a59e8[UIxEnvelopeAddressFormatter] unexpected envelope address: 

Re: [SOGo] SOGo 1.3.15 not polling mail

2012-05-24 Thread Ronald J. Yacketta

On 5/24/2012 9:07 AM, Francis Lachapelle wrote:

Hi Ronald

On 2012-05-24, at 8:53 AM, Ronald J. Yacketta wrote:


I have 2 servers running SOGo configured exactly the same (using the same LDAP, 
IMAP and SMTP servers) but separate DB's, one is for internal testing while the 
other is a pilot for a group of ~30 people.

When I access 'Mail' on the dev server e-mail is polled; that is all the 
subscribed folders are processed for new mail etc, this can be seen in the logs 
while the pilot server (again same configuration minus DB) only polls the inbox 
and no other folders unless you click the folder.

Is it possible that you have Sieve filters defined on your development server 
for your account? Since version 1.3.12, we check for new mails in folders for 
which sieve rules are defined to file messages into.

Both servers are configure as such in SOGo:



sogod SOGoVacationEnabled NO

sogod SOGoSieveScriptsEnabled NO

The dev server did have sieve enabled about a month ago with valid sieve 
rules for myself.  Would this cause the issue I am seeing? If so, should 
SOGo ignore the sieve rules in the DB when SOGoSieveScriptsEnabled is se 
to to NO?


-Ron
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] SOGo 1.3.15 not polling mail

2012-05-24 Thread Francis Lachapelle
Hi Ronald

On 2012-05-24, at 11:12 AM, Ronald J. Yacketta wrote:

 On 5/24/2012 9:07 AM, Francis Lachapelle wrote:
 Hi Ronald
 
 On 2012-05-24, at 8:53 AM, Ronald J. Yacketta wrote:
 
 I have 2 servers running SOGo configured exactly the same (using the same 
 LDAP, IMAP and SMTP servers) but separate DB's, one is for internal testing 
 while the other is a pilot for a group of ~30 people.
 
 When I access 'Mail' on the dev server e-mail is polled; that is all the 
 subscribed folders are processed for new mail etc, this can be seen in the 
 logs while the pilot server (again same configuration minus DB) only polls 
 the inbox and no other folders unless you click the folder.
 Is it possible that you have Sieve filters defined on your development 
 server for your account? Since version 1.3.12, we check for new mails in 
 folders for which sieve rules are defined to file messages into.
 Both servers are configure as such in SOGo:
 
 sogod SOGoVacationEnabled NO
 
 sogod SOGoSieveScriptsEnabled NO
 
 The dev server did have sieve enabled about a month ago with valid sieve 
 rules for myself.  Would this cause the issue I am seeing? If so, should SOGo 
 ignore the sieve rules in the DB when SOGoSieveScriptsEnabled is se to to NO?

Yes, this can be the cause of the issue, and yes, we should check 
SOGoSieveScriptsEnabled. Would you please fill a bug report?

You can look at your Sieve filters (even if SOGoSieveScriptsEnabled is set to 
NO) using sogo-tool :

sogo-tool user-preferences get defaults yacketrj SOGoSieveFilters


Thanks,

Francis

--
flachape...@inverse.ca :: +1.514.755.3640 :: http://www.inverse.ca
Inverse :: Leaders behind SOGo (http://sogo.nu) and PacketFence 
(http://packetfence.org)

-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] SOGo 1.3.15 not polling mail

2012-05-24 Thread Ronald J. Yacketta

On 5/24/2012 11:58 AM, Francis Lachapelle wrote:

Hi Ronald

On 2012-05-24, at 11:12 AM, Ronald J. Yacketta wrote:


On 5/24/2012 9:07 AM, Francis Lachapelle wrote:

Hi Ronald

On 2012-05-24, at 8:53 AM, Ronald J. Yacketta wrote:


I have 2 servers running SOGo configured exactly the same (using the same LDAP, 
IMAP and SMTP servers) but separate DB's, one is for internal testing while the 
other is a pilot for a group of ~30 people.

When I access 'Mail' on the dev server e-mail is polled; that is all the 
subscribed folders are processed for new mail etc, this can be seen in the logs 
while the pilot server (again same configuration minus DB) only polls the inbox 
and no other folders unless you click the folder.

Is it possible that you have Sieve filters defined on your development server 
for your account? Since version 1.3.12, we check for new mails in folders for 
which sieve rules are defined to file messages into.

Both servers are configure as such in SOGo:

sogod SOGoVacationEnabled NO

sogod SOGoSieveScriptsEnabled NO


The dev server did have sieve enabled about a month ago with valid sieve rules 
for myself.  Would this cause the issue I am seeing? If so, should SOGo ignore 
the sieve rules in the DB when SOGoSieveScriptsEnabled is se to to NO?

Yes, this can be the cause of the issue, and yes, we should check 
SOGoSieveScriptsEnabled. Would you please fill a bug report?

You can look at your Sieve filters (even if SOGoSieveScriptsEnabled is set to 
NO) using sogo-tool :

sogo-tool user-preferences get defaults yacketrj SOGoSieveFilters


Yah, been using sogo-tool along with a perl script I created to convert 
Avel Sieve rules into SOGo rules :) considering posting the script to 
the list, but fear the back lash of support that could in sue from doing so.


I'll file a bug for this issue as well.

Thanks

Outstanding support as usual :)


--
users@sogo.nu
https://inverse.ca/sogo/lists