Ticket #22993 (closed enhancement: wontfix)
add sieve variant to dovecot
| Reported by: | brad@… | Owned by: | jberry@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | |
| Keywords: | Cc: | ryandesign@… | |
| Port: | dovecot |
Description
The Dovecot Sieve plugin provides mail filtering facilities at time of final message delivery.
dovecot-sieve needs to be built against dovecot version > 1.2.
At the time of this submission it appears that the dovecot version in MacPorts is at 1.1.16 so I am including another Portfile for dovecot 1.2.9.
Maybe jberry can update dovecot and also take over dovecot-sieve.
Brad
Attachments
Change History
comment:1 follow-up: ↓ 2 Changed 3 years ago by jmr@…
- Keywords mail dovecot sieve removed
- Cc jberry@… added
- Version 1.8.1 deleted
A unified diff would be preferable for the update.
comment:2 in reply to: ↑ 1 Changed 3 years ago by brad@…
Replying to jmr@…:
A unified diff would be preferable for the update.
I wasn't using your dovecot port file so I didn't have a current dovecot Portfile to diff against. I'll sync up with macports and submit a diff.
Changed 3 years ago by brad@…
- Attachment patch-Portfile added
dovecot 1.1.16 to 1.2.9 Portfile patch
comment:4 Changed 3 years ago by brad@…
jberry, I have dovecot installed with mysql for vmail. Postfix delivery via lda. I'm using dbox format which is basically maildir with indexes. When I upgraded from dovecot 1.1.16 to 1.2.9 my mailbox locations changed without me changing anything in my config. Example: "/opt/local/var/mail/pixilla.com/brad/dbox/INBOX" changed to "/opt/local/var/mail/pixilla.com/brad/dbox/mailboxes/INBOX". This was a hassle but I had less then 100 imap accounts so I just moved the old boxes to the new location.
I've post to the dovecot list and am about to again but so far I can't find any explanation for this. I may have been improperly configed to begin with but I was hoping to add a comment to this Portfile explaining the new behavior but as of yet I don't have an explanation.
Brad
comment:5 Changed 3 years ago by ryandesign@…
- Cc ryandesign@… added
The attached patch to update dovecot contains tons of irrelevancies. Could you or someone try again, submitting a diff that makes only the relevant changes to update to the latest version? Note that I've made many changes to dovecot today, and that 1.2.10 is now the latest version available.
Changed 3 years ago by brad@…
- Attachment Portfile-dovecot.diff added
Dovecot 1.1.16 to 1.2.10 Portfile patch
Changed 3 years ago by raimue@…
- Attachment patch-dovecot-sieve.diff added
Adding a +sieve variant to dovecot
comment:7 Changed 3 years ago by raimue@…
Here is a different approach implementing sieve support as a variant. This avoids the dummy dovecot build, which would not be run with the correct compiler and flags.
Another possible solution would be to pass --enable-header-install to configure for dovecot and then use the installed version in a separate dovecot-sieve port. But this would leave out the command line tools like sievec, sieved and sieve-test. See also the Dovecot Sieve build instructions.
The managesieve extension could be added in a similar variant with a requirement on +sieve.
comment:8 in reply to: ↑ description Changed 3 years ago by brad@…
raimue: I like the variant idea better. The only reason I tried to get this done with a new ports is the MP trend of doing separate ports instead of variants. But dovecot-sieve and dovecot-managesieve are challenging to do this way. Well dovecot-sieve is easy now with the --enable-header-install but managesieve needing a patched dovecot would require the dovecot port to install the patch by default. Thanks for the dovecot-sieve variant patch. I will work out a managesieve variant and submit a patch.
Changed 3 years ago by brad@…
- Attachment patch-dovecot-managesieve.diff added
Extended raim dovecot-sieve patch to include dovecot-managesieve
comment:9 Changed 3 years ago by jmr@…
- Owner changed from macports-tickets@… to jberry@…
- Cc jberry@…, brad@… removed
- Type changed from submission to enhancement
- Port changed from dovecot dovecot-sieve to dovecot
- Summary changed from new port for dovecot-sieve to add sieve variant to dovecot
comment:10 Changed 2 years ago by pixilla@…
- Status changed from new to closed
- Resolution set to wontfix
This ticket is old and dovecot2 is out now.


dovecot-sieve Portfile