mail-in-a-box / mailinabox

Mail-in-a-Box helps individuals take back control of their email by defining a one-click, easy-to-deploy SMTP+everything else server: a mail server in a box.
https://mailinabox.email/
Creative Commons Zero v1.0 Universal
14.02k stars 1.44k forks source link

Best mail client? (was "Roundcube and ownCloud contacts") #169

Closed hjjg closed 9 years ago

hjjg commented 10 years ago

Hi,

did you consider syncing the Roundcube address book with the ownCloud address book? There is a plugin for this. @koptein tried this with ownCloud 6. Maybe he is kind enough to integrate it?

It would be nice to have at least a read-only view on your contacts in Roundcube.

JoshData commented 10 years ago

It would be a great addition.

koptein commented 10 years ago

i'm on it!

hjjg commented 10 years ago

Could you already check in partial content? There is a so called "nerd-evening" today where we want to work on mail-in-a-box with a few people.

Additional information: There will be beer and meat, too, so it could lead to zero lines of code.

jkaberg commented 10 years ago

lol @hjjg :) sounds like fun!

Looking forward to a carddav plugin @ roundcube, let me know if you need any help @koptein

jkaberg commented 10 years ago

Oh on another note, Rainloop ( http://rainloop.net/ ) already has this built in. A cleaner (more OS X) like interface aswell

Just saying... ;)

JoshData commented 10 years ago

Someone needs to make one called YAMC: Yet Another Mail Client.

koptein commented 10 years ago

Hehe, indeed. But frankly, roundcube is a solid and well-maintained piece of software and we should stick to it, at least for now

JoshData commented 10 years ago

Completely agree.

Would love to spend some time reskining it though.

sqeezy80 commented 10 years ago

just pointing to this solution, https://github.com/christian-putzke/Roundcube-CardDAV.

jancborchardt commented 10 years ago

By the way – we’re working on an early version of an IMAP frontend for ownCloud. It already does autocomplete from Contacts, integrates with Files for attachments, and supports multiple accounts: https://github.com/owncloud/mail

You’re welcome to try out ownCloud Mail and help testing. :) Please let us know if there are any issues, we’re working towards a 0.1 release. (cc @DeepDiver1975)

JoshData commented 10 years ago

@jancborchardt Thanks for posting about it.

Between Roundcube, RainLoop, Mailpile, and ownCloud Mail [edit: and Horde] I'm not sure what we're going to do. (Definitely not support them all.)

jancborchardt commented 10 years ago

Roundcube and ownCloud Mail are simple IMAP clients, so that’s pretty much taken care of.

Mailpile is different as it’s installed locally and has all the mail. Since it combines usability and security in a way that neither Roundcube nor ownCloud Mail do, it’s definitely worth supporting it as well. cc @brennannovak of their team.

Rainloop though is not even really open source. See https://github.com/kahun/awesome-sysadmin/pull/154

JoshData commented 10 years ago

For Mailpile, it'll definitely be OK if the user installs it locally --- it'll interface with Mail-in-a-Box like any other IMAP client. The question there is if we can have it conveniently running on the box. (See my mailpile branch.)

Okay Rainloop is out because it can't be used for commercial use, thanks for the pointer.

bnvk commented 10 years ago

Happy to chat about how to improve the UX when configuring Mailpile locally (same box as Mail-in-a-Box). IMAP is already handled, but still has room for optimization- like auto discovery of MX records and filling all the technical fields and such!

JoshData commented 10 years ago

@brennannovak Hey. I ran into all sorts of situations while trying to get it running on a Mail-in-a-Box box. We may need to chat to work through these:

pryley commented 10 years ago

The main problem with Roundcube is that it is not mobile friendly. Horde webmail works great on mobile devices.

drbraden commented 10 years ago

Roundcune works well for me, but I only use it on my desktop. For my mobile devices I just use the device's native apps and access via IMAP and CalDav/CardDav (zpush when it's working right).

Though, if I was using multiple accounts I can see the appeal of just using the web app.

bnvk commented 10 years ago

@JoshData hey there, just finally getting caught up on various backlogs / threads like this. I just deployed an instance of MIAB on DigitalOcean, it went pretty darn smoothly, great job :D

So, a couple questions regarding your questions:

Mail-in-a-Box should be able to set up most/all first-run configuration settings itself...

Agreed. This is the ideal goal. It seems like some sort of interchange file spit out by MIAB that feeds into a Mailpile plugin would be the right way to achieve this goal. The plugin could then automatically create all the Profiles, IMAP, and SMTP settings in Mailpile.

The box is multi-user but Mailpile is single-user...

Can you elaborate on the multi user aspect of MIAB? I assume you mean under the "Users" tab in MIAB, yes? I'm a little vague about how you see that working on MIAB, does adding a user create a unique login and securely sandboxed off mail folder and everything? If a user wants to add the ability to receive mail from multiple @domains does each one of those need to be a "user"? Or can I use an alias to achieve a similar goal whereby multiple @domains are all routed to the same main user account?

Mailpile expects to be running at /. This creates a problem...

This is currently being implemented in some pull requests from @DoubleMalt that he needed for CloudFleet for similar reasons. He can chime in here if he wants :)

DoubleMalt commented 10 years ago

@JoshData All of the problems you describe we have too.

JoshData commented 10 years ago

does adding a user create a unique login and securely sandboxed off mail folder and everything?

Yes. I envision one box serving a whole small company, for instance. (These logins are virtual-only. They're imap accounts but not unix accounts.)

@DoubleMalt Thanks for joining the thread. I'll look over that pr. Thanks for sharing!

almereyda commented 9 years ago

Between Roundcube, RainLoop, Mailpile, and ownCloud Mail [edit: and Horde] I'm not sure what we're going to do. (Definitely not support them all.)

@bnvk @jancborchardt @JoshData If I'm allowed to share my two cents:

As Mail-in-a-box already integrates ownCloud components, it only makes sense/seems reasonable to support an upstream, free and open, simple webmail. This cooperation could drive more developers in both directions and prioritize the integration.

JoshData commented 9 years ago

Roundcube and Horde are the only production-ready projects. I'm all for testing Mailpile and ownCloud Mail, but neither are close to being ready to replace what's shipped with the box.

One way to fix Roundcube's mobile display issues would be to write a better skin. I think it's doable. But on mobile devices, why not just install an app? (Is configuration too annoying?)

0xFelix commented 9 years ago

I would stick to Roundcube as webmail client... for me it seems to be the most mature one. In my opinion Horde is to complicated overall, it didn't really satisfy me.

I also agree with @JoshData, installing an app or configuring the standard mail client on mobile devices seems reasonable to me.

pryley commented 9 years ago

It's reasonable if it's just you and managing a few users. When you manage a lot of users and accounts, having a mobile ready webmail is important.

sqeezy80 commented 9 years ago

I have to agree with Josh here. Although i think mailpile is the future, Roundcube is a good solution atm. The accounts are pretty much installed automaticly at least in osX an iOS. I think there are mobile themes out for Roundcube.

JoshData commented 9 years ago

I started a new repo if anyone wants to give a go at making a responsive, Bootstrap-based skin for Roundcube: https://github.com/mail-in-a-box/roundstrap

The login page is done, I did a little work on the main mail page, and that's it so far. (So it's mostly broken.)

JoshData commented 9 years ago

Getting back to the original point of this thread, this plugin would be useful for adding CardDAV to Roundcube:

https://github.com/psychedelys/Roundcube-CardDAV

h/t @stvnrlly

stvnrlly commented 9 years ago

@JoshData While that plugin initializes the address book with all of the contacts, it doesn't seem to be able to sync again. I'm going to try to get a different one running.

h8h commented 9 years ago

Well, i'm successfully using this one https://github.com/blind-coder/rcmcarddav with a miab deployment and roundcube. Sadly I've not enough time to make a PR.

In my opinion we also need to rewrite the miab roundcube update and use the update.sh instead of wipe the directory. That's why we do not have to install the plugin every time.

stvnrlly commented 9 years ago

@h8h Interesting, I tried that plugin without success. I'm able to get everything installed, but it errors when I try to add the Owncloud account. Would you mind sharing what you put in the various fields that got it to work?

h8h commented 9 years ago

Sure, here is a gist i've created for you: /usr/local/lib/roundcubemail/plugins/carddav/config.inc.php.

It's necessary to give the property name the value Personal, i don't know why, maybe it have to be equal with the $prefs['Personal'] array. Otherwise it does not work for me.

hjjg commented 9 years ago

@koptein integrated something in our local MIAB instance to get contacts from ownCloud into roundcube. It's OK. You need to add OC account manually.

hjjg commented 9 years ago

I would vote for the MUA that integrates with ownCloud.

toadkicker commented 9 years ago

@JoshData this is where dockerizing the project could give the more opinionated people the ability to customize the install easier. The project could become a repo of configurations with the defaults being the fully supported version. Developers can contribute docker containers to augment a base miab configuration with their own.

JoshData commented 9 years ago

@toadkicker Please see #112. No one's been able to get Docker to work. As for a repo of configurations, that's just not something I'm interested in maintaining. Getting this one configuration to work is hard enough. I'd be happy to see someone else do it, but it's not something we'll do in this repo.

rockman73 commented 9 years ago

Hello - I have a successdful install of Mailinabox at Digital Ocean. It's great and thanks so much for making this package. I was up and running sending/receiving email within 1 hour!

If I wanted to add another webmail app, how would I go about adding it without changing Mailinabox configutation? I'd simply install the alternate webmail to a different folder / URL.

Cheers

rockman73 commented 9 years ago

I would also encourage support of ownCloud Mail when it is ready. RoundCube without CardDAV sync makes it appears "tacked" on just to get an email client.

Since Rainloop is very mature and stomps Roundcube, i don't understand why it can't be included with the Mailinabox project? You mentioned commercial use. It's not clear to me why this is a blocker. Is Mailinabox commercial software? Rainloop is free for personal use - which is the spirit of Mailinabox, yes?

Thanks

sqeezy80 commented 9 years ago

Because it is not OpenSource. You are right it’s a good looking project under a bad license. Personally i would love to see Mailpile integrated.

Am 08.01.2015 um 19:50 schrieb rockman73 <notifications@github.com mailto:notifications@github.com>:

I would also encourage support of ownCloud Mail when it is ready. RoundCube without CardDAV sync makes it appears "tacked" on just to get an email client.

Since Rainloop is very mature and stomps Roundcube, i don't understand why it can't be included with the Mailinabox project? You mentioned commercial use. It's not clear to me why this is a blocker. Is Mailinabox commercial software? Rainloop is free for personal use - which is the spirit of Mailinabox, yes?

Thanks

— Reply to this email directly or view it on GitHub https://github.com/mail-in-a-box/mailinabox/issues/169#issuecomment-69228252.

JoshData commented 9 years ago

Rainloop is free for personal use - which is the spirit of Mailinabox, yes?

No, that's not true. Mail-in-a-Box ought to be usable by lawyers, journalists, and other professionals for whom email security and privacy is important. And my own two Mail-in-a-Box instances mostly (by volume of email) deal with my professional work, besides also hosting my personal email. Rainloop is definitely out.

I'm going to close this issue because we're not really making any progress on anything here. If and when ownCloud Mail or Mailpile become production ready, let's start a new issue and evaluate at that point.

For those who want to help in the meanwhile, I would suggest:

jancborchardt commented 9 years ago

@JoshData just to update you: We released ownCloud Mail 0.1: https://github.com/owncloud/mail/#owncloud-mail :)

almereyda commented 9 years ago

@jancborchardt @JoshData + Rainloop now has an AGPLv3 Community Edition https://github.com/RainLoop/rainloop-webmail/issues/8#issuecomment-100014417

JoshData commented 9 years ago

Yeah I actually tried installing Rainloop and couldn't get it to work at all.

almereyda commented 9 years ago

Anyone https://github.com/whiteout-io/mail-html5 ?

JoshData commented 9 years ago

That actually looks pretty nice.