Zentyal Forum, Linux Small Business Server

Zentyal Server => Installation and Upgrades => Topic started by: flyinglionel on September 23, 2010, 05:18:41 pm

Title: webmail and groupware (mail) consistency
Post by: flyinglionel on September 23, 2010, 05:18:41 pm
Hi all,

Am I missing something?

I was hopping that webmail account and groupware account (zarafa) will share the same mail service but it seems that it is not.

For example:
After having sent an email to someone, I am hopping to see this email in the sent folder of webmail as long as the sent folder of zarafa.
The same for the inbox, whatever the tools I am using to read my email, I want to have the same view of my inbox.

This is what I call "consistency".

I have a default install of zentyal and by activating Zarafa, I am far away from this wanted behavior.
I can read webmail, I can read zarafa mail but they are strangers from each other.

Any thoughts?

Thanks
Title: Re: webmail and groupware (mail) consistency
Post by: jsalamero on September 24, 2010, 09:33:53 am
Zentyal mail module uses Dovecot mailboxes storage where groupware (Zarafa) uses it's own storage, based on MySQL. When you choose to deliver a domain to Zarafa it's not delivered to Dovecot anymore. You could reconfigure Webmail to check Zarafa IMAP, but you will loose access to remaining virtual domain still in mail (Dovecot). We wish we could do something here, but using Zarafa with it's own MySQL has its great advantages and duplicating email in both doesn't worth it.
Title: Re: webmail and groupware (mail) consistency
Post by: ebox_liker on September 25, 2010, 05:11:42 pm
What about having all domains in zarafa and allow access to their IMAPs via roundcube?

At the moment I am trying to achieve the following scenario:
 - have 2 virtual domains  (webmail.domain1.com and webmail.domain2.com)
 - create different config files for each virtual domain (for example /srv/www/webmail.domain1.com/config/main.inc.php)
Anyone done that before cuz I'm having some troubles here with server always reading config for roundcube from /etc/roundcube/main.inc.php...

Can you post an example of config for accessing Zarafa IMAP with roundcube please?

M
Title: Re: webmail and groupware (mail) consistency
Post by: Jan Jacobs on September 25, 2010, 05:37:26 pm
personally, i think they need to get rid of either one of those..
it makes things over complicated for the beginning sysadmin!

and personally, i think they should get rid of the standard mailsystem, and let zafara handle mail/groupware ;)

perhaps include a wizard to enable and configure one mailsystem when the user first logs in or something? i see many users with mail related problems, whereas the rest of the system is as good as perfect!
Title: Re: webmail and groupware (mail) consistency
Post by: christian on September 27, 2010, 01:37:34 pm
personally, i think they need to get rid of either one of those..
it makes things over complicated for the beginning sysadmin!
and personally, i think they should get rid of the standard mailsystem, and let zafara handle mail/groupware ;)

Well, I'm just thinking the opposite, sorry.
The big advantage of the "standard mail system" is that it is... standard :-) which means that you can change components without being attached to proprietary implementation.
This said, I share that one single mail system is better.

How many are using groupware features and how many are using Zentyal with mail but without groupware?

I don't use groupware but I do need mail: going in direction you promote would mean, in my case, to install groupware component in order to use mail... Frankly, if such change occurs, I will just drop Zentyal and go different implementation :-(
Title: Re: webmail and groupware (mail) consistency
Post by: jsalamero on September 27, 2010, 03:50:11 pm
We won't replace Dovecot with Zarafa for all domains. They are different components used in different scenarios.
Title: Re: webmail and groupware (mail) consistency
Post by: ctek on September 28, 2010, 12:29:39 pm
Hi, I have also some questions regarding this issue.
Is it possible to do a cron script to synchronize the zarafa mysql with dovecot ? in this way the mails will be in both systems. And also this will not allow any mail to be lost. Either via email client or Zarafa inteface or Roundcube.

If someone has any instructions on this please share.

Thank you and best regards
Bogdan
Title: Re: webmail and groupware (mail) consistency
Post by: alvinquah on September 28, 2010, 12:44:58 pm
Hi since we are in this topic, can i just check if i just want to send mail using POP/POP3/IMAP/IMAPS, can i use ebox-zarafa instead of ebox-webmail? Meaning to say i just want my users to access http://zentyal-mail/webaccess and they are able to access email as well as zarafa groupware without accessing http://zentyal-mail/webmail at all? thanks
Title: Re: webmail and groupware (mail) consistency
Post by: ctek on September 28, 2010, 02:27:05 pm
jsalamero
Can you please tell me how we can use Zarafa as default mailsystem
I want to try to use Zarafa as default and see how it does. Is it difficult to achieve this ?

Title: Re: webmail and groupware (mail) consistency
Post by: jsalamero on September 28, 2010, 09:53:06 pm
You could do some scripting with imapsync to syncronize between dovecot and zarafa, not straight forward though.

Webmail isn't necessary if you are using only Zarafa.

And as a general guideline, configure your mail server, create one virtual domain and assign it to Zarafa, it's easy :)
Title: Re: webmail and groupware (mail) consistency
Post by: Jan Jacobs on September 29, 2010, 12:42:00 am
You could do some scripting with imapsync to syncronize between dovecot and zarafa, not straight forward though.

Webmail isn't necessary if you are using only Zarafa.

And as a general guideline, configure your mail server, create one virtual domain and assign it to Zarafa, it's easy :)

easy?
now there's the funny part :)
i have still not figured out how to do that...
Title: Re: webmail and groupware (mail) consistency
Post by: alvinquah on September 29, 2010, 04:56:14 am
You could do some scripting with imapsync to syncronize between dovecot and zarafa, not straight forward though.

Webmail isn't necessary if you are using only Zarafa.

And as a general guideline, configure your mail server, create one virtual domain and assign it to Zarafa, it's easy :)

can we assign both pop and imap to zarafa? thanks
Title: Re: webmail and groupware (mail) consistency
Post by: jsalamero on September 29, 2010, 08:18:18 am
Yes, you could assign pop and imap to Zarafa and make Dovecot listen in different ports modifying the configuration stubs.
Title: Re: webmail and groupware (mail) consistency
Post by: Jan Jacobs on September 29, 2010, 10:34:34 am
is there an "official" howto available.. to work with zafara as mailserver/groupware under Zentyal?
because, for the life of god, i seem to be unable to figure it out :(
i can logon to the zafara mailserver through the web, but i cant send mail..
and i also cant connect using thunderbird?

Title: Re: webmail and groupware (mail) consistency
Post by: flyinglionel on September 29, 2010, 10:44:23 am
Thank you for all these comments.

I am a little bit less in the fog.

Title: Re: webmail and groupware (mail) consistency
Post by: ctek on September 29, 2010, 11:14:54 am
You could do some scripting with imapsync to syncronize between dovecot and zarafa, not straight forward though.

Webmail isn't necessary if you are using only Zarafa.

And as a general guideline, configure your mail server, create one virtual domain and assign it to Zarafa, it's easy :)

I have only one mail domain so it is linked with Zarafa.
imapsync is not going to work as expected. I have toyed around all day to se how to do it to work but no avail...
As someone posted here i want to use POP and Imap for evolution/thunderbird. Can we turn off dovecot and postfix completly ?

If you can make a short step-by-step page to achieve the goal we would appreciated

Thank you and best regards
Bogdan
Title: Re: webmail and groupware (mail) consistency
Post by: Jan Jacobs on September 29, 2010, 11:16:12 am
...

Well, I'm just thinking the opposite, sorry.
The big advantage of the "standard mail system" is that it is... standard :-) which means that you can change components without being attached to proprietary implementation.
This said, I share that one single mail system is better.

How many are using groupware features and how many are using Zentyal with mail but without groupware?

I don't use groupware but I do need mail: going in direction you promote would mean, in my case, to install groupware component in order to use mail... Frankly, if such change occurs, I will just drop Zentyal and go different implementation :-(

i really dont see why you should be sorry ;)
I see your point, i do.. thats why i opted for some sort of wizard at the beginning (or did i forget that?)
So that new users can choose wether to use the groupware features, or the standard mailserver features

at this point, i think, its all a bit confusing for new users!
OR find some way to make them work together.. maybe thats even better to do, so that no wizard is required, and users can setup 2 systems at the same time?
(or am i overlooking something, please DO fill me in, im kind of new to linux mail / groupware)
Title: Re: webmail and groupware (mail) consistency
Post by: binary-two on September 29, 2010, 11:18:29 am
You could do some scripting with imapsync to syncronize between dovecot and zarafa, not straight forward though.

Hi all,

I have played around with that some time ago. Imapsync is really a nice tool.

But you can not have a full two-way sync, ie., two consistent mail boxes at the same time. Having said that, the syncing full mailboxes can be too time- and most likely too resource intensive to run it in short intervals for many users, in my opinion.

If you want to try, it should look somehow like this (the options based on different recommendations from the zarafa and other forums):

Code: [Select]
imapsync --host1 imaphost --port1 imapport --ssl1 --user1 user@virtdomain --passfile1 ~/server1.secret --sep1 "." \
--host2 zarafahost --port2 zarafaport --user2 user --passfile2 ~/server2.secret --sep2 "/" --prefix2 "" \
--skipsize --useheader subject --useheader date --noauthmd5 --syncinternaldates --idatefromheader --subscribe \
--folder "INBOX.onefolder" \
--folder "INBOX.anotherfolder" \
--delete

This transfers the mails from some IMAP folders to Zarafa. The other way round should be straight forward. Maybe don't use the same folders if you do ;-).

Maybe be careful with the delete-switch the first time playing around; in my scenario, syncing only folders was the better option. Have a look at he man page [1].

So long,

Björn

[1] http://pwet.fr/man/linux/commandes/imapsync
Title: Re: webmail and groupware (mail) consistency
Post by: binary-two on September 29, 2010, 11:27:25 am
Hi Jorge,

I have a correlating question. I have an IMAP and a Zarafa virtual domain. If a user has his primary email address in the IMAP domain the mail is delivered to IMAP, if the user has his primary email address in the Zarafa domain, the mail is delivered to Zarafa. So far so good :-).

If I create an alias for my IMAP user using the Zarafa virtual domain, I expected mails using the alias being delivered to Zarafa. But this does not happen. I even added the alias of my test user manually in /etc/postfix/transport, eg., user@zarafa.domain zarafa. But still the email is delivered to IMAP.

I can not trace why this is happening. Does postfix only look up the primary email of the user or should it work with aliases as well?

Thanks for your help in advance,

Björn
Title: Re: webmail and groupware (mail) consistency
Post by: Vertex on September 30, 2010, 08:42:45 pm
Hi everybody!

when I read this thread i was surprised and a little bit disappointed. I am running the mail system as IMAP server to collect all mails from different external accounts. Normaly I use thunderbird for mail access, but i wanted to use Zarafa for webaccess and push-mail but now I have to see that Zarafa uses its own mail-storage and can't access Dovecots mailbase - that a pity. Like christian I prefer standard solutions and because of this I do not want to store my mail in a MySQL-database. Ok, I could use just a normal webaccess but I am interested in the groupware features of Zarafa too - so it wouldn't make sense. It would be perfect if Zarafa could handle different mail storages - atm, I think, the only straight forward solution is to use Zarafa for mail storage. Maybe 2-way-sync works too but i do not feel well with it.

best regards
Vertex
Title: Re: webmail and groupware (mail) consistency
Post by: FutureTechSys on October 04, 2010, 05:57:57 pm
If you're going to use Zarafa, webmail becomes unnecessary - it has both /webaccess for computers and the mobile as well, plus pop imap etc.

I would simply direct the users to only use Zarafa.  I have found many times that when you give users too many options, it causes problems.

You could get a little tricky and redirect the webmail url to the Zarafa url.
Title: Re: webmail and groupware (mail) consistency
Post by: christian on October 06, 2010, 11:43:28 am
If you're going to use Zarafa, webmail becomes unnecessary - it has both /webaccess for computers and the mobile as well, plus pop imap etc.

Sure but the point here is not to offer more than one "web mail" access. Point here is that the way Zafara stores email is prorietary :-( and therefore not flexible and would oblige to have ALL users defined as Zafara users, even for those needing only mail service.
It also means yet another pop & imap server etc...

To make it simple if Zentyal target "turn key" deployment mode, only one mechanism should be keep (otherwise one have to enter in endless discussion and documentation, that is rarely read, to explain which one use, when and how) and my point in previous post in this thread was to say, because I share your statment: "if the remaining MDA keept in Zentyal is Zafara instead of Procmail/Dovecot approach, I will for sure drop Zentyal in order to keep something more flexible"
Title: Re: webmail and groupware (mail) consistency
Post by: jsalamero on October 17, 2010, 12:29:20 pm
We don't want force people to use one system or other, that's why designed the mail system this way. You will be able to use Postfix+Dovecot with maildir but also Zarafa. Both systems can coexist (under different domains).
Title: Re: webmail and groupware (mail) consistency
Post by: alawson75 on November 02, 2010, 04:24:43 am
I've also found that after changing the default Zarafa mySQL password that when the Zarafa-server process fails due to a login problem that using phpMyadmin to change the zarafa account password in mysql to the same one you chose then starting the zarafa-server service restores webaccess.

ofcourse you could manually change the zarafa user password directly in mysqld

just my thoughts, cheers!
-Anthony
Title: Re: webmail and groupware (mail) consistency
Post by: koe on February 19, 2011, 08:57:47 pm
is there an "official" howto available.. to work with zafara as mailserver/groupware under Zentyal?
because, for the life of god, i seem to be unable to figure it out :(
i can logon to the zafara mailserver through the web, but i cant send mail..
and i also cant connect using thunderbird?



Believe me there are a lot of people struggling with this. That the systems are separate I suppose it's the only way. but why have 2 mail systems? I want to go to full Zafara use but have to use outgoing SMTPs (for Thunderbird) with dovecot so your mail end up in the "normal" mail system and not with your Zarafa users. I am stepping away from Zentyal after 2 weeks of struggling and here I have my answer. the Zentyal staff's answer in this topic is clear. they are seperate... ur bad, you should not have selected Zentyal if you want to use zarafa to the fullest. Checking out the next distro.
Sorry to say I wanted to use Zentyal because I liked Zarafa way better that Horde. After this I am back to ClearOS or SME server (contribs.org). I did like the setup, I did like the view, but this closes the door for Zentyal. I am not a full Linux administrator, if so i would not even had to fall back on distro's like Zentyal. I hope our friends of Zentyal start to understand and at least make a howto or describe it in the documentation.

good bey Zentyal... I will keep track but I lost my interest here.