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] rpcproxy not working with outlook 2007 / 2010

2015-10-23 Thread DurgaPrasad - DatasoftComnet
Hi all,

 

Can someone respond on this please.

 

Regards

DP

 

From: DurgaPrasad - DatasoftComnet [mailto:d...@datasoftcomnet.com] 
Sent: 20 October 2015 20:55
To: 'users@sogo.nu'
Subject: RE: [SOGo] rpcproxy not working with outlook 2007 / 2010

 

Hello all,

 

I have  installed sogo using apt-get. 

Followed the guide below. SOGo Native Microsoft Outlook Configuration.pdf 

  (PDF)

 

Can someone analyse and let me know. I have tried installing from scratch 
(formatting and installing) 2 or 3 times same situation.

 

Outlook 2007/2010 is not able to connect either through IP or name (via hosts 
file) using native MAPI.
Outlook 2007/2010 not connecting using Outlook Anywhere either.
The certificate is a valid paid cert

 

Activesync in 2013 works but I don’t want that.

 

Regards

DP

 

From: users-requ...@sogo.nu [mailto:users-requ...@sogo.nu] On Behalf Of Martin 
Simovic
Sent: 05 October 2015 15:59
To: users@sogo.nu
Subject: Re: [SOGo] rpcproxy not working with outlook 2007 / 2010

 

Hi,

 

 

On 04 Oct 2015, at 16:13,   
wrote:

 

Hello all,
Ive checked thoroughly that outlook is not able to wotj with sogo using native
mode.
below are the facts.

Environment
Ubuntu LTS trusty, Samba4 native mode., dovecot, postfix,sogo, ocsmanager with
rpcproxy installed.
Webmail  - working
Activesync - working
IMAP/POP3 - working.

Outlook 2007/2010 is not able to connect either through IP or name (via hosts
file) using native MAPI. (does this work on LAN only)
Outlook 2007/2010 not connecting using Outlook Anywhere either.
The certificate is a valid paid cert
this is what I get in the access.log of apache2

[04/Oct/2015:19:34:51 +0530] "RPC_IN_DATA /rpc/rpcproxy.dll?
mail.mydomain.com:6004 HTTP/1.1" 401 5757 "-" "MSRPC"
[04/Oct/2015:19:34:52 +0530] "RPC_OUT_DATA /rpc/rpcproxy.dll?
mail.mydomain.com:6004 HTTP/1.1" 401 5757 "-" "MSRPC"

mail.mydomain.com is a placeholder. the 6004 used to be 6002 an hour back so
it might not be relavent.

when I use activesync the username is seen
POST /Microsoft-Server-ActiveSync?
User=x...@mydomain.com=JF48EU1D7D0LL5QBAWWS3EVDQ0=iPhone=Ping
HTTP/1.1" 200 825 "-" "Apple-iPhone7C1/1301.404"

Can someone through some light on this?

 

I order to help you please post your smb.conf and ocsmanager.ini files. It’d 
also help if you stated how you installed your environment (compiling from 
source, installing from packages - if so, wha is package source (sogo , 
zentyal?)

 

Regards

Martin.

 

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

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

2015-10-23 Thread Mark
Thanks for the support, I already followed the article you posted, and I am
sure that part is ok.
I always get the same results.
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?
Thanks in advance.

If that helps...

# 2.2.13: /etc/dovecot/dovecot.conf
# OS: Linux 3.16.0-4-amd64 x86_64 Debian 8.2 ext4
auth_debug = yes
auth_debug_passwords = yes
auth_master_user_separator = *
auth_mechanisms = plain login
auth_verbose = yes
auth_verbose_passwords = yes
default_client_limit = 22000
default_process_limit = 5000
default_vsz_limit = 1 G
disable_plaintext_auth = no
first_valid_gid = 5000
first_valid_uid = 5000
last_valid_gid = 5000
last_valid_uid = 5000
log_path = /var/log/dovecot.log
mail_debug = yes
mail_location = maildir:/var/vmail/domain.com/%Ln/Maildir
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 ihave imapflags
notify
namespace inbox {
  inbox = yes
  location =
  mailbox Drafts {
special_use = \Drafts
  }
  mailbox Junk {
special_use = \Junk
  }
  mailbox Sent {
special_use = \Sent
  }
  mailbox "Sent Messages" {
special_use = \Sent
  }
  mailbox Trash {
special_use = \Trash
  }
  prefix =
  separator = /
}
passdb {
  args = /etc/dovecot/passwd.masterusers
  driver = passwd-file
  master = yes
}
passdb {
  driver = pam
}
passdb {
  args = /etc/dovecot/dovecot-ldap.conf.ext
  driver = ldap
}
passdb {
  args = /etc/dovecot/dovecot-ldap.conf1.ext
  driver = ldap
}
passdb {
  args = /etc/dovecot/dovecot-ldap.conf2.ext
  driver = ldap
}
passdb {
  args = /etc/dovecot/dovecot-ldap.conf3.ext
  driver = ldap
}
passdb {
  args = /etc/dovecot/dovecot-ldap.conf4.ext
  driver = ldap
}
passdb {
  args = /etc/dovecot/dovecot-ldap.conf5.ext
  driver = ldap
}
passdb {
  args = /etc/dovecot/dovecot-ldap.conf.ext
  driver = ldap
}
plugin {
  sieve = /var/vmail/domain.com/%n/.dovecot.sieve
  sieve_dir = /var/vmail/domain.com/%n/
  sieve_extensions = +enotify +vacation +copy +imapflags +notify
}
protocols = imap sieve
service auth {
  unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0660
user = postfix
  }
  unix_listener auth-userdb {
mode = 0666
  }
}
service imap {
  process_limit = 5000
}
service managesieve-login {
  inet_listener sieve {
port = 4190
  }
  process_min_avail = 0
  service_count = 0
  vsz_limit = 64 M
}
service managesieve {
  process_limit = 1024
}
ssl_cert = https://inverse.ca/sogo/lists


Re: [SOGo] rpcproxy not working with outlook 2007 / 2010

2015-10-23 Thread Chris Coleman

On 10/23/2015 7:29 AM, DurgaPrasad - DatasoftComnet wrote:


Hi all,

Can someone respond on this please.

Regards

DP

*From:*DurgaPrasad - DatasoftComnet [mailto:d...@datasoftcomnet.com]
*Sent:* 20 October 2015 20:55
*To:* 'users@sogo.nu'
*Subject:* RE: [SOGo] rpcproxy not working with outlook 2007 / 2010

Hello all,

I have  installed sogo using apt-get.

Followed the guide below. SOGo Native Microsoft Outlook 
Configuration.pdf 
 
(PDF)


Can someone analyse and let me know. I have tried installing from 
scratch (formatting and installing) 2 or 3 times same situation.


Outlook 2007/2010 is not able to connect either through IP or name 
(via hosts file) using native MAPI.

Outlook 2007/2010 not connecting using Outlook Anywhere either.
The certificate is a valid paid cert

Activesync in 2013 works but I don’t want that.

Regards

DP

*From:*users-requ...@sogo.nu  
[mailto:users-requ...@sogo.nu] *On Behalf Of *Martin Simovic

*Sent:* 05 October 2015 15:59
*To:* users@sogo.nu 
*Subject:* Re: [SOGo] rpcproxy not working with outlook 2007 / 2010

Hi,

On 04 Oct 2015, at 16:13, > > wrote:

Hello all,
Ive checked thoroughly that outlook is not able to wotj with sogo
using native
mode.
below are the facts.

Environment
Ubuntu LTS trusty, Samba4 native mode., dovecot, postfix,sogo,
ocsmanager with
rpcproxy installed.
Webmail  - working
Activesync - working
IMAP/POP3 - working.

Outlook 2007/2010 is not able to connect either through IP or name
(via hosts
file) using native MAPI. (does this work on LAN only)
Outlook 2007/2010 not connecting using Outlook Anywhere either.
The certificate is a valid paid cert
this is what I get in the access.log of apache2

[04/Oct/2015:19:34:51 +0530] "RPC_IN_DATA /rpc/rpcproxy.dll?
mail.mydomain.com :6004 HTTP/1.1" 401
5757 "-" "MSRPC"
[04/Oct/2015:19:34:52 +0530] "RPC_OUT_DATA /rpc/rpcproxy.dll?
mail.mydomain.com :6004 HTTP/1.1" 401
5757 "-" "MSRPC"

mail.mydomain.com  is a placeholder. the
6004 used to be 6002 an hour back so
it might not be relavent.

when I use activesync the username is seen
POST /Microsoft-Server-ActiveSync?
User=x...@mydomain.com

=JF48EU1D7D0LL5QBAWWS3EVDQ0=iPhone=Ping
HTTP/1.1" 200 825 "-" "Apple-iPhone7C1/1301.404"

Can someone through some light on this?

I order to help you please post your smb.conf and ocsmanager.ini 
files. It’d also help if you stated how you installed your environment 
(compiling from source, installing from packages - if so, wha is 
package source (sogo , zentyal?)


Regards

Martin.


Durga,

I think the documentation is not perfect.

If you are having trouble logging in with native Outlook clients (MAPI), 
and same trouble with Outlook Anywhere, then you are missing the 
OpenChange part.  This OpenChange talks to SOGo for storing Outlook 
data, and talks to users Outlook clients with the outlook/exchange 
specific microsoft protocols.


Read more here:
http://www.openchange.org/developers/relnotes/2.0-quadrant.html

See section "Benefits of SOGo collaboration".

And this tip:
"If you face strange issues from Microsoft Outlook, you might want to 
remove any data associated with the user from the SOGo server and 
recreate a Microsoft Outlook profile. To remove any data associated to a 
user, use the openchange_cleanup.py script distributed with sogo. The 
script can be found in |/usr/share/doc/sogo/| 
(|/usr/share/sogo-VERSION/| on |RHEL|). To reset a user, run the script 
as root: |python openchange_cleanup.py username|. See the usage output 
for additional options."


The current release notes May 2015:
http://www.openchange.org/developers/relnotes/2.3-vulcan.html

If you have an issue with openchange, then click New Issue on the 
openchange github.

https://github.com/openchange/openchange/issues

If you want an easy solution for outlook compatible email server, based 
on samba4, sogo and openchange, you could try the free zentyal community 
server, it manages the configuration files for you, so you don't have to 
learn how to set them manually.


Good luck. Post back your results.

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

[SOGo] BTS activities for Friday, October 23 2015

2015-10-23 Thread SOGo reporter
Title: BTS activities for Friday, October 23 2015





  
BTS Activities

  Home page: http://www.sogo.nu/bugs
  Project: SOGo
  For the period covering: Friday, October 23 2015

  
  
idlast updatestatus (resolution)categorysummary
	
	
	  
	
3362
	2015-10-23 11:16:46
	updated (open)
	Backend Calendar
	Can't invite participant
	
	  
	
1113
	2015-10-23 20:39:58
	updated (open)
	Backend General
	Kerberos GSSAPI authentication with Apache2 Frontend does not work
	
	  
	
3349
	2015-10-23 14:05:22
	updated (open)
	Backend General
	change LDAP passwords through SOGo
	
	  
	
3170
	2015-10-23 12:51:35
	updated (open)
	Packaging (RedHat)
	sogo dependency for sope4.9 not versioned.
	
	  
	
2987
	2015-10-23 11:44:09
	updated (open)
	Web Mail
	Creating folders with / and . characters behaves not as user expected
	
	  
	
3215
	2015-10-23 15:02:32
	updated (open)
	Web Mail
	MIME decoding not reflect RFC 2047
	
	  
	
3357
	2015-10-23 14:40:19
	updated (open)
	Web Mail
	"Exotic" mail header makes SOGo unable to parse "From:" line
	
	  
	
3211
	2015-10-23 08:50:16
	assigned (reopened)
	Backend General
	"[ERROR] descriptor is not a socket descriptor" by using gnustep-base1.24
	
	  
	
3331
	2015-10-23 12:47:36
	resolved (suspended)
	Backend Calendar
	sogod crash with an NGSocketTimedOutException exception
	
	  
	
3353
	2015-10-23 09:21:58
	resolved (fixed)
	Backend Calendar
	Calendar colors are not communicated to the server
	
	  
	
1116
	2015-10-23 15:41:28
	resolved (fixed)
	Backend General
	excutable flag of recent sql-update scripts not set
	
	  
	
3271
	2015-10-23 14:36:08
	resolved (fixed)
	Web Mail
	Inline images sent from SOGo webmail are not displayed in Mozilla Thunderbird
	
	  
	
3359
	2015-10-23 12:46:54
	resolved (fixed)
	Web Mail
	'Reply All' doesn't work when message was sent from Thunderbird to Bcc: recipient only
	
	  
	
3355
	2015-10-23 13:03:50
	resolved (fixed)
	Web Preferences
	NSRangeException when trying to open Preferences on web client
	
	  
	
3225
	2015-10-23 12:50:34
	resolved (suspended)
	with SOGo
	Cannot login to SOGo web interface: didn't set return value for type 'v'
	
	  
	
242
	2015-10-23 15:24:02
	closed (suspended)
	Backend Address Book
	eM client adressbook error
	
	  
	
2432
	2015-10-23 11:40:44
	closed (suspended)
	Backend Address Book
	Outlook and shared addressbook
	
	  
	
271
	2015-10-23 15:25:20
	closed (fixed)
	Backend General
	Inconsistent date format in sogod logs
	
	  
	
926
	2015-10-23 15:36:45
	closed (not a bug)
	Backend General
	service discovery over dns
	
	  
	
1881
	2015-10-23 16:16:54
	closed (suspended)
	Backend General
	lots of errors / warnings from thunderbird integrator,  missing common-dav.js file
	
	  
	
3311
	2015-10-23 11:46:31
	closed (not a bug)
	GUI
	Writing and sending Mail impossible
	
	  
	
2794
	2015-10-23 11:42:43
	closed (suspended)
	OpenChange backend
	Outlook shows bad encoding in HTML mails in body message if other than UTF8
	
	  
	
3278
	2015-10-23 14:55:59
	closed (suspended)
	OpenChange backend
	openchange_ocsmanager 2.3 deamon doesen`t run
	
	  
	
3229
	2015-10-23 14:59:46
	closed (suspended)
	Packaging (RedHat)
	Samba 4 DC won't start after update to 4.1.18
	
	  
	
369
	2015-10-23 15:49:28
	closed (fixed)
	Web Calendar
	icons in the calendar list
	
	  
	
533
	2015-10-23 15:15:12
	closed (not a bug)
	Web Calendar
	Date selector table/CSS breaks display
	
	  
	
610
	2015-10-23 15:30:11
	closed (suspended)
	Web Calendar
	web calendars: editing properties after subscription
	
	  
	
950
	2015-10-23 15:14:16
	closed (fixed)
	Web Calendar
	mini-month: should be drawn with DOM methods
	
	  
	
2165
	2015-10-23 16:07:46
	closed (fixed)
	Web Calendar
	Calender does not refresh
	
	  
	
2660
	2015-10-23 15:10:05
	closed (fixed)
	Web Calendar
	Simplify deleting of attendees in invitations
	
	  
	
1024
	2015-10-23 15:38:08
	closed 

Re: [SOGo] rpcproxy not working with outlook 2007 / 2010

2015-10-23 Thread Steve Ankeny

On 10/23/2015 09:32 AM, Chris Coleman wrote:

And this tip:
"If you face strange issues from Microsoft Outlook, you might want to 
remove any data associated with the user from the SOGo server and 
recreate a Microsoft Outlook profile. To remove any data associated to 
a user, use the openchange_cleanup.py script distributed with sogo. 
The script can be found in |/usr/share/doc/sogo/| 
(|/usr/share/sogo-VERSION/| on |RHEL|). To reset a user, run the 
script as root: |python openchange_cleanup.py username|. See the usage 
output for additional options."


Chris . . .

What is meant by "strange issues?"  Can you give examples?

For instance, I'm receiving, "The name cannot be resolved.  The 
requested operation failed because no search criteria were given to the 
Microsoft Exchange Address Book." -- with errors in '/ocsmanager.log' --


Starting server in PID 1885.
serving on http://127.0.0.1:5000
2015-10-17 07:44:28,313 INFO  [openchange.web.auth.NTLMAuthHandler] 
[worker 0] client did not pass auth cookie
2015-10-17 07:44:28,321 INFO  [openchange.web.auth.NTLMAuthHandler] 
[worker 1] client did not pass auth cookie
2015-10-17 07:44:28,358 INFO  [openchange.web.auth.NTLMAuthHandler] 
[worker 1] acquiring lock /var/cache/ntlmauthhandler/ntlm-127.0.0.1.lock 
(1885)
2015-10-17 07:44:29,019 INFO  [openchange.web.auth.NTLMAuthHandler] 
[worker 2] acquiring lock /var/cache/ntlmauthhandler/ntlm-127.0.0.1.lock 
(1885)


Would clearing out any existing data and recreating an Outlook profile 
benefit my users?


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