Author Topic: SOGo 2.0 auf Zentyal 3.0 und Sieve [not solved but closed]  (Read 3264 times)

zentypenguin

  • Zen Apprentice
  • *
  • Posts: 30
  • Karma: +0/-0
    • View Profile
SOGo 2.0 auf Zentyal 3.0 und Sieve [not solved but closed]
« on: October 06, 2012, 08:38:31 pm »
Hallo,

ich hoffe, ich bin hier richtig. Ich konfiguriere zur Zeit SOGo 2.0 auf einem frisch installierten Zentyal. Nun möchte ich die Abwesenheitsfunktion mit automatischer Beendigung einrichten, Stichwort "Vacation messages expiration" in der SOGo-Doku.
Für SOGo gibt es da einen Cron-Job, den man verwenden soll:
Code: [Select]
0 0 * * * sogo /usr/sbin/sogo-tool expire-autoreply authname:authpassword"SIEVE-Skripte verwalten" habe ich in Zentyal angehakt.
Nun ist es mir ein Rätsel, was ich für authname:authpassword verwenden soll.
Welche Anmeldeinformtionen unter Zentyal entsprechen denen für den Sieve Administrator?
Ich habe auch schon den Ansatz gefunden, die Dovecot-Konfiguration anzupassen und einen "Master"-User anzulegen, aber das scheint bei Zentyal ja nicht so einfach zu sein, da zum einen die Userdaten ja aus der LDAP-Konfig gezogen werden, und bei jeden Start von Zentyal die Konfiguration offenbar neu geschrieben wird.
Hat hier schon mal jemand die Funktion erfolgreich mit SOGo auf Zentyal umgesetzt?
Hier noch die Meldung, die ich bekomme, wenn ich als User "sogo" den Cron-Befehl manuell mit beliebigen Anmeldeinfos versuche:
Befehl:
Code: [Select]
/usr/sbin/sogo-tool expire-autoreply sieve:SECRETErgebnis
Code: [Select]
Oct 06 18:48:53 sogo-tool [11560]: <0x0x8b70370[SOGoCache]> Cache cleanup interval set every 300.000000 seconds
Oct 06 18:48:53 sogo-tool [11560]: <0x0x8b70370[SOGoCache]> Using host(s) 'localhost' as server(s)
2012-10-06 18:48:53.176 sogo-tool[11560] failure. Attempting with a renewed password (no authname supported)
2012-10-06 18:48:53.177 sogo-tool[11560] Could not login 'username' on Sieve server: <0x0x8ba3da8[NGSieveClient]: socket=<NGActiveSocket[0x0x8ba8b10]: mode=rw address=<0x0x8baa718[NGInternetSocketAddress]: host=localhost.localdomain port=42376> connectedTo=<0x0x8ba62a8[NGInternetSocketAddress]: host=myhost.mydomain port=4190>>>: (null)
2012-10-06 18:48:53.182 sogo-tool[11560] An error occured while removing auto-reply of user username

"username" und "myhost.mydomain" sind Dummies, die real natürlich den echten Gegebenheiten entsprechen.
Immerhin scheint das Skript zu erkennen, das username eine Abwesenheitsmeldung geschaltet hat.

Bin für jede Hilfe dankbar,

Grüße,

Ralf
« Last Edit: January 06, 2013, 09:45:29 pm by zentypenguin »

FarquahrWindsor

  • Guest
Re: SOGo 2.0 auf Zentyal 3.0 und Sieve
« Reply #1 on: October 06, 2012, 08:48:02 pm »
Ralf I think the main part of the scripts run as the user ebox.

I started this weekend with Sogo but it the weekend :) so beer and movies.

http://doc.zentyal.org/en/develop.html

Any news on when zmoddev 3.0 is avail?

zentypenguin

  • Zen Apprentice
  • *
  • Posts: 30
  • Karma: +0/-0
    • View Profile
Re: SOGo 2.0 auf Zentyal 3.0 und Sieve
« Reply #2 on: October 11, 2012, 06:35:14 pm »
Hi, FarquahrWindsor,

thank you for your reply. Sorry that I couldn't answer but first of all, I had to repair some faulty configurations before trying other things. No I tried with user ebox and its password out of the secret-file but that doesn't worked.

Any idea?

Who is the sieve administrator on an Zentyal-Installation an what is the password?

Does anybody found a solution for this problem?

It's not as serious, but I think, it's a nice chalange to make it run.

Thanks for everybody, who has an idea!

Ralf

Hi, FarquahrWindsor,

vielen Dank für Deine Antwort. Sorry, dass ich noch nicht antworten konnte, aber ich musste zunächst fehlerhafte Einstellungen reparieren, bevor ich was neues ausprobiere. Nun habe ich es mit dem ebox-User und seinem Kennwort aus der secret-Datei versucht, aber es funktioniert auch nicht.

Jemand eine Idee?

Wer ist der sieve Administrator auf einer Zentyal-Installation und was ist sein Kennwort?

Hat jemand bereits eine Lösung für das Problem?

Es ist nicht sehr schwerwiegend, aber eine nette Herausforderung, es zum Laufen zu bekommen.

Vielen Dank im Voraus für weitere Anregungen!

Ralf

FarquahrWindsor

  • Guest
Re: SOGo 2.0 auf Zentyal 3.0 und Sieve
« Reply #3 on: October 11, 2012, 07:05:23 pm »
excuses nooit gelukt. Ik ben van plan ti have a go zullen zien hoe het gaat.

christian

  • Guest
Re: SOGo 2.0 auf Zentyal 3.0 und Sieve
« Reply #4 on: October 11, 2012, 07:12:11 pm »
@zentypenguin: I'll give a try with SOGo in, I think, one week from now. I'll keep you informed if I make significant progresses.

zentypenguin

  • Zen Apprentice
  • *
  • Posts: 30
  • Karma: +0/-0
    • View Profile
Re: SOGo 2.0 auf Zentyal 3.0 und Sieve
« Reply #5 on: October 15, 2012, 03:45:47 pm »
@christian: Happy to hear about that. I myself made some new experiences, too.

To use SOGo Connector it seems to be important to log in at an external thunderbird client with with username only, without the domain part. Because of that, I had to modify dovcot-ldap.conf.mas.

SOGo Connector seems to use the username used to connect to the imap server to generate the path to the calendar and addressbook sources.

Code: [Select]
#pass_filter = (&(objectClass=CourierMailAccount)(mail=%u))
pass_filter = (&(objectClass=posixAccount)(uid=%n))
pass_attrs = mail=user,userPassword=password

It works for me for the moment, but I'm not realy shure this is the best way.

Thanks for sharing,

Ralf

zentypenguin

  • Zen Apprentice
  • *
  • Posts: 30
  • Karma: +0/-0
    • View Profile
Re: SOGo 2.0 auf Zentyal 3.0 und Sieve
« Reply #6 on: January 06, 2013, 09:44:38 pm »
Hello all,

I've stopped playing around with SOGo on Zentyal 3 because off several different problems - not only to make SOGo properly run, but also joining a Win 7 pro client into the SAMBA domain, which was very disappointing to me.

Now give Zentyal 2.2 a try without any groupware for the moment.

Happy new year,

Ralf