News for hackers. Stuff that matters.
Re:Deploy a Gmail-like email server in 30 (ish) minutes by dukeofdoom on Sunday December 26, 2021 @10:04AM (#29692878)
I the webmail client experience better?

I was thinking of stopping to use gmail and hotmail, and run my own webmail client on a droplet. I don't like the idea of all my documents being tracked. Is there anything that competes with them that I could deploy.

Re:Deploy a Gmail-like email server in 30 (ish) minutes by dqv on Sunday December 26, 2021 @10:46AM (#29693301)
Not really. Gmail is still one of the best webmail experiences IMO, so you have to prefer clients like Thunderbird if you want to go the self-hosted route. Some people really like RoundCube, but I only use it when it’s absolutely necessary. I did get some novelty out of using Squirrelmail as a teenager.
Re:Deploy a Gmail-like email server in 30 (ish) minutes by denton-scratch on Sunday December 26, 2021 @03:05PM (#29695815)
Roundcube has a built-in editor for Sieve scripts.

Sieve is pretty cool; it runs user-defined scripts server-side, on delivery to addressee's mailbox. The scripts are in the Sieve language, which is just for mail filtering. But it's a bit abstruse - it may be rudimentary, but most users don't want to tangle with a language at all.

Anyhow, the Roundcube UI includes natively a Sieve script editor made up of drop-downs, which makes it much clearer what filter-steps you're asking for. I'm rather minimalist; I prefeer Squirrelmail, if I have to use webmail. But this feature of Roundcube is really good.

Re:Deploy a Gmail-like email server in 30 (ish) minutes by dqv on Sunday December 26, 2021 @11:21PM (#29699161)
Interesting. I did not know it was (mail) server side! I assumed that, like many PHP applications, those filters were just ran using a cron job that calls a PHP script periodically.
Re:Deploy a Gmail-like email server in 30 (ish) minutes by denton-scratch on Monday December 27, 2021 @06:26PM (#29708247)
It runs server-side, on the delivery server. And the scripts are stored on the delivery server too.

This means that you don't have to synchronize your filters between mobile client A, laptop client B, webmail client C. Thy're all on the delivery server (which is usually the same as your IMAP server). The filtering happens before you log in to email, and before your client knows there is an email.

Sieve is a specification, not a product (and not some specific PHP script). It's part of the Dovecot package in the Debian distro. It's client-server, only because there is a protocol for a client to upload/update scripts. So there's a wire protocol for management. But it has nothing to do with retrieving mail. Sieve on the server only affects what happens on delivery.

I think Sieve is totally the sanest way to do per-user mail fitering.

Re:Deploy a Gmail-like email server in 30 (ish) minutes by tuldia on Sunday December 26, 2021 @10:54AM (#29693386)
Try https://www.rainloop.net/ it remembers the previous Gmail webmail interface. Pretty nice IMO.