[SOGo] MDaemon integration

2013-04-07 Thread technics
Is it possible to integrate MDaemon whit SOGO for offering calendar
syncronization to users?
IE configuring SOGO to use SMTP and IMAP function of MDaemon email server?

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


[SOGo] dovecot authentication question

2013-04-07 Thread Dirk Werner
Hi,

when I login via Webinterface all is fine and I have these lines in
/var/log/mail.log about dovecot authentication

Apr  7 14:21:49 remote dovecot: auth: Debug:
static(rweissmann,127.0.0.1): lookup
Apr  7 14:21:49 remote dovecot: auth: Debug:
static(rweissmann,127.0.0.1): Allowing any password
Apr  7 14:21:49 remote dovecot: auth: Debug: client out:
OK#0111#011user=rweissmann#011host=127.0.0.1
Apr  7 14:21:49 remote dovecot: auth: Debug: master in:
REQUEST#0112396913665#0112012#0111#011fc39378db49f0986263ee819c81028d8
Apr  7 14:21:49 remote dovecot: auth: Debug:
passwd(rweissmann,127.0.0.1): lookup
Apr  7 14:21:49 remote dovecot: auth: Debug: auth(rweissmann,127.0.0.1):
username changed rweissmann - AIRMAIL\rweissmann
Apr  7 14:21:49 remote dovecot: auth: Debug: master out:
USER#0112396913665#011AIRMAIL\rweissmann#011system_groups_user=AIRMAIL\rweissmann#011uid=320#011gid=100#011home=/home/rweissmann
Apr  7 14:21:49 remote dovecot: imap-login: Login: user=rweissmann,
method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=2013, secured
Apr  7 14:21:49 remote dovecot: imap(AIRMAIL\rweissmann): Disconnected:
Logged out bytes=104/1124


But when I open Outlook I have these lines in /var/log/mail.log with
dovecot not being able to authenticate the same user:


Apr  7 14:21:47 remote dovecot: auth: Debug:
static(rweissmann,127.0.0.1): lookup
Apr  7 14:21:47 remote dovecot: auth: Debug:
static(rweissmann,127.0.0.1): Allowing any password
Apr  7 14:21:47 remote dovecot: auth: Debug: client out:
OK#0111#011user=rweissmann#011host=127.0.0.1
Apr  7 14:21:47 remote dovecot: auth: Debug: master in:
REQUEST#0112696413185#0112008#0111#01173119eff07df86e02c160d9adbbf9c1e
Apr  7 14:21:47 remote dovecot: auth: Debug:
passwd(rweissmann,127.0.0.1): lookup
Apr  7 14:21:47 remote dovecot: auth: Debug: auth(rweissmann,127.0.0.1):
username changed rweissmann - AIRMAIL\rweissmann
Apr  7 14:21:47 remote dovecot: auth: Debug: master out:
USER#0112696413185#011AIRMAIL\rweissmann#011system_groups_user=AIRMAIL\rweissmann#011uid=320#011gid=100#011home=/home/rweissmann
Apr  7 14:21:47 remote dovecot: imap-login: Login: user=rweissmann,
method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=2011, secured
Apr  7 14:21:47 remote dovecot: imap(AIRMAIL\rweissmann): Disconnected:
Logged out bytes=64/904
Apr  7 14:21:47 remote dovecot: auth: Debug: auth client connected
(pid=2012)
Apr  7 14:21:47 remote dovecot: auth: Debug: client in:
AUTH#0111#011PLAIN#011service=imap#011secured#011lip=127.0.0.1#011rip=127.0.0.1#011lport=143#011rport=46674#011resp=hidden
Apr  7 14:21:47 remote dovecot: auth-worker: Debug:
pam(rweissmann,127.0.0.1): lookup service=dovecot
Apr  7 14:21:47 remote dovecot: auth-worker: Debug:
pam(rweissmann,127.0.0.1): #1/1 style=1 msg=Password:
Apr  7 14:21:49  dovecot: last message repeated 2 times
Apr  7 14:21:49 remote dovecot: auth-worker: pam(rweissmann,127.0.0.1):
pam_authenticate() failed: Authentication failure (password mismatch?)


I have no idea why this 'password mismatch' is coming up. Here's the
output of dovecot -n

# 2.0.19: /etc/dovecot/dovecot.conf
# OS: Linux 3.5.0-26-generic x86_64 Ubuntu 12.04.2 LTS
auth_debug = yes
auth_failure_delay = 2 secs
auth_use_winbind = yes
disable_plaintext_auth = no
mail_location = maildir:~/.Maildir
passdb {
  driver = pam
}
passdb {
  args = nopassword=y host=127.0.0.1
  driver = static
}
passdb {
  args = nopassword=y host=127.0.0.1
  driver = static
}
protocols =  imap
ssl_cert = /etc/ssl/private/selfsignedcert.pem
ssl_key = /etc/ssl/private/selfsignedcert.pem
userdb {
  driver = passwd
}

Best regards,
Dirk
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] dovecot authentication question

2013-04-07 Thread Szládovics Péter
2013-04-07 14:38 keltezéssel, Dirk Werner írta:
 Hi,

 when I login via Webinterface all is fine and I have these lines in
 /var/log/mail.log about dovecot authentication

 Apr  7 14:21:49 remote dovecot: auth: Debug:
 static(rweissmann,127.0.0.1): lookup
 Apr  7 14:21:49 remote dovecot: auth: Debug:
 static(rweissmann,127.0.0.1): Allowing any password
 Apr  7 14:21:49 remote dovecot: auth: Debug: client out:
 OK#0111#011user=rweissmann#011host=127.0.0.1
 Apr  7 14:21:49 remote dovecot: auth: Debug: master in:
 REQUEST#0112396913665#0112012#0111#011fc39378db49f0986263ee819c81028d8
 Apr  7 14:21:49 remote dovecot: auth: Debug:
 passwd(rweissmann,127.0.0.1): lookup
 Apr  7 14:21:49 remote dovecot: auth: Debug: auth(rweissmann,127.0.0.1):
 username changed rweissmann - AIRMAIL\rweissmann
 Apr  7 14:21:49 remote dovecot: auth: Debug: master out:
 USER#0112396913665#011AIRMAIL\rweissmann#011system_groups_user=AIRMAIL\rweissmann#011uid=320#011gid=100#011home=/home/rweissmann
 Apr  7 14:21:49 remote dovecot: imap-login: Login: user=rweissmann,
 method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=2013, secured
 Apr  7 14:21:49 remote dovecot: imap(AIRMAIL\rweissmann): Disconnected:
 Logged out bytes=104/1124


 But when I open Outlook I have these lines in /var/log/mail.log with
 dovecot not being able to authenticate the same user:


 Apr  7 14:21:47 remote dovecot: auth: Debug:
 static(rweissmann,127.0.0.1): lookup
 Apr  7 14:21:47 remote dovecot: auth: Debug:
 static(rweissmann,127.0.0.1): Allowing any password
 Apr  7 14:21:47 remote dovecot: auth: Debug: client out:
 OK#0111#011user=rweissmann#011host=127.0.0.1
 Apr  7 14:21:47 remote dovecot: auth: Debug: master in:
 REQUEST#0112696413185#0112008#0111#01173119eff07df86e02c160d9adbbf9c1e
 Apr  7 14:21:47 remote dovecot: auth: Debug:
 passwd(rweissmann,127.0.0.1): lookup
 Apr  7 14:21:47 remote dovecot: auth: Debug: auth(rweissmann,127.0.0.1):
 username changed rweissmann - AIRMAIL\rweissmann
 Apr  7 14:21:47 remote dovecot: auth: Debug: master out:
 USER#0112696413185#011AIRMAIL\rweissmann#011system_groups_user=AIRMAIL\rweissmann#011uid=320#011gid=100#011home=/home/rweissmann
 Apr  7 14:21:47 remote dovecot: imap-login: Login: user=rweissmann,
 method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=2011, secured
 Apr  7 14:21:47 remote dovecot: imap(AIRMAIL\rweissmann): Disconnected:
 Logged out bytes=64/904
 Apr  7 14:21:47 remote dovecot: auth: Debug: auth client connected
 (pid=2012)
 Apr  7 14:21:47 remote dovecot: auth: Debug: client in:
 AUTH#0111#011PLAIN#011service=imap#011secured#011lip=127.0.0.1#011rip=127.0.0.1#011lport=143#011rport=46674#011resp=hidden
 Apr  7 14:21:47 remote dovecot: auth-worker: Debug:
 pam(rweissmann,127.0.0.1): lookup service=dovecot
 Apr  7 14:21:47 remote dovecot: auth-worker: Debug:
 pam(rweissmann,127.0.0.1): #1/1 style=1 msg=Password:
 Apr  7 14:21:49  dovecot: last message repeated 2 times
 Apr  7 14:21:49 remote dovecot: auth-worker: pam(rweissmann,127.0.0.1):
 pam_authenticate() failed: Authentication failure (password mismatch?)


 I have no idea why this 'password mismatch' is coming up. Here's the
 output of dovecot -n

 # 2.0.19: /etc/dovecot/dovecot.conf
 # OS: Linux 3.5.0-26-generic x86_64 Ubuntu 12.04.2 LTS
 auth_debug = yes
 auth_failure_delay = 2 secs
 auth_use_winbind = yes
 disable_plaintext_auth = no
 mail_location = maildir:~/.Maildir
 passdb {
   driver = pam
 }
 passdb {
   args = nopassword=y host=127.0.0.1
   driver = static
 }
 passdb {
   args = nopassword=y host=127.0.0.1
   driver = static
 }
 protocols =  imap
 ssl_cert = /etc/ssl/private/selfsignedcert.pem
 ssl_key = /etc/ssl/private/selfsignedcert.pem
 userdb {
   driver = passwd
 }

Try this:

passdb {
  args = nopassword=y allow_nets=127.0.0.1/32
  driver = static
}
passdb {
  driver = pam
}

Reversed order (first nopassword then pam) and only one nopassword with 
allow_nets and network instead of host and IP.
This is in my config and working fine.

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

Re: [SOGo] dovecot authentication question

2013-04-07 Thread Dirk Werner
Hi Péter,

your recommendation did indeed solve this! The double passdb entry came
through an !include directive and an !include_try directive that did
both load the same file. The order of appearance is also now like yours.

Manymany thanks!
Dirk

On 04/07/2013 03:00 PM, Szládovics Péter wrote:
 2013-04-07 14:38 keltezéssel, Dirk Werner írta:
 Hi,

 when I login via Webinterface all is fine and I have these lines in
 /var/log/mail.log about dovecot authentication

 Apr  7 14:21:49 remote dovecot: auth: Debug:
 static(rweissmann,127.0.0.1): lookup
 Apr  7 14:21:49 remote dovecot: auth: Debug:
 static(rweissmann,127.0.0.1): Allowing any password
 Apr  7 14:21:49 remote dovecot: auth: Debug: client out:
 OK#0111#011user=rweissmann#011host=127.0.0.1
 Apr  7 14:21:49 remote dovecot: auth: Debug: master in:
 REQUEST#0112396913665#0112012#0111#011fc39378db49f0986263ee819c81028d8
 Apr  7 14:21:49 remote dovecot: auth: Debug:
 passwd(rweissmann,127.0.0.1): lookup
 Apr  7 14:21:49 remote dovecot: auth: Debug: auth(rweissmann,127.0.0.1):
 username changed rweissmann - AIRMAIL\rweissmann
 Apr  7 14:21:49 remote dovecot: auth: Debug: master out:
 USER#0112396913665#011AIRMAIL\rweissmann#011system_groups_user=AIRMAIL\rweissmann#011uid=320#011gid=100#011home=/home/rweissmann
 Apr  7 14:21:49 remote dovecot: imap-login: Login: user=rweissmann,
 method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=2013, secured
 Apr  7 14:21:49 remote dovecot: imap(AIRMAIL\rweissmann): Disconnected:
 Logged out bytes=104/1124


 But when I open Outlook I have these lines in /var/log/mail.log with
 dovecot not being able to authenticate the same user:


 Apr  7 14:21:47 remote dovecot: auth: Debug:
 static(rweissmann,127.0.0.1): lookup
 Apr  7 14:21:47 remote dovecot: auth: Debug:
 static(rweissmann,127.0.0.1): Allowing any password
 Apr  7 14:21:47 remote dovecot: auth: Debug: client out:
 OK#0111#011user=rweissmann#011host=127.0.0.1
 Apr  7 14:21:47 remote dovecot: auth: Debug: master in:
 REQUEST#0112696413185#0112008#0111#01173119eff07df86e02c160d9adbbf9c1e
 Apr  7 14:21:47 remote dovecot: auth: Debug:
 passwd(rweissmann,127.0.0.1): lookup
 Apr  7 14:21:47 remote dovecot: auth: Debug: auth(rweissmann,127.0.0.1):
 username changed rweissmann - AIRMAIL\rweissmann
 Apr  7 14:21:47 remote dovecot: auth: Debug: master out:
 USER#0112696413185#011AIRMAIL\rweissmann#011system_groups_user=AIRMAIL\rweissmann#011uid=320#011gid=100#011home=/home/rweissmann
 Apr  7 14:21:47 remote dovecot: imap-login: Login: user=rweissmann,
 method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=2011, secured
 Apr  7 14:21:47 remote dovecot: imap(AIRMAIL\rweissmann): Disconnected:
 Logged out bytes=64/904
 Apr  7 14:21:47 remote dovecot: auth: Debug: auth client connected
 (pid=2012)
 Apr  7 14:21:47 remote dovecot: auth: Debug: client in:
 AUTH#0111#011PLAIN#011service=imap#011secured#011lip=127.0.0.1#011rip=127.0.0.1#011lport=143#011rport=46674#011resp=hidden
 Apr  7 14:21:47 remote dovecot: auth-worker: Debug:
 pam(rweissmann,127.0.0.1): lookup service=dovecot
 Apr  7 14:21:47 remote dovecot: auth-worker: Debug:
 pam(rweissmann,127.0.0.1): #1/1 style=1 msg=Password:
 Apr  7 14:21:49  dovecot: last message repeated 2 times
 Apr  7 14:21:49 remote dovecot: auth-worker: pam(rweissmann,127.0.0.1):
 pam_authenticate() failed: Authentication failure (password mismatch?)


 I have no idea why this 'password mismatch' is coming up. Here's the
 output of dovecot -n

 # 2.0.19: /etc/dovecot/dovecot.conf
 # OS: Linux 3.5.0-26-generic x86_64 Ubuntu 12.04.2 LTS
 auth_debug = yes
 auth_failure_delay = 2 secs
 auth_use_winbind = yes
 disable_plaintext_auth = no
 mail_location = maildir:~/.Maildir
 passdb {
   driver = pam
 }
 passdb {
   args = nopassword=y host=127.0.0.1
   driver = static
 }
 passdb {
   args = nopassword=y host=127.0.0.1
   driver = static
 }
 protocols =  imap
 ssl_cert = /etc/ssl/private/selfsignedcert.pem
 ssl_key = /etc/ssl/private/selfsignedcert.pem
 userdb {
   driver = passwd
 }

 Try this:
 passdb {
   args = nopassword=y allow_nets=127.0.0.1/32
   driver = static
 }
 passdb {
   driver = pam
 }

 Reversed order (first nopassword then pam) and only one nopassword with 
 allow_nets and network instead of host and IP.
 This is in my config and working fine.
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] cyradm: cannot connect to server (using ZEG appliace) anyone?

2013-04-07 Thread Dave

Hi,

I'm trying to follow


   Mailboxes

   One operation that is not currently possible through Webadmin is the
   creation of new mailboxes. To create a mailbox on the mailstore for
   /newuser/, access your machine through SSH and execute the following
   command:

   $ cyradm --auth plain --user cyrus localhost
   Password: (sogo)
   IMAP Password: (sogo)
   localhost cm user/newuser

I've tried

sogo@sogo:~$ cyradm --auth plain --user cyrus localhost
cyradm: cannot connect to server

both as sogo and root and the outcome is the same.  I found a post 
by someone else 
(https://bugs.launchpad.net/ubuntu/+source/cyrus-imapd-2.4/+bug/1066492) 
who seemed to have the exact same issue. In that case a re-install fixed 
it (that's not really an option for me)


I've searched this list and no one else seemed to have had this error.

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

[SOGo] samba crash

2013-04-07 Thread Gerhard W. Recher (privat)
Hi List
i have no Idea why

happens on first sync of a outlook 2010 client... aprox 1hour of
sync...and this client is rendered useless...

--Gerhard



[2013/04/07 20:24:46, 0] ../lib/util/util.c:457(dump_data)
[] 00 00 04 00 0D 00 0D 00 09 00 4E 00 00 BE BA C0  ..N.
[0010] 7B 0E 00 00 00 {
[2013/04/07 20:24:46, 0]
mapiproxy/servers/default/emsmdb/dcesrv_exchange_emsmdb.c:682(EcDoRpc_process_transaction)
MAPI Rop: 0x4e (0)
Apr 07 20:24:46 samba [27888]: 0x0x176a1f0[NGLdapConnection] Using
ldap_init (deprecated) for LDAP host:port 127.0.0.1:389
2013-04-07 20:24:46.453 samba[27888] -[NGLdapConnection
_searchAtBaseDN:qualifier:attributes:scope:]: search with at base filter
for attrs
[2013/04/07 20:24:46, 0] ../lib/util/fault.c:72(fault_report)
===
[2013/04/07 20:24:46, 0] ../lib/util/fault.c:73(fault_report)
INTERNAL ERROR: Signal 11 in pid 27888 (4.0.1)
Please read the Trouble-Shooting section of the Samba HOWTO
[2013/04/07 20:24:46, 0] ../lib/util/fault.c:75(fault_report)
===
[2013/04/07 20:24:46, 0] ../lib/util/fault.c:144(smb_panic_default)
PANIC: internal error


dpkg --list openc*
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler:
GROSS=schlecht)
||/ Name Version Beschreibung
+++-===-===-==
ii openchange-ocsmanager 1:2.0.r3665-1~inverse1. Working instance of
python-ocsmanager
ii openchange-rpcproxy 1:2.0.r3665-1~inverse1. A RPC-over-HTTP
implementation for Samba, using wsgi
ii openchangeproxy 1:2.0.r3665-1~inverse1. Experimental MAPI
(Exchange/Outlook) proxy
ii openchangeserver 1:2.0.r3665-1~inverse1. Experimental MAPI
(Exchange/Outlook) server
root@sogo:/var/lib/samba/private/mapistore/martina# dpkg --list samba4*
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler:
GROSS=schlecht)
||/ Name Version Beschreibung
+++-===-===-==
ii samba4 4.0.1+dfsg1-1 SMB/CIFS file, NT domain and active directory
server (version
un samba4-clients keine (keine Beschreibung vorhanden)
un samba4-common keine (keine Beschreibung vorhanden)
ii samba4-common-bin 4.0.1+dfsg1-1 Samba 4 common files used by both the
server and the client
root@sogo:/var/lib/samba/private/mapistore/martina#

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

Re: [SOGo] cyradm: cannot connect to server (using ZEG appliace) anyone?

2013-04-07 Thread Dave
Just in case someone else does hit this.  I'm one of those who have been 
through renaming the ZEG appliance.  I did not call it sogo and it 
appears that cyrus does insist that sogo resolves so just adding on 
the localhost line in /etc/hosts worked.


On 07/04/2013 19:11, Dave wrote:

Hi,

I'm trying to follow


Mailboxes

One operation that is not currently possible through Webadmin is
the creation of new mailboxes. To create a mailbox on the
mailstore for /newuser/, access your machine through SSH and
execute the following command:

$ cyradm --auth plain --user cyrus localhost
Password: (sogo)
IMAP Password: (sogo)
localhost cm user/newuser

I've tried

sogo@sogo:~$ cyradm --auth plain --user cyrus localhost
cyradm: cannot connect to server

both as sogo and root and the outcome is the same.  I found a post 
by someone else 
(https://bugs.launchpad.net/ubuntu/+source/cyrus-imapd-2.4/+bug/1066492) 
who seemed to have the exact same issue. In that case a re-install 
fixed it (that's not really an option for me)


I've searched this list and no one else seemed to have had this error.

Regards,
Dave


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

[SOGo] BTS activities for Sunday, April 07 2013

2013-04-07 Thread SOGo reporter
Title: BTS activities for Sunday, April 07 2013





  
BTS Activities

  Home page: http://www.sogo.nu/bugs
  Project: SOGo
  For the period covering: Sunday, April 07 2013

  
  
idlast updatestatus (resolution)categorysummary
	
	
	  
	
2282
	2013-04-07 08:59:08
	new (open)
	with external server
	Connector (17.0.3) silently ignores password change on server