Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ManageSieve for Everyone #504

Closed
wants to merge 6 commits into from
Closed

ManageSieve for Everyone #504

wants to merge 6 commits into from

Conversation

jchristgit
Copy link
Member

A spectre is haunting Python Discord -- the spectre of proprietary mail
filtering programs. All the Powers of Big Mail have entered into a holy
alliance to exorcise this spectre: Outlook and GMail, Yahoo and Zoho,
AOL adn iCloud.

Where is the open protocol in opposition that has not been decried as
unprofessional, free and open source by its opponents in power? Where is
the Opposition that has not hurled back the branding reproach of
Internet Standards, against the more advanced opposition protocols, as
well as against its reactionary adversaries?

Two things result from this fact.

I. Sieve is already standardized as a protocol via the IETF.

II. It is high time that Python Discord users should openly, in the face
of the TLS-encrypted internet, filter their notifications, their love
letters, their mailing lists, and meet this nursery tale of the Spectre
of ManageSieve with a Manifesto of Python Discord Devops itself.

To this end, ManageSieve users of various nationalities have assembled
on jitsi.pydis.wtf, and sketched the following commit, to be published
on the lovelace Python Discord e-mail service.

@jchristgit jchristgit requested a review from jb3 August 26, 2024 17:19
Copy link

render bot commented Aug 26, 2024

@github-actions github-actions bot added group: ansible Issues and pull requests related to the Ansible setup group: docs Issues and pull requests related to our documentation component: email Issues relating to our email forwarding system, hosted on our netcup machines. labels Aug 26, 2024
Sieve scripts are managed via [the ManageSieve
protocol](https://datatracker.ietf.org/doc/html/rfc5804). Your e-mail client
should have built-in functionality for writing and editing these scripts. For a
listing of clients, see [the official Sieve website](sieve.info/clients.).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This link renders wrong, also, sieve.info only works over HTTP:

Suggested change
listing of clients, see [the official Sieve website](sieve.info/clients.).
listing of clients, see [the official Sieve website](http://sieve.info/clients).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in amended commit.

protocols = imap lmtp

# PYDIS CONFIG END

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm sure there is a reason, but why is this diff removed?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default protocols includes the managesieve endpoint. I figured instead of amending it here, just relying on the bundled protocols setting (via the include) is good.

Copy link
Member

@MarkKoz MarkKoz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have I understood correctly that our mail server already supports sieve, but we were merely blocking it in our firewall?

We're using Dovecot, so do we have the sieve plugin already installed and configured?

@jb3
Copy link
Member

jb3 commented Aug 27, 2024

Have I understood correctly that our mail server already supports sieve, but we were merely blocking it in our firewall?

Correct, it came in the Dovecot PR but we didn't enable it.

We're using Dovecot, so do we have the sieve plugin already installed and configured?

Yes, Sieve is installed and configured. By default, it's looking for config in the ~/sieve file. I don't know if this PR needs us to specify the additional parameters in the Sieve user attribute for ManageSieve support (i.e. active)

A spectre is haunting Python Discord -- the spectre of proprietary mail
filtering programs. All the Powers of Big Mail have entered into a holy
alliance to exorcise this spectre: Outlook and GMail, Yahoo and Zoho,
AOL adn iCloud.

Where is the open protocol in opposition that has not been decried as
unprofessional, free and open source by its opponents in power? Where is
the Opposition that has not hurled back the branding reproach of
Internet Standards, against the more advanced opposition protocols, as
well as against its reactionary adversaries?

Two things result from this fact.

I.  Sieve is already standardized as a protocol via the IETF.

II. It is high time that Python Discord users should openly, in the face
of the TLS-encrypted internet, filter their notifications, their love
letters, their mailing lists, and meet this nursery tale of the Spectre
of ManageSieve with a Manifesto of Python Discord Devops itself.

To this end, ManageSieve users of various nationalities have assembled
on jitsi.pydis.wtf, and sketched the following commit, to be published
on the lovelace Python Discord e-mail service.
Directories under /var/vmail are no longer all owned by `vmail`, but
instead `$ldap_uid:vmail`.
@jchristgit
Copy link
Member Author

@jb3 please check again, this is live

Copy link
Member

@jb3 jb3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works great.

Can we recommend https://github.com/thsmi/sieve as a client as well as sieve-connect?

I've tried this myself and not only does it work great but it also has a nice graphical overview of rule processing which might be easier for non-technical users (as well as of course allowing for manual sieve editing).

Copy link

OctoDNS Plan for managesieve

pydis.wtf.

cloudflare

Operation Name Type TTL Value Source
Delete munin CNAME 300 lovelace.box.pydis.wtf.

Summary: Creates=0, Updates=0, Deletes=1, Existing Records=43

@jchristgit
Copy link
Member Author

@jb3 added, please check again

@jchristgit jchristgit requested a review from jb3 August 29, 2024 15:30
@jb3
Copy link
Member

jb3 commented Aug 30, 2024

Merged into main. Thanks!

@jb3 jb3 closed this Aug 30, 2024
@jb3 jb3 deleted the managesieve branch August 30, 2024 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: email Issues relating to our email forwarding system, hosted on our netcup machines. group: ansible Issues and pull requests related to the Ansible setup group: docs Issues and pull requests related to our documentation
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants