Re: [SOGo] Akamai Technologies, Inc. Acquires Inverse

2021-02-01 Thread Zhang Huangbin



> On Feb 1, 2021, at 9:10 PM, Ludovic Marcotte (lmarco...@inverse.ca) 
>  wrote:
> 
> We have exciting news to share with you. Today, Akamai Technologies of 
> Cambridge, Massachusetts announced its acquisition of Inverse. Akamai is a 
> global content delivery network, cybersecurity and cloud service company, 
> providing web and internet security services.

Congratulations, and thanks for your great work. :)


Zhang Huangbin, founder of iRedMail project: https://www.iredmail.org/

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

Re: [SOGo] SOGo On Centos 8

2020-05-25 Thread Zhang Huangbin


> On May 26, 2020, at 7:15 AM, Eslam Basyouni (eslam.basyo...@yahoo.com) 
>  wrote:
> 
> ... but why i cant see it on https://sogo.nu/download.html  , is this still 
> not official or not supported 

I guess SOGo team forgot to update the web page. :)

BTW, packages for Ubuntu 20.04 are available too:
https://packages.inverse.ca/SOGo/nightly/4/ubuntu/


Zhang Huangbin, founder of iRedMail project: https://www.iredmail.org/

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

Re: [SOGo] SOGo On Centos 8

2020-05-24 Thread Zhang Huangbin


> On May 24, 2020, at 3:21 AM, Eslam Basyouni (eslam.basyo...@yahoo.com) 
>  wrote:
> 
> Hello Guys , is there is any estimated time for SOGo on Centos 8 

FYI: http://packages.inverse.ca/SOGo/nightly/4/rhel/8/


Zhang Huangbin, founder of iRedMail project: https://www.iredmail.org/

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

Re: [SOGo] Debian Buster Upgrade

2020-01-23 Thread Zhang Huangbin



> On Jan 23, 2020, at 9:34 PM, Ludovic Marcotte (lmarco...@inverse.ca) 
>  wrote:
> 
> Makes no sense - we release v4.3.0 days ago and the Buster build is there
> ...
> Makes no sense too - we have integration tests that validate that and also 
> many customers using it.

I mean the sogo packages offered in Debian official apt repo, not the official 
SOGo repo.


Zhang Huangbin, founder of iRedMail project: https://www.iredmail.org/

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

Re: [SOGo] Debian Buster Upgrade

2020-01-22 Thread Zhang Huangbin


> On Jan 23, 2020, at 5:20 AM, Robert A Wooldridge (bob.wooldri...@edm-inc.com) 
>  wrote:
> 
> I'm using Debian Buster and sogo version 4.07.  When I do apt upgrade and 
> apt-cache show sogo it only shows version 4.07 and nothing newer.   I have 
> reset my authentication credentials but it doesn't make a difference.  Any 
> ideas on this?

If your sogo was installed from official apt repo, there's no newer release. 
You have to use the nightly build repo instead:
https://sogo.nu/support/faq/how-to-install-sogo-on-debian.html

Btw, sogo packages in Debian Buster apt repo is buggy, you cannot login to web 
UI at all.


Zhang Huangbin, founder of iRedMail project: https://www.iredmail.org/

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

[SOGo] Any plan to build (nightly) packages for Debian 10?

2019-07-16 Thread Zhang Huangbin
https://sogo.nu/bugs/view.php?id=4775

Dear developers,

Debian 10 has been released few days ago, although it ships SOGo-4.0.7, but it's
unlikely users will receive 4.0.8 or newer releases. So maybe it's time to build
nightly packages for Debian 10?

Thank you. :)


Zhang Huangbin, founder of iRedMail project: https://www.iredmail.org/

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

Re: [SOGo] install sogo on ubuntu 18.04

2019-04-30 Thread Zhang Huangbin


> On Apr 30, 2019, at 10:23 PM, Yaisel Cruz Zuñiga (yc...@ucf.edu.cu) 
>  wrote:
> 
> Hello list, somebody has some tutoring how to install sogo in ubuntu 18.04 
> server ?

If you're building a new mail server, try iRedMail, it integrates SOGo 
Groupware.
https://www.iredmail.org/ 
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] too many pid XXXX has been hanging in the same request for XX minutes

2019-03-27 Thread Zhang Huangbin


> On Mar 27, 2019, at 5:07 PM, Christian Mack (christian.m...@uni-konstanz.de) 
>  wrote:
> 
> That is normal for ActiveSync connections, as they can last up to 60
> minutes per your configuration.
> Each connection will block one worker.
> Therefore you need one worker for each ActiveSync connection plus enough
> to handel webinterface and dav access.

Dear Christian,

Is it possible to hibernate these “idle” connections and store relevant info 
into SQL database to save some memory?
i’m always curious what data is stored in memory by a SOGo process/worker.
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] SOGo Calendar Resources | Free/Busy Times

2018-11-01 Thread Zhang Huangbin


> On Nov 1, 2018, at 8:47 PM, Rene Schroth (rene.schr...@mmlab.de) 
>  wrote:
> 
> it would be great if you could confirm that iRedMail/OpenLDAP/SOGo is 
> defective regarding the calendar resources' FREE/BUSY times.
> As we figured out, running SOGo with different LDAP servers, the calendar 
> resources work without issues.

Hi Rene,

I’m not sure what the “defective” means.

A LDAP server just offers you key-value pairs, and that’s OpenLDAP in iRedMail 
does.
SOGo reads/writes required LDAP attributes/values to implement this feature.

What we need is a document to clearly explain which ldap attribute/values SOGo 
needs, and how it works, then we can add required attributes/values, maybe 
tuning ACL is required also.

> Maybe it helps you if I tell you what is the "breaking" point regarding 
> FREE/BUSY times:
> 
> As soon as you add the calEntry or calendarResource objectClass to an LDAP 
> user account, the BUSY time is not being displayed correctly anymore. It will 
> always show FREE!
> Removing the objectClass again, BUSY time is being shown correctly, but of 
> course the account is no resource anymore and auto-accept on invitation won't 
> work anymore.

Would you mind sending me an email (zhb _at_ iredmail _dot_ org)? let’s work 
together to figure it out if it’s not a SOGo bug.


Zhang Huangbin, founder of iRedMail project: https://www.iredmail.org/
Time zone: GMT+2 (Slovenia/Ljubljana).
Available on Telegram: https://t.me/iredmail

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

Re: [SOGo] SOGo Calendar Resources | Free/Busy Times

2018-10-23 Thread Zhang Huangbin



> On Oct 23, 2018, at 11:29 AM, Christian Mack (christian.m...@uni-konstanz.de) 
>  wrote:
> 
> multiplebookings set to -1 or 0 will not restrict overbooking at all, -1
> will only show it booked already.
> 
> multiple bookings set to 1 will only accept an invitation automatically,
> if there is no event already at that time.
> 
> Check if that blocking event has "show time as free" set.
> In that case it will not block overbooking.
> 
> I once had a problem with a client who had set a non existing time zone
> in his client, while inviting.
> 
> 
> Just for completeness:
> Overbooking is always possible by the owner of that account and everyone
> who have direct write privileges.
> Only invitations of that account are restricted.
> 
> MultipleBookingsFieldName is only used, if you do not use the standard
> calendarResource and calEntry schemas.
> Then you can give another LDAP attribute name for looking up the
> MultipleBookings value.

Hi Christian,

How about add this info to the official SOGo document?


Zhang Huangbin, founder of iRedMail project: https://www.iredmail.org/
Time zone: GMT+2 (Slovenia/Ljubljana).
Available on Telegram: https://t.me/iredmail

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

Re: [SOGo] New setup

2018-08-20 Thread Zhang Huangbin


> On Aug 20, 2018, at 1:45 PM, Vedrit Mathias (ved...@hotmail.com) 
>  wrote:
> 
> I’m hoping I can get some help with a new setup on Ubuntu 18.04 via iRedMail 
> 0.9.8 where when a user logs into the webmail, they can’t select a mailbox or 
> make any changes. In sogo.log, I see a lot of messages that say “IMAP 
> connection is broken, trying to reconnect…” followed by “Could not list 
> mailbox hierarchy!” or “could not select URL: 
> imap://(user)%40(domain).com@127.0.0.1/INBOX: (null)”

Any relevant log in Dovecot (IMAP server) log files?


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+2 (Slovenia/Ljubljana).
Available on Telegram: https://t.me/iredmail

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

Re: [SOGo] Any way to backup and restore shared calendars?

2017-08-27 Thread Zhang Huangbin

> On Aug 27, 2017, at 8:21 PM, Stefan Klatt (stefan.kl...@cac-netzwerk.de) 
> <users@sogo.nu> wrote:
> 
>>> Besides, setting ACL in LDAP server is a good idea.
>> Sorry, i mean it’s NOT a good idea.
>> 
> Why?

My original purpose is it (slightly) increases deployment complexity, but ACL 
in LDAP server side is the best way to do ACL.


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).
Available on Telegram: https://t.me/iredmail

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

Re: [SOGo] Any way to backup and restore shared calendars?

2017-08-22 Thread Zhang Huangbin

> On Aug 22, 2017, at 11:28 PM, Christian Mack (christian.m...@uni-konstanz.de) 
> <users@sogo.nu> wrote:
> 
> Yes, a user has write privilege on his attributes including
> userPassword, but other users and Admin users don't.
> Backup is done with the admin user only, there is no bind for the user,
> as there is no user to type in the password.

OK, so SOGo queries LDAP server to get full DN of login user first,
then bind as user dn and login password for login authentication.
[Tested on a VM moment ago, after restarted memcached, it works
this way.]

Do i understand correctly that the bindDN queries only login user’s
LDAP dn, no other attributes? If yes, i’d like to create a new bind dn
with only ‘dn’ access for SOGo.

According to SOGo document, parameter “bindAsCurrentUser”
and “bindFields” are required to always bind as authenticated user,
but no sample setting for “bindFields”? "An array of fields to use when
doing indirect binds”, what kind of array?

Also, please consider implementing the placeholder support in
“baseDN”, “bindDN” and “filter” (used in sogo.conf) like requested in
bug report: https://sogo.nu/bugs/view.php?id=3685

With placeholder support:

- It saves the first query used to get user dn - because we can use
  user's full ldap dn with placeholders as bindDN. For example:

  
bindDN="mail=,ou=Users,domainName=,o=domains,dc=xx,dc=xx"

- It also helps implement per-domain global address book - if domain
  accounts are stored in same ldap container, we can use it as baseDN.
  For example:

  baseDN="domainName=,o=domains,dc=xx,dc=xx”

I asked for paid development support days ago, but you guys were
too busy and no time to reply. :(

> I disagree here, and the data security laws in Germany alike.
> We have over 60 services on this LDAP.
> Every one has its own admin user and he can only access those attributes
> necessary for his service.
> With that a security breach on one service can be handled without
> changing all other services too.
> And a security breach on one service does never reveal all data of the user.

Thanks for sharing. i agree that different bind DNs with different ACL
is better for security.

Back to sogo backup data, are these Germany laws also applicable to
force applications (SOGo, in our case) not to store unnecessary data
(“userPassword” and other ldif data in our case) in backup file?

I want to understand why SOGo needs user’s full LDIF data in backup
file (no laws involved, just software design), because it doesn’t make
any sense to me — it should store only the login username (a unique
user id) instead of full LDIF data.


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).
Available on Telegram: https://t.me/iredmail

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

Re: [SOGo] Any way to backup and restore shared calendars?

2017-08-22 Thread Zhang Huangbin

> On Aug 22, 2017, at 8:11 PM, Zhang Huangbin (z...@iredmail.org) 
> <users@sogo.nu> wrote:
> 
> Besides, setting ACL in LDAP server is a good idea.

Sorry, i mean it’s NOT a good idea.

----
Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).
Available on Telegram: https://t.me/iredmail

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

Re: [SOGo] Any way to backup and restore shared calendars?

2017-08-22 Thread Zhang Huangbin

> On Aug 22, 2017, at 7:18 PM, Christian Mack (christian.m...@uni-konstanz.de) 
> <users@sogo.nu> wrote:
> 
> You can change that.
> Just do _not_ give the administrative account (used to query the
> Lprovided DAP) read privileges on attribute userPassword.
> It is not necessary anyway, as SOGo does a bind with the password
> provided by the user.

I don’t think this is a good idea, a LDAP dn has read/write privilege to
all its own attributes are quite normal, for example, change password
in self-service applications (we do this in Roundcube webmail too).

Besides, setting ACL in LDAP server is a good idea. If we go this way,
we have to create a new bind dn for just SOGO itself, and add one more
ACL in LDAP server to control which LDAP objectClass/attribute it can
read. This is making software deployment more complex.

So, why not simply don’t store unnecessary data in backup file? This should
be the best solution.


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).
Available on Telegram: https://t.me/iredmail

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

Re: [SOGo] Any way to backup and restore shared calendars?

2017-08-22 Thread Zhang Huangbin

> On Aug 21, 2017, at 10:49 PM, Christian Mack (christian.m...@uni-konstanz.de) 
> <users@sogo.nu> wrote:
> 
> That should have worked.
> At least on my last migration test it did.

Unfortunately, it didn’t work for me.

> You should open a bug report for that.

Bug report: https://sogo.nu/bugs/view.php?id=4256

Here’s how i got the backup fully restored (SOGo 2.2.15 -> 2.3.22 -> 3.2.10): 3 
machines involved, old server runs SOGo-2.2.15 and we’re going to migrate it. A 
temporary virtual machine runs SOGo-2.3.22 and used to help get the latest SQL 
structure of SOGo 2.x branch. The final new server runs SOGo-3.2.10, it is the 
one we’re going to deploy in production. Steps:

1) Old server is running SOGo-2.2.15, backup data with 'sogo-tool backup'.
2) Setup a new VM with SOGo-2.3.22 (the latest version of 2.x branch).
3) On new VM, drop sogo db, re-create it, restart sogo service. SOGo creates 
required SQL tables automatically.  Note: since it’s already 2.3.x with new SQL 
structure, i didn’t run the script "sql-update-2.2.17_to_2.3.0-mysql.sh” to 
modify SQL table structure.
4) On new VM, restore backup files with 'sogo-tool restore'. Login to SOGo and 
verify restored data. So far so good, all personal contacts/calendars, and 
shared calendars are restored.
5) On new VM, backup sogo data by dumping the whole sogo sql database (not 
‘sogo-tool backup’).
6) On final new server, runs SOGo-3.2.10 (the latest version of 3.x branch).
7) On final new server, drop sogo db, re-create it, restart sogo service. SOGo 
creates required SQL tables automatically.
8) On final new server, import dumped sogo sql file (generated on step #5).
9) On final new server, run script "sql-update-3.0.0-to-combined-mysql.sh” 
(shipped in SOGo package) to update SQL structure.
10) On final new server, backup data with “sogo-tool backup”. Then run 
“sogo-tool restore -p -c /etc/sogo/sieve.cred  ” to generate 
sieve rules.
11) Login to final new server and review restored data, so far so good, all 
personal contacts/calendars, and shared calendars are restored.

Question:

- We stores mail accounts in OpenLDAP, why does SOGo backup file contains full 
LDIF data of user? especially attribute "userPassword". I suppose only uid 
(full email address) and/or ldap dn of user should be enough? It may become a 
security concern if sysadmin didn’t realize the backup file contains (hashed) 
password and didn’t set proper owner/group and file permission.

Again, thank you very much for helping. :)


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).
Available on Telegram: https://t.me/iredmail

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

Re: [SOGo] Any way to backup and restore shared calendars?

2017-08-18 Thread Zhang Huangbin

> On Aug 18, 2017, at 6:09 PM, Christian Mack (christian.m...@uni-konstanz.de) 
> <users@sogo.nu> wrote:
> 
> for user in 
> do

This helps. Thank you very much.

>> The backup files were generated with sogo-2.2.15, but SOGo on new server is 
>> 3.2.10 (nightly build). Does it matter?
> 
> Yes, that does matter.
> You have to upgrade to at least 2.3.1 before being able to use the
> backup for restore on a 3.x.y version.
> This also means, you have to run the database script
> sql-update-2.2.17_to_2.3.0.sh or
> sql-update-2.2.17_to_2.3.0-mysql.sh
> depending on your dbms.

This is what i did, it’s fully working with SOGo-2.3.22 (the latest 2.x), but 
NOT fully working with SOGo-3.2.10:

1) On OLD server, it runs SOGo-2.2.15. Take backup with 'sogo-tool backup’.
2) Setup a new (1st) VM with SOGo-2.3.22 (latest nightly build), drop sogo 
database, re-create the database and restart SOGo. SOGo creates required SQL 
tables automatically. Note: since it’s already 2.3.x with new SQL structure, i 
didn’t run the database script "sql-update-2.2.17_to_2.3.0-mysql.sh”.
3) Restore SOGo backup data (toke on step 1) with ‘sogo-tool restore’. 
Everything is fine, personal calendars/contacts and shared calendars are all 
present.
4) Now take a backup on this new (1st) VM with SOGo-2.3.22 (sogo-tool backup).
5) Setup 2nd VM with SOGO-3.2.10 (latest nightly build), drop sogo database, 
re-create the database and restart SOGo. SOGo creates required SQL tables 
automatically. Restore the backup token on 1st VM (step 4) with ’sogo-tool 
restore'. Personal calendars/contacts are all present, but no shared calendars.

Was any step wrong while restoring with SOGo-3.x? How can i correctly restore 
shared calendars?

Thank you very much for helping.


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).
Available on Telegram: https://t.me/iredmail

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

Re: [SOGo] Any way to backup and restore shared calendars?

2017-08-17 Thread Zhang Huangbin

> On Aug 16, 2017, at 4:13 PM, Zhang Huangbin (z...@iredmail.org) 
> <users@sogo.nu> wrote:
> 
>> On Aug 16, 2017, at 3:41 PM, Christian Mack (christian.m...@uni-konstanz.de) 
>> <users@sogo.nu> wrote:
>> 
>> You have to backup and restore with sogo-tool then.
>> When restoring, you have to first restore all users and their folders,
>> then their preferences.
>> Afterwards you have to restore all preferences again.
> 
> Did i understand correctly that the procedure is:
> 
> sogo-tool restore -f ALL  
> sogo-tool restore -p  
> sogo-tool restore -p  

Cannot get it working, shared calendars are always empty, but i can see 
there’re shared calendar related data in backup file (generated with ‘sogo-tool 
backup’).

The backup files were generated with sogo-2.2.15, but SOGo on new server is 
3.2.10 (nightly build). Does it matter?


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).
Available on Telegram: https://t.me/iredmail

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

Re: [SOGo] Any way to backup and restore shared calendars?

2017-08-17 Thread Zhang Huangbin

> On Aug 16, 2017, at 3:41 PM, Christian Mack (christian.m...@uni-konstanz.de) 
> <users@sogo.nu> wrote:
> 
> You have to backup and restore with sogo-tool then.
> When restoring, you have to first restore all users and their folders,
> then their preferences.
> Afterwards you have to restore all preferences again.

Did i understand correctly that the procedure is:

sogo-tool restore -f ALL  
sogo-tool restore -p  
sogo-tool restore -p  


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).
Available on Telegram: https://t.me/iredmail

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

[SOGo] Any way to backup and restore shared calendars?

2017-08-15 Thread Zhang Huangbin
Dear all,

Is there any way to backup and restore shared calendars?
I tried “sogo-tool backup” and “sogo-tool restore”, but no shared calendar 
restored.

Thanks for helping.

P.S. on old server, we’re running SOGo-2.x (it creates few sql tables for each 
user), and new server runs SOGo-3.2.10 (9 sql tables for all users). We don’t 
want to use old sql structure, so any way to implement this without 
dump/restore SQL tables directly?


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).
Available on Telegram: https://t.me/iredmail

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

Re: [SOGo] ANN: SOGo v3.2.10 released!

2017-07-05 Thread Zhang Huangbin

> On Jul 6, 2017, at 4:11 AM, Ludovic Marcotte (lmarco...@inverse.ca) 
> <users@sogo.nu> wrote:
> 
> • [core] load-testing scripts to evaluate SOGo performance

Thanks for the great work. :)

Any doc about the load-testing scripts? Didn’t find it in "Installation and 
Configuration Guide”.


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).
Available on Telegram: https://t.me/iredmail

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

Re: [SOGo] Download without Support Packages

2017-05-03 Thread Zhang Huangbin

> On May 3, 2017, at 7:24 PM, a g (26196...@web.de) <users@sogo.nu> wrote:
> 
> I'm new in this list.
> I thought that sogo provides a community edition, but I can't download the 
> software without Support Packages.
> Is that correct or is there a way to download a community edition without 
> Support Packages?

Use the nightly builds:
https://packages.inverse.ca/SOGo/nightly/


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).
Available on Telegram: https://t.me/iredmail

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

Re: [SOGo] Inbound Mail Problem

2017-04-11 Thread Zhang Huangbin

> On Apr 11, 2017, at 10:48 PM, Simon Sedgwick (si...@sedgwick.com.au) 
>  wrote:
> 
> Apr 10 23:35:20 mx postfix/smtpd[14732]: NOQUEUE: reject: RCPT from 
> smtp2-1.nbnco.com.au[49.0.12.212]: 451 4.7.1 : 
> Recipient address rejected: Intentional policy rejection, please try again 
> later; 

Re: [SOGo] got 35118 messages like this in my mail plese help me fix it

2017-03-13 Thread Zhang Huangbin

> On Mar 13, 2017, at 10:58 PM, Renato Gallo (vmxevils...@gmail.com) 
> <users@sogo.nu> wrote:
> 
> <0x0x17e5160[GCSAlarmsFolder]> -[GCSAlarmsFolder 
> recordsForEntriesFromDate:toDate:]: cannot execute fetch:  0x15caba0> NAME:ExecutionFailed REASON:Table 'sogo.sogo_alarms_folder' 
> doesn't exist
> ...
> 2017-03-13 10:56:28.195 sogo-tool[32052:32052] Table 
> 'sogo.sogo_sessions_folder' doesn't exist

Restarting SOGo service should fix this, it will create required SQL tables 
automatically.


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).
Available on Telegram: https://t.me/iredmail

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

Re: [SOGo] SOGo Administrative Account

2017-02-23 Thread Zhang Huangbin

> On Feb 21, 2017, at 6:18 PM, Lucas (mail@limone.space) <users@sogo.nu> wrote:
> 
> And that all worked fine, but for some Reason I cannot login into the SOGo 
> webpanel with the credentials sogo - supersecretpassword

With iRedMail, I suppose just listing the email addresses in SOGo parameter 
“SOGoSuperUsernames = ();” should be enough, no extra LDIF file and importing 
required.

What confuses me is, how does this super user work? For example, Is there any 
new button/tab on web UI after promoted to be a super user? or this is for 
command line tools (like ‘sogo-tool’)?

----
Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).
Available on Telegram: https://t.me/iredmail

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

Re: [SOGo] upgrade to latest

2017-01-27 Thread Zhang Huangbin

> On Jan 27, 2017, at 6:19 AM, Ivan Gonzalez (iva...@nocroom.com) 
> <users@sogo.nu> wrote:
> 
> What is the best way to upgrade sogo when using on IredMail ?
> Last time I have, it lost connection to database

It’s not clear how you upgraded SOGo on that iRedMail server and what errors it 
reports. You can also post this issue to iRedMail forum:
http://www.iredmail.org/forum/ 

Usually we just run yum/apt to upgrade SOGo binary packages from official SOGo 
nightly build repo (since we don’t have subscription for the stable release).

If you’re looking for upgrading from SOGo-2 to SOGo-3, we have a tutorial for 
you:
http://www.iredmail.org/docs/upgrade.sogo.2.to.3.html


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).
Available on Telegram: https://t.me/iredmail

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

Re: [SOGo] sogo redirects to http instead of https

2016-11-30 Thread Zhang Huangbin

> On Nov 30, 2016, at 7:05 PM, mj (li...@merit.unu.edu) <users@sogo.nu> wrote:
> 
> Our apache2 SOGo.conf seems to be configured correctly, but after 
> authentication, we are redirected to http instead of https.

Try this: in Apache config file for ‘http://', add a rewrite rule to redirect 
to https like below:

RewriteRule /SOGo(.*) https://%{HTTP_HOST}%{REQUEST_URI}

----
Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

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

Re: [SOGo] Problem updating DB

2016-11-25 Thread Zhang Huangbin

> On Nov 25, 2016, at 9:26 PM, postmaster (postmas...@tayzee.xyz) 
> <users@sogo.nu> wrote:
> 
> I am having an issue when trying to update the sogo db to the new combined 
> version.
> ...
> I get this problem whenever I try and run (as root):
> bash sql-update-3.0.0-to-combined-mysql.sh 

This script is buggy, it doesn’t correct set new parameters (OCSCacheFolderURL, 
OCSStoreURL, OCSAclURL) with sql username/password.

Anyway, we have a tutorial for you:
http://www.iredmail.org/docs/upgrade.sogo.combined.sql.tables.html


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

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

Re: [SOGo] Newbie is looking for EASY installation instructions for SOGo on KUBUNTU

2016-11-20 Thread Zhang Huangbin

> On Nov 20, 2016, at 6:51 AM, adg adg82439 (adg82...@live.de) <users@sogo.nu> 
> wrote:
> 
> As I understand SOGo is a Groupware which can sync by active sync.
> But I do not find how to use Sogo after installation.

SOGo offers webmail, CalDAV (calendar, tasks), CardDAV (contacts), and 
ActiveSync services.

*) With CalDAV service, you can configure mail clients to sync calendar and 
tasks.
*) With CardDAV service, you can configure mail clients to sync contacts.
*) With ActiveSync service, you can configure mail clients which supports 
Exchange ActiveSync protocol (like MS Outlook and mobile phones) to sync 
calendar, contacts, tasks, emails.

We have some tutorials to help iRedMail users setup mail clients, maybe it 
helps you a little:
http://www.iredmail.org/docs/#mua

- Exchange ActiveSync: Setup Android devices
- Exchange ActiveSync: Setup BlackBerry 10 devices
- Exchange ActiveSync: Setup iOS devices
- Exchange ActiveSync: Setup Outlook 2013 for Windows
- Mac OS X: Add contact service (CardDAV) in Contacts.app
- Mac OS X: Add calendar (CalDAV) and task (Reminders) service in iCalendar.app


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

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

Re: [SOGo] domain seperation using ldap

2016-11-18 Thread Zhang Huangbin

> On Nov 18, 2016, at 5:54 PM, Jeroen Beerstra (jer...@beerstra.org) 
> <users@sogo.nu> wrote:
> 
> So the question remains and it would be really helpful if I could setup
> LDAP in a way that allows domain separation without needing to add a
> section to the sogo.conf per domain.

I believe this can be perfectly solved if SOGo supports place holder in LDAP 
base dn, bind dn, filter, etc.
Related feature request i submitted in bug tracker:
https://sogo.nu/bugs/view.php?id=3685

Let me copy the request below:

###
Please consider supporting place holders in LDAP base dn, bind dn and filter, 
so that we can get flexible LDAP support.

For example, login as user 'j...@mydomain.com':

- %s for full login username (full email address)
- %d for domain part in email address (mydomain.com)
- %u for username part in email address (john)

Then we can get flexible LDAP base dn and bind dn like this:

base dn: domainName=%d,o=domains,dc=iredmail,dc=org
bind dn: mail=%s,ou=Users,domainName=%d,o=domains,dc=iredmail,dc=org
###

With placeholder support, we can easily achieve the “separation”, no extra 
(logical) code required to be done in SOGo itself.


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

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

Re: [SOGo] Still no plan to support SMTP over TLS?

2016-09-09 Thread Zhang Huangbin

> On Sep 9, 2016, at 3:31 PM, Christian Mack (christian.m...@uni-konstanz.de) 
> <users@sogo.nu> wrote:
> 
> Or use the workaround mentiond in the bug:
> stunnel
> (Because of that the urgency to implement TLS in SOGo is very low.)

IMO, SASL AUTh and SMTP over TLS should be urgent, because:

*) it makes SOGo more flexible to connect to SMTP server
*) secure connection is so important today
*) As mentioned in another sogo mailing list thread, each activesync mobile 
client requires 20-40MB memory, isn't it normal to run SOGo on a more powerful 
server to handle more EAS clients?
*) "stunnel"? Postfix (and other MTAs) offers submission (and deprecated SMTPS) 
for years, and it's standard protocol, why stunnel? Why not improve SOGo to 
"fix" it?


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

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

[SOGo] Still no plan to support SMTP over TLS?

2016-09-08 Thread Zhang Huangbin
Dear developers,

Just wondering do we have any plan to support SMTP over TLS in SOGo? Any reason 
why we don't implement this?

There's a 7-year old ticket, #31, can we have some love to secure smtp 
connection?
https://sogo.nu/bugs/view.php?id=31

We force all end users to send email through port 587 (submission, SMTP over 
TLS). How do you configure secure SMTP connection in SOGo if you run SOGo on a 
separate server without local MTA?


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

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

Re: [SOGo] Forward emails to more than 4 internal accounts

2016-08-18 Thread Zhang Huangbin

> On Aug 19, 2016, at 1:21 AM, Juan Carlos Giler (jcgi...@in-planet.net) 
> <users@sogo.nu> wrote:
> 
> I try to forward mails to more than 4 internal accounts, but it only works 
> when I have 1 to 4 accounts configured, not work when i set more than 4 
> internals accounts (ex: 6):

If you're running Dovecot as POP3/IMAP/managesieve server, make sure you have 
this setting in dovecot.conf:

plugin {
sieve_max_redirects = 20
}

This will allow you to forward email to max 20 addresses in sieve (with sieve 
directive "redirect").


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

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

Re: [SOGo] Alternative SOGo packages repository for Debian and Ubuntu

2016-07-27 Thread Zhang Huangbin

> On Jul 28, 2016, at 6:30 AM, Slávek Banko (slavek.ba...@axis.cz) 
> <users@sogo.nu> wrote:
> 
> For SOGo v.2.x
>  deb http://www.axis.cz/linux/debian  sogo-v2
> 
> For SOGo v3.x
>  deb http://www.axis.cz/linux/debian  sogo-v3

How about indicate the SOGo version in URL, and change 'sogo-v2/v3' to 'main'? 
like this:

deb http:///sogo/2/debian  main
deb http:///sogo/3/debian  main

deb http:///sogo/2/ubuntu  main
deb http:///sogo/3/ubuntu  main

it will be easier for end users to switch to different apt repo, and easier for 
me to support different repos in iRedMail. :)


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

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

Re: [SOGo] ANN: SOGo Package Repositories

2016-07-21 Thread Zhang Huangbin
Dear folks,

Maybe the best way to benefit all SOGo users is contacting SOGo package 
maintainer of EPEL repo (for RHEL/CentOS), Debian/Ubuntu official apt repo, 
then keep SOGo up to date?


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

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

[SOGo] sogo-tool argument 'expire-autoreply' changed to 'update-autoreply'?

2016-06-28 Thread Zhang Huangbin
Dear developers,

I noticed sogo-tool argument 'expire-autoreply' has been changed to 
'update-autoreply'. this causes cron sent out many notification emails due to 
invalid argument.

This change is not mentioned in SOGo document "Installation and Configuration 
Guide" (the "Upgrading" section), or the "NEWS" file in SOGo github repo.

It might be a good idea to notify all SOGo users about this change. Even 
better, keep old 'expire-autoreply' (but not shown in 'sogo-tool --help') for 
backward-compatible (for some releases).


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

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

Re: [SOGo] Global Address book via Carddav?

2016-06-28 Thread Zhang Huangbin

> On Jun 28, 2016, at 7:57 PM, Christian Mack (christian.m...@uni-konstanz.de) 
> <users@sogo.nu> wrote:
> 
> Yes it is.
> The URL is something like:
> https://${your_SOGo_Server}/SOGo/dav/${user_id}/Contacts/${SOGoUserSources_id}
> 
> ${SOGoUserSources_id} is set by you in your sogo.conf in section
> SOGoUserSources for this address book as "id".

I have trouble with this URL:

- With MySQL backend, Apple Contacts.app cannot verify the URL.
- With OpenLDAP backend, Apple Contacts.app can add this address book, but it's 
empty (i have 'listRequiresDot = NO;' for this ldap address book.)

I didn't find useful info in sogo log myself, any log or anything else i can 
provide to help figure it out?


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

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

Re: [SOGo] sieve backwards not compatible.

2016-06-06 Thread Zhang Huangbin

> On Jun 6, 2016, at 6:38 PM, Rainer Ruprechtsberger 
> (rruprechtsberger+s...@volkshilfe-ooe.at) <users@sogo.nu> wrote:
> 
> Still on SOGo 2.x, is this a new feature of the SOGo 3.x web interface?

This is a sieve feature.

----
Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

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

Re: [SOGo] sieve backwards not compatible.

2016-06-03 Thread Zhang Huangbin

> On Jun 3, 2016, at 8:24 PM, Christian Eichert (c...@zp1.net) <users@sogo.nu> 
> wrote:
> 
> How can tell SOGo to show the new version of the sogo.sieve file from the 
> server ?

If i understand how sieve works in SOGo:

-) SOGo stores sieve rules in SQL db, export all sieve rules to sieve server.
-) SOGo doesn't read sieve rules from sieve server. so it's impossible to 
migrate sieve rules from other server by simply copying sieve rule files to 
file system.

This is bad design, because you cannot manage sieve rules in other apps via 
standard managesieve service. for example, Roundcube webmail with its official 
plugin 'managesieve'.

Wish this design could be changed someday.


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

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

Re: [SOGo] Updating...

2016-05-31 Thread Zhang Huangbin

> On May 31, 2016, at 3:25 AM, Patrice Levesque (pleves...@inverse.ca) 
> <users@sogo.nu> wrote:
> 
> Let me restate, the “combined” data model is *optional* and is not part
> of any standard upgrade routine.

Any official document about migrating to "combined" data model?


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

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

Re: [SOGo] SSL issues SOGo web access and ActiveSync

2016-05-26 Thread Zhang Huangbin

> On May 26, 2016, at 3:23 AM, Chris Burke (burkech...@yahoo.com) 
> <users@sogo.nu> wrote:
> 
> You must set the x-webobjects headers. See the documentation:
> http://sogo.nu/files/docs/SOGoInstallationGuide.html#_apache_configuration

Suggestions to default Apache SOGo config file (source file 'Apache/SOGo.conf'):

*) Set and enable "x-webobjects-server-*" with Apache env variable 'HTTP_HOST', 
there're 2 advantages with this change:

1: no change required to be made by sys admin.
2: supports multiple web hosts. With url hard-coded in x-webobjects-server-url, 
no matter end user access host 'https://abc.com/SOGo' or 'https://xyz/SOGo', 
they will be redirected to url 'https:///SOGo', this is not 
good.


RequestHeader set "x-webobjects-server-port" "443"
RequestHeader set "x-webobjects-server-name" "%{HTTP_HOST}e" env=HTTP_HOST
RequestHeader set "x-webobjects-server-url" "https://%{HTTP_HOST}e; 
env=HTTP_HOST


*) Always redirect http traffic to https:


RewriteRule /SOGo(.*) https://%{HTTP_HOST}%{REQUEST_URI}



Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

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

Re: [SOGo] ANN: SOGo v3.1 released!

2016-05-20 Thread Zhang Huangbin

> On May 20, 2016, at 2:30 AM, Chris (ch...@espacenetworks.com) <users@sogo.nu> 
> wrote:
> 
> Any possibility of iRedMail for Ubuntu 16.04 Xenial, to match SOGo ZEG, in 
> other words, to support Samba 4.3 (included in Ubuntu Xenial) and updated 
> OpenChange packages?  OpenChange+Samba would increase collaboration in groups 
> containing users with Outlook 2003, 2007... Yes, those Outlook versions are 
> ancient, yet, it's best to support them, since the software is available and 
> it does the job.

No plan yet. But contributions are always welcome. :)


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

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

Re: [SOGo] ANN: SOGo v3.1 released!

2016-05-19 Thread Zhang Huangbin

> On May 19, 2016, at 7:49 AM, Ludovic Marcotte (lmarco...@inverse.ca) 
> <users@sogo.nu> wrote:
> 
> The Inverse team is pleased to announce the immediate availability of SOGo 
> v3.1.0. This is a major release of SOGo which focuses on important new 
> features and improved stability over previous versions.

Several issues:

*) Didn't mention "SOGo database schemas are _not_ automatically upgraded by 
the packaging system" in announcement.
*) Run 'sql-update-3.0.0-to-combined-mysql.sh', it updated sogo.conf, but 
didn't set SQL password in two parameters: OCSStoreURL, OCSAclURL.
*) After upgrading, error in sogo log file:

May 19 03:54:34 sogod [15200]: <0x0x55ddc17b7158[GCSFolderManager]> 
ERROR(-[GCSFolderManager folderForRecord:]): missing folder location in record: 
{"c_acl_location" = ""; "c_folder_id" = 39; "c_folder_type" = 
Appointment; "c_location" = ""; "c_path" = 
"/Users/z...@iredmail.org/Calendar/3CE5-56EC7B80-1-53FBE880"; 
"c_quick_location" = ""; }

Any hint?


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

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

Re: [SOGo] ANN: SOGo v3.1 released!

2016-05-18 Thread Zhang Huangbin

> On May 19, 2016, at 7:49 AM, Ludovic Marcotte (lmarco...@inverse.ca) 
> <users@sogo.nu> wrote:
> 
> The Inverse team is pleased to announce the immediate availability of SOGo 
> v3.1.0. This is a major release of SOGo which focuses on important new 
> features and improved stability over previous versions.

Thank you so much for your great work.

iRedMail-0.9.5-1 integrates SOGo-3.1 for RHEL/CentOS/Debian/Ubuntu:
http://www.iredmail.org/


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

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

Re: [SOGo] Step by Step Tutorial

2016-05-12 Thread Zhang Huangbin

> On May 12, 2016, at 9:13 PM, Christoph Kuhnert (christo...@me.com) 
> <users@sogo.nu> wrote:
> 
> Can anyone recommend a good step by step tutorial to setup all the software 
> that is required to run SOGo on a fresh linux instal;lation (e.g. ubuntu)?
> 
> Including setting up Postfix, LDAP, etc.

Dear Christoph,

iRedMail (free, open source) integrates Postfix, OpenLDAP, Dovecot and SOGO 
(optional), you may want to give it a try:
http://www.iredmail.org/

Here's installation guide for Debian and Ubuntu:
http://www.iredmail.org/docs/install.iredmail.on.debian.ubuntu.html


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

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

Re: [SOGo] Help: SOGo login page doesn't work

2016-04-16 Thread Zhang Huangbin

> On Apr 16, 2016, at 11:31 PM, Zhang Huangbin <z...@iredmail.org> wrote:
> 
>// This is the equivalent of an AJAX call to 
> /SOGo/so/_UserLogin_/date

if i access URL "https:///SOGo/so//date directly, SOGo shows 
error message:


Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /SOGo/so//date.

Reason: Error reading from remote server


And one error message in SOGo log file:

---
EXCEPTION:  NAME:NSInvalidArgumentException 
REASON:Tried to add nil to array INFO:(null)
<0x0x7fec55c49ab0[WOWatchDogChild]> child 18044 exited
<0x0x7fec55c49ab0[WOWatchDogChild]>  (terminated due to signal 6)
<0x0x7fec559a3a20[WOWatchDog]> child spawned with pid 18569--
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] Help: SOGo login page doesn't work

2016-04-16 Thread Zhang Huangbin
Dear all,

I got some web page errors while loading SOGo login page (nightly build, 
201604160213), and it just shows a blank page. Need some help to figure out 
what the problem is. (note: same issue happened with SOGo 2.3.10 and 3.0.2.)

*) first error: "Uncaught SyntaxError: Unexpected token (", index page, line 
268.

The HTML code is:

---
// This is the equivalent of an AJAX call to 
/SOGo/so/_UserLogin_/date
var currentDay = {(null): (null), (null): (null), (null): 23683, 
(null): {(null): (null), (null): (null)}, (null): (null), (null): (null)};
var clabels = {(null): (null), (null): (null), (null): (null), 
(null): (null), (null): (null), (null): (null), (null): (null), (null): (null), 
(null): (null), (null): (null), (null): (null), (null): (null), (null): (null), 
(null): (null), (null): (null), (null): (null), (null): (null), (null): (null), 
(null): (null), (null): (null), (null): (null), (null): (null), (null): (null), 
(null): (null), (null): (null), (null): (null), (null): (null), (null): (null), 
(null): (null), (null): (null), (null): (null), (null): (null), (null): (null), 
(null): (null), (null): (null), (null): (null), (null): (null), (null): (null), 
(null): (null), (null): (null), (null): (null), (null): (null), (null): (null), 
(null): (null), (null): (null), (null): (null), (null): (null), (null): (null), 
(null): (null), (null): (null), (null): (null), (null): (null), (null): (null), 
(null): (null), (null): (null), (null): (null), (null): (null), (null): (null), 
(null): (null), (null): (null), (null): (null), (null): (null), (null): (null), 
(null): (null), (null): (null), (null): (null), (null): (null), (null): (null), 
(null): (null), (null): (null), (null): (null), (null): (null), (null): (null), 
(null): (null), (null): (null), (null): (null), (null): (null), (null): (null), 
(null): (null), (null): (null), (null): (null), (null): (null), (null): (null), 
(null): (null), (null): (null), (null): (null), (null): (null), (null): (null), 
(null): (null), (null): (null), (null): (null), (null): (null), (null): (null), 
(null): (null), (null): (null), (null): (null), (null): (null), (null): (null), 
(null): (null), (null): (null), (null): (null), (null): (null), (null): (null), 
(null): (null), (null): (null), (null): (null), (null): (null), (null): (null), 
(null): (null), (null): (null), (null): (null)};
var labels = {(null): (null), (null): (null), (null): (null), 
(null): (null), (null): (null), (null): (null), (null): (null), (null): (null), 
(null): (null), (null): (null), (null): (null), (null): (null), (null): (null), 
(null): (null), (null): (null), (null): (null), (null): (null), (null): (null), 
(null): (null), (null): (null), (null): (null), (null): (null), (null): (null), 
(null): (null), (null): (null), (null): (null), (null): (null), (null): (null), 
(null): (null), (null): (null), (null): (null), (null): (null), (null): (null), 
(null): (null), (null): (null), (null): (null), (null): (null), (null): (null), 
(null): (null), (null): (null), (null): (null), (null): (null), (null): (null), 
(null): (null), (null): (null), (null): (null), (null): (null), (null): (null), 
(null): (null), (null): (null), (null): (null), (null): (null), (null): (null), 
(null): (null), (null): (null), (null): (null), (null): (null), (null): (null), 
(null): (null), (null): (null), (null): (null), (null): (null), (null): (null), 
(null): (null), (null): (null), (null): (null), (null): (null), (null): (null), 
(null): (null), (null): (null), (null): (null), (null): (null), (null): (null), 
(null): (null), (null): (null), (null): (null), (null): (null), (null): (null), 
(null): (null), (null): (null)};
  
-

*) second error:

---
angular.js:38 Uncaught Error: [$injector:modulerr] 
http://errors.angularjs.org/1.4.10/$injector/modulerr?p0=SOGo.MainUI=Err…%2FSOGo.woa%2FWebServerResources%2Fjs%2Fvendor%2Fangular.min.js%3A19%3A463)(anonymous
 function) @ angular.js:38(anonymous function) @ angular.js:4484p @ 
angular.js:341g @ angular.js:4439db @ angular.js:4587c @ angular.js:1677yc @ 
angular.js:1698de @ angular.js:1592(anonymous function) @ angular.js:29657b @ 
angular.js:3156Pf @ angular.js:3369Of.d @ angular.js:3365


While accesing SOGo, there's one error message:

--
sogod[18044] GSFromUnicode() No iconv for encoding x9c000100
--

Any idea?

Thanks for your time.
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] SOGo could not allocate MySQL4 connection

2016-03-24 Thread Zhang Huangbin

> On Mar 24, 2016, at 3:44 PM, ?? Lijun Fan <690590...@qq.com> wrote:
> 
> 2016-03-24 03:36:46.585 sogod[9230] ERROR((null)): could not allocate MySQL4 
> connection!

Do you have package "sope4.9-sdl1-mysql" installed?


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).



[SOGo] Possible bug: Tag, Label (v3.0.2)

2016-03-23 Thread Zhang Huangbin
Dear developers,

I'm running SOGo 3.0.2. While viewing a message, there's an action "Add a tag" 
in the 3-dot menu, i typed a word as tag, then press Enter, it shows a rounded 
button without any text. Please check attached image to understand what i'm 
talking about.

Also, in "Preferences -> Mail -> Labels", during my testings, if i typed 
several tags in one email (again, they all are buttons without any text), 
there're several empty labels in this preference page.

Tag/Label are not mentioned in SOGo Installation Guide either, could you help 
explain:

*) what they are
*) how they work
*) do they require additional sql tables/settings?
*) How can i disable them (like in sogo.conf)?



Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] SOGo Cloudron Install

2016-03-14 Thread Zhang Huangbin

> On Mar 15, 2016, at 12:57 AM, Zhang Huangbin <z...@iredmail.org> wrote:
> 
> Same request here:
> 
> iRedMail [1] is a free, open source mail server solution, it ships SOGo for 
> CalDAV, CardDAV, ActiveSync, is it possible to list iRedMail on download page 
> as an alternative way to run SOGo?
> 
> [1] iRedMail: http://www.iredmail.org/

By the way, iRedMail is listed on Roundcube website too:
https://roundcube.net/download/

"iRedMail is another fully open source email server solution that lets you 
install a full-featured email server in a few minutes. It installs and 
configures the popular open source email components like Postfix, Dovecot, 
Amavisd and - of course Roundcube - on major Linux and BSD distrubutions."

Users get SOGo running easily. I believe this is a win-win, and helps promote 
open source softwares/solutions.


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

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

Re: [SOGo] SOGo Cloudron Install

2016-03-14 Thread Zhang Huangbin

> On Mar 15, 2016, at 12:46 AM, Johannes Zellner <johan...@cloudron.io> wrote:
> 
> Looking at the website, is there a way to put our install option in the 
> http://sogo.nu/download.html page? 

Same request here:

iRedMail [1] is a free, open source mail server solution, it ships SOGo for 
CalDAV, CardDAV, ActiveSync, is it possible to list iRedMail on download page 
as an alternative way to run SOGo?

[1] iRedMail: http://www.iredmail.org/

----
Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

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

Re: [SOGo] Restrict EAS usage?

2016-03-13 Thread Zhang Huangbin

> On Mar 13, 2016, at 9:32 PM, Ludovic Marcotte <lmarco...@inverse.ca> wrote:
> 
> Yes - have a look at ModulesConstraints in the documentation.

Excuse me, i don't quite understand this parameter in SOGo document.

it says: "Limits the access of any module through a constraint based on an LDAP 
attribute;"

ModulesConstraints = {
Calendar = {
ou = employees;
}; };

Does it mean SOGo will query mail users with ldap filter 
"(&(...)(ou=employees))"? Or, only users under dn 
"ou=employees,...,dc=xx,dc=xx"?

Is it possible to restrict with ldap filter like "(ldap_attr_name=value)"? or 
"(!(ldap_attr_name=value))"?


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

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

Re: [SOGo] Outlook Connection

2016-02-17 Thread Zhang Huangbin

> On Feb 17, 2016, at 5:00 PM, Christian Mack <christian.m...@uni-konstanz.de> 
> wrote:
> 
> But how long your sogod keeps connections open is specified in the
> SOGoMaximumSyncInterval.
> This has to match with your above proxy_send_timeout +
> proxy_read_timeout, which means those have to be bigger than the setting
> SOGoMaximumSyncInterval.

The relationship between SOGoMaximumSyncInterval and Nginx settings should be 
mentioned in SOGo Installation Guide.


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).
Looking for opportunity to move from China to another country.

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

Re: [SOGo] Webmail doesn't show unread count on subfolders

2016-01-31 Thread Zhang Huangbin

> On Jan 31, 2016, at 2:05 AM, fsanti...@garbage-juice.com wrote:
> 
> Does this explain why sogo doesn't show the unread counts of folders filtered 
> to by RC / dovecot sieve filters?

Sieve moves email to folder, IMAP client (webmail, in your case) handles the 
display. It MIGHT be a SOGO issue, but i'm not sogo developer, not sure about 
this.


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Webmail doesn't show unread count on subfolders

2016-01-30 Thread Zhang Huangbin

> On Jan 30, 2016, at 8:33 AM, fsanti...@garbage-juice.com wrote:
> 
> i see nowhere in sogo to create such filters? i don't use it much so can you 
> point me in the right direction?

Search 'SOGoSieve' in /etc/sogo/sogo.conf, make sure you have sieve support 
enabled.

Note: The sieve script created by SOGo is not compatible with the one created 
by Roundcube, so you'd better not enable sieve support in both SOGo and 
Roundcube.


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] ANN: SOGo v3.0 released!

2016-01-28 Thread Zhang Huangbin

> On Jan 28, 2016, at 12:33 PM, Ludovic Marcotte <lmarco...@inverse.ca> wrote:
> 
> After about 1.5 year of development, Inverse is extremely happy to announce 
> the immediate availability of SOGo v3.0! This release is considered ready for 
> production use.

Thank you so much for your great work. :)

Just want to confirm: the yum repo offers sogo-3.0.0b5, is it correct? Should 
it be '3.0.0' or '3.0.0b5' (beta?)? e.g. 
http://inverse.ca/rhel-v3/6/x86_64/RPMS/


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).
Looking for opportunity to move from China to another country.

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

Re: [SOGo] Why have you choosen SOGO?

2016-01-27 Thread Zhang Huangbin

> On Jan 27, 2016, at 9:14 PM, Szládovics Péter <p...@szladovics.hu> wrote:
> 
> Others? - What kind of similar alternative has same features?

iRedMail: http://www.iredmail.org/ :)


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).
Looking for opportunity to move from China to another country.

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

Re: [SOGo] ANN: SOGo v2.3.7

2016-01-25 Thread Zhang Huangbin

> On Jan 26, 2016, at 3:04 AM, Ludovic Marcotte <lmarco...@inverse.ca> wrote:
> 
> • newly created folders using EAS are always sync'ed by default (#3454)

Thank you for this fix. :)


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).
Looking for opportunity to move from China to another country.

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

Re: [SOGo] ANN: SOGo v3.0 beta 5

2015-12-21 Thread Zhang Huangbin
Hi Francis,

> On Dec 21, 2015, at 10:09 PM, Francis Lachapelle <flachape...@inverse.ca> 
> wrote:
> 
>> Found two issues with Safari (9.0.2) on Mac OS X (OS: 10.11.2, Screen: 
>> 13.3"):
>> 
>> *) Cannot save new task.
> 
> What do you mean? Any error on screen? In the browser's console? In the logs?

I typed something in task compose window, then click "Save", but it kept 
compose window open and not saved.

>> *) Looks like the task compose window is partly overlay, please check 
>> attached image (the color of "Title" field should be white, but it's grey.)
> 
> The dialog's title color is actually the color of the destination calendar.

Do you mean it works as designed?


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).
Looking for opportunity to move from China to another country.

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

Re: [SOGo] ANN: SOGo v3.0 beta 5

2015-12-19 Thread Zhang Huangbin
Dear developers,

Thanks for the great work.

Found two issues with Safari (9.0.2) on Mac OS X (OS: 10.11.2, Screen: 13.3"):

*) Cannot save new task.
*) Looks like the task compose window is partly overlay, please check attached 
image (the color of "Title" field should be white, but it's grey.)

IMO, default font size in task compose window is too big for 13.3" screen, web 
pages still take too much space (since beta1). Check the space between "Title", 
 "Location", "Description".




Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Mini Admin Panel Survey

2015-12-15 Thread Zhang Huangbin
On 12/11/2015 12:48 PM, Chris Coleman wrote:
> 
> You should also try iRedMail for administration of Sogo users.

Hi Chris,

I'm founder of iRedMail project. :)

> On 12/11/2015 12:15 PM, Michel Memeteau - EKIMIA wrote:
> 
> We are in the process of selecting a panel for the administration of
> the Sogo users, so far we've tested :
> ...
> I was wondering what people usually use and I'm open for suggestion
> with a preference for simplicity over features.


iRedMail a free and open source mail server solution, it integrates SOGo 
groupware with Postfix/Dovecot/...[1], it will save you so much time and you 
don't need to get your hands dirty to install/setup so many open source 
softwares required by a mail server, and it offers web interface to make your 
life easier.

You should give it a chance: http://www.iredmail.org/

Compared to Zenytal, iRedMail doesn't integrate Samba4 and OpenChange.

[1] Used components in iRedMail: 
http://www.iredmail.org/docs/used.components.html


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).
Looking for opportunity to move from China to another country.

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

[SOGo] Re: How can i mirror SOGo yum repositories?

2015-12-02 Thread Zhang Huangbin

> On Nov 26, 2015, at 5:55 PM, Zhang Huangbin <z...@iredmail.org> wrote:
> 
> SOGo yum repo is very slow in mainland China, anyway i can mirror it for 
> faster access? e.g. rsync.

Dear developers,

Seriously, any idea how i can easily mirror SOGo yum/apt repositories?

----
Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Re: How can i mirror SOGo yum repositories?

2015-12-02 Thread Zhang Huangbin

> On Dec 2, 2015, at 11:55 PM, Christian Jensen <christ...@cmjscripter.net> 
> wrote:
> 
> have you tried wget?
> ...
> cd local-repo/
> wget --tries=2 -r -m --no-parent --reject "*.html*" 
> http://inverse.ca/downloads/SOGo/RHEL5/

Dear Christian,

Thanks for your reply. I did try wget like below before posting, and it works:

wget -crmk --no-parent

But it's not the ideal way, i personally expect an official, better way like 
rsync.  Any possible/plan to offer a public rsync mirror? (or other way to 
mirror it)


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

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

[SOGo] How can i mirror SOGo yum repositories?

2015-11-26 Thread Zhang Huangbin
Dear developers,

SOGo yum repo is very slow in mainland China, anyway i can mirror it for faster 
access? e.g. rsync.

Thanks. :)


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

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

Re: [SOGo] ANN: SOGo v2.3.3

2015-11-12 Thread Zhang Huangbin

> On Nov 13, 2015, at 1:55 AM, Ian McMichael <ian.mcmich...@gmail.com> wrote:
> 
>>> now possible to choose which folders to sync over EAS
>> 
>> Is this something we have to enable?  If so, how and where do we do it? 
> 
> Found it!
> 
> You now have to log into the web interface and check the properties of each 
> calendar and address book you want to use via ActiveSync. As of v2.3.3 it 
> appears to respect the "Synchronize" check box in the properties of each 
> object.  By simply selecting the ones needed and telling Android to "Sync 
> Now" everything has re-appeared.

Too bad that SOGo disables sync for all (except the default one) folders, it 
should be  enabled by default. I have to login to SOGo and manually enable all 
existing folders...

Imagine if you have many mail accounts and all folders disappear in MUA ...

Please help update Release Notes to make it clearer.


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

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

Re: [SOGo] sogo vacation - ldap - master user

2015-10-23 Thread Zhang Huangbin

> On Oct 23, 2015, at 4:18 PM, Mark  wrote:
> 
> Can you please post the content of your files:
> dovecot-ldap.conf.ext
> auth-ldap.conf.ext
> 10-auth.conf
> and other files that you consider relevant for this to work?

Sure. Default iRedMail setup (OpenLDAP backend) on Ubuntu 15.10:

=
# dovecot -n

# 2.2.18: /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.8 (0c4ae064f307+)
# OS: Linux 4.2.0-16-generic x86_64 Ubuntu 15.10 
auth_default_realm = a.cn
auth_master_user_separator = *
auth_mechanisms = PLAIN LOGIN
dict {
  acl = mysql:/etc/dovecot/dovecot-share-folder.conf
  quotadict = mysql:/etc/dovecot/dovecot-used-quota.conf
}
first_valid_uid = 2000
last_valid_uid = 2000
listen = * [::]
log_path = /var/log/dovecot.log
mail_gid = 2000
mail_location = maildir:%Lh/Maildir/:INDEX=%Lh/Maildir/
mail_plugins = quota mailbox_alias acl
mail_uid = 2000
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character 
vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy 
include variables body enotify environment mailbox date index ihave duplicate
namespace {
  inbox = yes
  location = 
  mailbox Archive {
auto = subscribe
special_use = \Archive
  }
  mailbox Archives {
auto = no
special_use = \Archive
  }
  mailbox "Deleted Messages" {
auto = no
special_use = \Trash
  }
  mailbox Drafts {
auto = subscribe
special_use = \Drafts
  }
  mailbox Junk {
auto = subscribe
special_use = \Junk
  }
  mailbox "Junk E-mail" {
auto = no
special_use = \Junk
  }
  mailbox Sent {
auto = subscribe
special_use = \Sent
  }
  mailbox "Sent Items" {
auto = no
special_use = \Sent
  }
  mailbox "Sent Messages" {
auto = no
special_use = \Sent
  }
  mailbox Spam {
auto = no
special_use = \Junk
  }
  mailbox Trash {
auto = subscribe
special_use = \Trash
  }
  prefix = 
  separator = /
  type = private
}
namespace {
  list = children
  location = maildir:%%Lh/Maildir/:INDEX=%%Lh/Maildir/Shared/%%u
  prefix = Shared/%%u/
  separator = /
  subscriptions = yes
  type = shared
}
passdb {
  args = /etc/dovecot/dovecot-ldap.conf
  driver = ldap
}
passdb {
  args = /etc/dovecot/dovecot-master-users
  driver = passwd-file
  master = yes
}
plugin {
  acl = vfile
  acl_shared_dict = proxy::acl
  auth_socket_path = /var/run/dovecot/auth-master
  mailbox_alias_new = Sent Messages
  mailbox_alias_new2 = Sent Items
  mailbox_alias_old = Sent
  mailbox_alias_old2 = Sent
  quota = dict:user::proxy::quotadict
  quota_grace = 10%%
  quota_rule = *:storage=1G
  quota_warning = storage=100%% quota-warning 100 %u
  quota_warning2 = storage=95%% quota-warning 95 %u
  quota_warning3 = storage=90%% quota-warning 90 %u
  quota_warning4 = storage=85%% quota-warning 85 %u
  sieve = %Lh/sieve/dovecot.sieve
  sieve_before = /var/vmail/sieve/dovecot.sieve
  sieve_dir = %Lh/sieve
  sieve_global_dir = /var/vmail/sieve
}
protocols = pop3 imap sieve lmtp
service auth {
  unix_listener /var/spool/postfix/private/dovecot-auth {
group = postfix
mode = 0666
user = postfix
  }
  unix_listener auth-master {
group = vmail
mode = 0666
user = vmail
  }
  unix_listener auth-userdb {
group = vmail
mode = 0660
user = vmail
  }
}
service dict {
  unix_listener dict {
group = vmail
mode = 0660
user = vmail
  }
}
service imap-login {
  process_limit = 500
  service_count = 1
}
service lmtp {
  executable = lmtp -L
  inet_listener lmtp {
address = 127.0.0.1
port = 24
  }
  process_min_avail = 5
  unix_listener /var/spool/postfix/private/dovecot-lmtp {
group = postfix
mode = 0600
user = postfix
  }
  user = vmail
}
service managesieve-login {
  inet_listener sieve {
address = 127.0.0.1
port = 4190
  }
}
service pop3-login {
  service_count = 1
}
service quota-warning {
  executable = script /usr/local/bin/dovecot-quota-warning.sh
  unix_listener quota-warning {
group = vmail
mode = 0660
user = vmail
  }
}
ssl = required
ssl_cert = http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

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

Re: [SOGo] sogo vacation - ldap - master user

2015-10-22 Thread Zhang Huangbin

> On Oct 22, 2015, at 6:05 PM, Mark <zava.z...@libero.it> wrote:
> 
> But, I always get the same, there's always the check between the
> u...@domanin.com password and the master user (sogo) one, and of course there
> is the mismatch.

The login username must be "u...@domain.com*[your_master_user_name]" (without 
quotes, of course)


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

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

Re: [SOGo] sogo vacation - ldap - master user

2015-10-22 Thread Zhang Huangbin

> On Oct 22, 2015, at 10:58 PM, Mark <zava.z...@libero.it> wrote:
> 
> That's exactly what I can't get (u...@domain.com*your_master_user_name)
> Any hints?

i have to set the sogo master user to an email address. It doesn't need to be a 
real email address hosted somewhere, just in valid email address syntax. for 
example: u...@not-exist.com. it works for me.

for iRedMail, we have a short tutorial here, i hope it helps a little:
http://www.iredmail.org/docs/dovecot.master.user.html

Good luck.

----
Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

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

Re: [SOGo] sogo vacation - ldap - master user

2015-10-21 Thread Zhang Huangbin

> On Oct 21, 2015, at 11:15 PM, Mark <zava.z...@libero.it> wrote:
> 
> user_attrs  = =uid=5000,=gid=5000,=home=/var/vmail/domain.com/%Ln/
> Maildir/,=mail=maildir:/var/vmail/domain.com/%Ln/Maildir/

Which LDAP attribute stores the real email address? let's say you use 'mail' 
attribute name, then please add 'mail=master_user,' in `user_attrs` like below:

user_attrs = mail=master_user, ...[your other settings]...

----
Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

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

Re: [SOGo] sogo vacation - ldap - master user

2015-10-21 Thread Zhang Huangbin

> On Oct 21, 2015, at 7:10 PM, Mark <zava.z...@libero.it> wrote:
> 
> In the  auth-master.conf.ext file I have:

What's the setting in your dovecot-ldap.conf?


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

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


Re: [SOGo] ANN: SOGo v3.0 beta 3

2015-10-17 Thread Zhang Huangbin
> Peter Beck Wed, 14 Oct 2015 17:19:51 -0700
> 
> there is already an "reply to all" included; just click the last icon

> with the three dots and choose "reply all". But maybe it would be easier

> for casual users if that icon would be just beside the "reply to sender"

> button as this is used quite often...

Hi Peter, Thanks for the reply. :)

I know there's a 'Reply to All' button hidden in the last icon, i just want to 
move it out of the icon and place it beside the 'Reply to Sender Only'. It's 
used more frequently (for me) than the 'Reply to Sender Only'.

I really wish SOGo developers could make this small change, it will be more 
productive (with less clicks).


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

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

Re: [SOGo] ANN: SOGo v3.0 beta 3

2015-10-14 Thread Zhang Huangbin

> On Oct 15, 2015, at 5:42 AM, Ludovic Marcotte <lmarco...@inverse.ca> wrote:
> 
> Inverse is happy to announce the availability of SOGo v3.0 beta 3.

Thank you for the great work.

By the way, could you please add a 'Reply to all' button beside the 'Reply to 
Sender Only' when viewing a message?


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

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

Re: [SOGo] Suggestion: Don't use /etc/sysconfig/sogo on CentOS

2015-10-02 Thread Zhang Huangbin

> On Oct 2, 2015, at 3:25 PM, Kai-Uwe Rommel <kai-uwe.rom...@ars.de> wrote:
> 
> On my private CentOS based SOGo server, this file is more or less empty: 
> 
> # The amount of processes that should be spawned (Default: 3) 
> # PREFORK=3 
> # The name of the account under which SOGo will be running (Default: sogo) 
> # USER=sogo 
> 
> The two only statements in there are commented out by default 
> after the installation. 
> 
> Similarly, the /etc/sogo/sogo.conf is also empty (except for comments). 
> I did all configuration (as apparently recommended) in the .GNUstepDefaults 
> in 
>  /var/lib/sogo/GNUstep/Defaults. So why are there such empty config files 
> at all ... 

If you check /etc/init.d/sogo on CentOS 6, it first hard-codes the PREFORK=3, 
and overrode by the one in /etc/sysconfig/sogo. It doesn't read WOWorkersCount 
in /etc/sogo/sogo.conf at all.


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

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

[SOGo] Suggestion: Don't use /etc/sysconfig/sogo on CentOS

2015-10-01 Thread Zhang Huangbin
Dear developers,

As a system admin, i think SOGo init script (/etc/init.d/sogod) brings a little 
trouble.

*) We have WOWorkersCount in sogo.conf, why define it in /etc/sysconfig/sogo 
separately? and with a different name 'PREFORK'? Why doesn't the init script 
read  WOWorkersCount from sogo.conf directly?

*) The init script read sogo daemon user from /etc/sysconfig/sogo, if not 
defined, it's 'sogo'. It's almost hard-coded.

So, why not retire /etc/sysconfig/sogo directly? why manage the same setting in 
two separate files? and sogo installation guide doesn't mention 
/etc/sysconfig/sogo at all. At the beginning, i tried to increase 
WOWorkersCount, but it doesn't work. After reading init script, i realize it 
reads /etc/sysconfig/sogo instead.

Please fix this init script issue, let's make it simpler.

BTW, please fix the init script on Debian/Ubuntu too, it reads 
/etc/default/sogo.


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

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

Re: [SOGo] Conflict of running 2 cron tasks every minute

2015-09-24 Thread Zhang Huangbin

> On Sep 24, 2015, at 2:29 PM, Christian Mack <christian.m...@uni-konstanz.de> 
> wrote:
> 
> This is a known problem, but harmless, as the lock is not really needed
> here.

Isn't it better not try to create the lock (as you said, it's not needed)? or 
at least don't show the harmless and useless message? People are scared when 
they see some "error" message.


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

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

[SOGo] Conflict of running 2 cron tasks every minute

2015-09-23 Thread Zhang Huangbin
Dear developers,

I always have issue with running 2 cron tasks every minute, hope you guys can 
help me out.

According to SOGo installation guide, we need 2 cron jobs:

1) Session cleanup - runs every minute

* * * * * /usr/sbin/sogo-tool expire-sessions 60

2) Email alarms - runs every minutes

* * * * * /usr/sbin/sogo-ealarms-notify

The issues are:

1) Failed to create lock directory

2015-07-01 10:58:02.534 sogo-tool[27443] Failed to create lock directory 
'/var/lib/sogo/GNUstep/Defaults/.lck/.GNUstepDefaults.lck' - 
/var/lib/sogo/GNUstep/Defaults/.lck/.GNUstepDefaults.lck
and

2015-07-01 10:56:01.468 sogo-ealarms-notify[27401] Failed to create lock 
directory '/var/lib/sogo/GNUstep/Defaults/.lck/.GNUstepDefaults.lck'

2) broken lock file

2015-09-23 05:51:01.450 sogo-ealarms-notify[27790] Warning ... someone broke 
our lock (/var/lib/sogo/GNUstep/Defaults/.lck/.GNUstepDefaults.lck) ... and may 
have interfered with updating defaults data in file.

Did i setup the cron jobs improperly? Any idea? Any help is greatly 
appreciated. :)


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

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

Re: [SOGo] sogod worker filling up memory

2015-09-21 Thread Zhang Huangbin

> On Sep 21, 2015, at 10:11 PM, Christian Mack <christian.m...@uni-konstanz.de> 
> wrote:
> 
> It happend, because you didn't have enough workers for the rush.
> For such rush traffic you also could increase WOListenQueueSize.
> This tells sogod to queue up that count of requests for its workers.
> This will not decrease your workload, but clients are not rejected
> instantly, when no worker is available.
> ...

Please update SOGo Installation Guide with this performance tuning tip. :)


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

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

Re: [SOGo] Upcoming v3 beta 2

2015-09-15 Thread Zhang Huangbin

> On Sep 16, 2015, at 12:25 AM, Francis Lachapelle <flachape...@inverse.ca> 
> wrote:
> 
> - initial templates for the Administration module
> - fixed display of Calendar module on small screens

*) Excuse me, where can we find the administration module? i didn't find it in 
demo.

*) The calendar UI is not very good with Mac + Safari, i attached the 
screenshot here:
https://imgur.com/CK1auWw


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

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

Re: [SOGo] Upcoming SOGo v2 and v3 releases

2015-09-10 Thread Zhang Huangbin

> On Sep 10, 2015, at 7:28 PM, Ludovic Marcotte <lmarco...@inverse.ca> wrote:
> 
> Only the "openchange" part won't be packaged. Also, let me be clear, we 
> suspend for now the "openchange" packaging on these distros, we aren't 
> stopping it.

Thanks for the clarification and your hard work. :)


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

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

Re: [SOGo] Upcoming SOGo v2 and v3 releases

2015-09-10 Thread Zhang Huangbin

> On Sep 10, 2015, at 8:28 AM, Ludovic Marcotte <lmarco...@inverse.ca> wrote:
> 
> Regarding the native Outlook compatibility, for now SOGo v2.3.2 will no 
> longer provide packages for CentOS 6, Debian Wheezy and Ubuntu Precise. We 
> will provide packages for Debian Jessie and Ubuntu Trusty from now on, until 
> changes in OpenChange stabilize a bit more.

I understand that SOGo team want to offer better Outlook compatibility, but how 
about users who don't use Outlook? Does this mean non-Outlook users cannot get 
SOGo-2.3.2 (and future releases)? That's too bad.

How about mention known issues of Outlook compatibility in sogo release notes 
instead of stopping offering packages?


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

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

[SOGo] Nginx timeout setting

2015-08-16 Thread Zhang Huangbin
Dear developers,

I had one SOGo timeout error with Nginx, here's the nginx error log:

2015/08/16 05:10:03 [error] 22144#0: *59 upstream timed out (110: Connection 
timed out) while reading response header from upstream, client: 83.215.226.25, 
server: _, request: POST 
/Microsoft-Server-ActiveSync?jRIJBBBOaW5lNzYwRjk2QzQ3RUREBAAHQW5kcm9pZAcBAA==
 HTTP/1.1, upstream: 
http://127.0.0.1:2/SOGo/Microsoft-Server-ActiveSync?jRIJBBBOaW5lNzYwRjk2QzQ3RUREBAAHQW5kcm9pZAcBAA==;,
 host: xxx

And SOGo log:

[WARN] 0x0x7f4f7ad00090[WOWatchDogChild] pid 19036 has been hanging in the 
same request for 1 minutes
[ERROR] 0x0x7f4f7b1110e0[WOHttpTransaction] client disconnected during 
delivery of response for WORequest[0x0x7f4f7b059030]: method=POST 
uri=/SOGo/Microsoft-Server-ActiveSync?Cmd=PingDeviceType=BlackBerryUser=my_user%40my_domainDeviceId=XX
 app=SOGo rqKey=Microsoft-Server-ActiveSync rqPath=(null) (len=13): the socket 
was shutdown

May i know what setting (and suggested value) i should set/change in Nginx and 
SOGo?

Here's my (part of) SOGo and Nginx config files: http://pastebin.com/Ji8WZmnY

Thanks for helping.


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

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

[SOGo] SOGo-2.3.0 doesn't work on CentOS 7 with MySQL.

2015-07-02 Thread Zhang Huangbin
Dear developers,

SOGo-2.3.0 doesn't work on CentOS 7 with MySQL, i reported
this issue on June 1, looks like it's not yet fixed.
http://www.sogo.nu/bugs/view.php?id=3225

sogod[3284] ERROR((null)): could not allocate MySQL4 connection!
sogod [3284]: [ERROR] 0x0x7f0c9f7ea440[GCSChannelManager] could not open 
channel MySQL4Channel[0x0x7f0c9fbabe00] connection=0x(null) for 
mysql://127.0.0.1/sogo/sogo_sessions_folder

Any plan to fix it? We're eagerly waiting for this fix.


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/

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

Re: [SOGo] ANN: SOGo v2.3.0

2015-06-03 Thread Zhang Huangbin
Dear Ludovic,

Any plan to release new RPMs for CentOS 7? With the fixes for missing 
/var/run/sogo, and doesn't work with MariaDB.

I just released new version of iRedMail today, but have to disable SOGo on 
CentOS 7 due to these 2 bugs.


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/



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

Re: [SOGo] ANN: SOGo v2.3.0

2015-06-03 Thread Zhang Huangbin
I think SOGo rpm should run this update script automatically. Since we have 
/etc/sogo/sogo.conf which contains the sql account credential, we can extract 
the sql username / password / db names with shell script. If it doesn't have 
required privileges, we ask system admin to type the credential.


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
  Original Message  
From: Szládovics Péter
Sent: Wednesday, June 3, 2015 7:44 PM
To: users@sogo.nu
Subject: Re: [SOGo] ANN: SOGo v2.3.0

2015-06-03 13:23 keltezéssel, Ludovic Marcotte írta:
 On 03/06/2015 07:06, Zhang Huangbin wrote:
 Any plan to release new RPMs for CentOS 7?
 We'll most likely release 2.3.1 in the next few days. In the mean
 time, you can test the nightly builds which will contain the fixes and
 report your findings.


Great news!
BTW the 2.3.1 will contains the sql scripts too, or we need to upgrade 
to 2.3.0 before step to 2.3.1?
What will be the minor previous version for upgrade to 2.3.1?
--
users@sogo.nu
https://inverse.ca/sogo/lists

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

Re: [SOGo] ANN: SOGo v2.3.0

2015-06-02 Thread Zhang Huangbin

 On Jun 2, 2015, at 7:01 PM, Ludovic Marcotte lmarco...@inverse.ca wrote:
 
 Strange, both were created here and they belong to the sogo package.

Did you try it on a fresh/new CentOS 7?

 Make sure you have version 5.5.37 of the MariaDB libs installed. There's a 
 bug yet to be fixed with later versions.

What do you mean '5.5.37 of the MariaDB libs'?
I have below packages installed on CentOS 7, all were installed from
official CentOS repo:

mariadb-libs-5.5.41-2.el7_0.x86_64
mariadb-5.5.41-2.el7_0.x86_64
mariadb-server-5.5.41-2.el7_0.x86_64

Anything wrong?


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/

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

Re: [SOGo] ANN: SOGo v2.3.0

2015-06-02 Thread Zhang Huangbin

 On Jun 2, 2015, at 2:51 AM, Ludovic Marcotte lmarco...@inverse.ca wrote:
 
 • RHEL / CentOS 7 support

Reported 2 issues on CentOS 7:

issue #3224) Packaging issues on CentOS 7, both will cause service cannot 
start: http://www.sogo.nu/bugs/view.php?id=3224

*) Systemd script doesn't create /var/run/sogo/ directory everything
*) sogo RPM package doesn't create /var/log/sogo/

issue #3225) Cannot login to sogo after fixed above two issues manually.
This looks like a programming bug.
http://www.sogo.nu/bugs/view.php?id=3225

Detailed debug log attached to bug report.


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/

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

Re: [SOGo] ANN: SOGo v2.3.0

2015-06-01 Thread Zhang Huangbin

 On Jun 2, 2015, at 2:51 AM, Ludovic Marcotte lmarco...@inverse.ca wrote:
 
 Upgrading to v2.3.0

Document http://www.sogo.nu/files/docs/SOGo%20Installation%20Guide.pdf still 
mentions SOGo-2.2.8, as i can remember, we don't have v2.2.8, right?


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/

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

Re: [SOGo] SOGo on Debian Jessie?

2015-05-21 Thread Zhang Huangbin

 On May 21, 2015, at 11:23 PM, Tanstaafl tansta...@libertytrek.org wrote:
 
 I see no problem with vendors with limited resources refusing to support
 ancient/antiquated environments (unless it can be scripted and done with
 little to no effort)...

Just curious, does SOGo team build packages with scripts or not?
It should be a one-time job for one Linux distribution release (e.g. Debian 7,
Debian 8). correct me if i was wrong.


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/

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

Re: [SOGo] Install script

2015-05-03 Thread Zhang Huangbin

 On May 2, 2015, at 10:02 PM, Ruediger newslet...@schwoon.info wrote:
 
 I'm looking for a replacement of zarafa, because due to the discontinuation 
 of the Outlook support.
 
 I've testet zentyal, but i'm note sure whats their direction in that
 business is... So i like to make some tests with sogo directly...
 
 I found this script and tried to run it on Ubuntu 12.04 and 14.04 (changed 
 the repo..!).

Give iRedMail solution a try: http://www.iredmail.org/
It offers SOGo, supports Debian/Ubuntu (and more).


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/

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

[SOGo] Cannot start openchange-ocsmanager service on CentOS 6

2015-04-24 Thread Zhang Huangbin
Dear developers,

The RPMs for CentOS 6 doesn't compile and installed file
/usr/lib64/python2.6/site-packages/openchange/mapistore.so,
this causes openchange-ocsmnager service cannot start.

Please update src.rpm package with below patch to fix this issue:

- src.rpm: 
http://inverse.ca/downloads/SOGo/RHEL6/SRPMS/openchange-2.2.r4816.sogo-1.centos6.src.rpm
- Patch:

# diff -Naur old.spec openchange.spec 
--- old.spec2015-04-24 21:48:22.249293860 +0800
+++ openchange.spec 2015-04-24 21:40:43.064297144 +0800
@@ -163,7 +163,7 @@
 CFLAGS=-O2 -ggdb \
 PYTHON=%{__python} \
 PYTHON_CONFIG=/bin/false \
-%configure --with-modulesdir=%{_libdir}/samba/modules 
--datadir=%{_datadir}/samba PYTHON=%{__python}
+%configure --with-modulesdir=%{_libdir}/samba/modules 
--datadir=%{_datadir}/samba PYTHON=%{__python} --enable-pyopenchange
 
 # Parallel builds prohibited by makefile
 make

P.S. This issue was reported 5 months ago (2014-12-04):
http://www.sogo.nu/bugs/view.php?id=3012


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/

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

[SOGo] Packages for CentOS 7

2015-04-15 Thread Zhang Huangbin
One of our user reported here's (unofficial) RPM for CentOS 7:
https://copr-be.cloud.fedoraproject.org/results/jaile/sogo/epel-7-x86_64/

Just want to know, when will SOGo team provide RPMs for CentOS 7 officially?


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/

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


Re: [SOGo] Ready to go 'Appliance'?

2015-04-08 Thread Zhang Huangbin

 On Apr 8, 2015, at 7:51 PM, Charles Marcus cmar...@media-brokers.com wrote:
 
 Are there any ready to go 'Appliances' available (totally free or not)
 for the full SOGo+Samba AD environment that I could point a friend to,
 who is looking to get off the Microsoft money train?

If it's ok for you to go without Samba/OpenChange, you can give
iRedMail a try: http://www.iredmail.org/

Exchange ActiveSync works fine.


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/

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

Re: [SOGo] SOGo v3 status!

2015-04-02 Thread Zhang Huangbin

 On Apr 3, 2015, at 2:59 AM, Schifano Alexandre schif...@polytech.unice.fr 
 wrote:
 
 but I saw one problem : with the langage menu, I can't scroll down : when
 I try, I scroll the whole page but not the menu

I experienced more issues with Safari browser (v8.0.4) on Mac, cannot
scroll many pages, including all pages in 'Preferences' after logged in.


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/

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

Re: [SOGo] don't understand ldap log message

2015-04-02 Thread Zhang Huangbin

 On Apr 2, 2015, at 10:30 AM, Robert Watson rob...@gillecaluim.com wrote:
 
 might not have worked - password policy: 65535  grace: -1  expire: -1  bound:  0
 Apr 01 19:2

Agree. This SOGo log doesn't help troubleshoot at all, hope SOGo
can log detailed technical info in error message. for example, if user
cannot login with unsupported password scheme, please log this is
unsupported password scheme.

I have one customer reported this same error message before (with MySQL
backend, not LDAP), and turned out SOGo doesn't support salted MD5
without a '{CRYPT}' prefix.

- doesn't work: $1$u3DY5Q4P$211IcRyO.HbuVhBjtkWgT/
- works: {CRYPT}$1$u3DY5Q4P$211IcRyO.HbuVhBjtkWgT/


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/

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

Re: [SOGo] How to force SOGo to perform SMTP AUTH?

2015-03-16 Thread Zhang Huangbin
Thanks for reply.

 On Mar 16, 2015, at 4:04 PM, Rainer Ruprechtsberger 
 rruprechtsberger+s...@volkshilfe-ooe.at wrote:
 
 We've configured our SOGo like that and it does authenticate.. don't
 know why this does not work for you.

Postfix forces client to perform STARTTLS for secure connection,
maybe this is the cause?

Also, i have 'permit_mynetworks' in Postfix 'smtpd_[xxx]_restrictions'.
Any additional log required to help fix this issue?-- 
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] How to force SOGo to perform SMTP AUTH?

2015-03-14 Thread Zhang Huangbin
Dear all,

I have SOGo and SMTP server (Postfix) running on same server, with
'SOGoSMTPAuthenticationType = PLAIN;' in sogo.conf, SOGo
doesn't perform SMTP AUTH at all. Is there a way to force it to perform
SMTP AUTH?

Also, any plan to support 'LOGIN' auth type and TLS?

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


Re: [SOGo] Official CentOS 7 Repo

2015-03-01 Thread Zhang Huangbin
I'm waiting for RPMs for CentOS 7 too, will integrate SOGo into iRedMail[1]
for CentOS 7 when it's available.

[1] iRedMail: http://www.iredmail.org/
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] External Account / Fetchmail

2015-01-10 Thread Zhang Huangbin


On Saturday, January 10, 2015 at 6:47 AM, Jonathan Colby wrote:

 if SOGO is groupware without a mail server, what is the best groupware that 
 Does have a mail server ? Zentyal ? Kolab ? ClearOS?
 


You can try iRedMail: http://www.iredmail.org/
The latest iRedMail-0.9.0 integrates SOGo groupware. :)

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


Re: [SOGo] ANN: SOGo v2.2.10

2014-11-21 Thread Zhang Huangbin


On Saturday, November 22, 2014 at 1:47 AM, Ludovic Marcotte wrote:

 
 The Inverse Team is pleased to announce the immediate availability of SOGo 
 2.2.10. This is a minor release of SOGo which focuses on improved stability 
 over previous versions. 

Congratulations. :)

Any plan to provide packages for RHEL/CentOS 7 and Ubuntu 14.10?
iRedMail integrates SOGo and it now works on CentOS 6, Ubuntu 12.04, 14.04, 
OpenBSD 5.6.


Zhang Huangbin

iRedMail: free, open source mail server solution for Red Hat,
CentOS, Debian, Ubuntu, FreeBSD, OpenBSD:
http://www.iredmail.org/



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


Re: [SOGo] Compatibility of sieve rule management and

2014-11-02 Thread Zhang Huangbin


On Monday, October 27, 2014 at 1:08 AM, Marcel Waldvogel wrote:

 I’ve looked at the plugin, trying to find out whether it parses unrestricted 
 Sieve files or whether it can just reread the sieve files it created itself. 
 However, I did not find where the sieve file is parsed or generated. Can you 
 give me some examples of sieve files created by RoundCube?


Hi Marcel,
  
You can find code here:
https://github.com/roundcube/roundcubemail/tree/master/plugins/managesieve/lib/Roundcube
  

In this plugin config file, you can specify managesieve server, and the sieve 
file name (roundcube.sieve by default), but no absolute/relative path to sieve 
file. so i guess it reads sieve rules via managesieve service directly, not 
read (sieve) file.

Hope it helps. :)
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

  1   2   >