Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: ports/125460: New port: mail/dovecot-managesieve dovecot's managesieve implementation

2 views
Skip to first unread message

Benjamin Close

unread,
Jul 25, 2008, 3:50:05 AM7/25/08
to freebsd-p...@freebsd.org
The following reply was made to PR ports/125460; it has been noted by GNATS.

From: Benjamin Close <Benjami...@clearchain.com>
To: bug-fo...@FreeBSD.org, dg...@ec-marseille.fr, ro...@isometry.net
Cc:
Subject: Re: ports/125460: New port: mail/dovecot-managesieve dovecot's managesieve
implementation
Date: Fri, 25 Jul 2008 17:01:28 +0930

This port does not do what is intended. As per the INSTALL file of
dovecot-1.1-managesieve-0.10.3.tar.gz
the dovecot port must first be patched with
dovecot-1.1.X-manage-<managesieve version>.diff.gz
then this port will work. Without this patch dovecot will fail with
'Unknown protocol name' - indicating the managesieve protocol is
unrecognised.
This is due to the dovecot code needing changes to support managesieve (
which the patch when applied provides). Ie:

++ } else if (strcasecmp(*proto, "managesieve") == 0) {
++ if (set->protocol == MAIL_PROTOCOL_MANAGESIEVE) {
++ fd = &set->listen_fd;
++ port = set->listen_port;
++ ip = &set->listen_ip;
++ }
+ } else {
+ i_fatal("Unknown protocol %s", *proto);



Hence at present this port will create the plugin required by
managesieve but not patch dovecot leaving the user wondering why things
aren't working.. After 2 hours looking into this I figured this should
be reported, if only so others don't end up scratching thier heads
wondering why.
It would also be nice if the pkg_message indicated how to enable
managesieve and if the port description wasn't a carbon copy of
dovecot-sieve.
dovecot-sieve and dovecot-managesieve are two very different beasts and
the info in the pkg-description and pkg-message for this port is just
plain wrong/decieving.

A good example for pkg-message would be:

protocols = .... managesieve

protocol managesieve {
# Specify an alternative address:port the daemon must listen on
# (default: *:2000)
#listen = localhost:2000
#
#sieve=~/.dovecot.sieve
#sieve_storage=~/sieve
#login_executable=%PREFIX%/libexec/dovecot/managesieve-login
#mail_executable=%PREFIX%/libexec/dovecot/managesieve
#managesieve_max_line_length=
#managesieve_implementation_string=dovecot
}



Cheers,
Benjamin
benjsc@

Robin Breathe

unread,
Jul 29, 2008, 4:40:05 PM7/29/08
to freebsd-p...@freebsd.org
The following reply was made to PR ports/125460; it has been noted by GNATS.

From: "Robin Breathe" <ro...@isometry.net>
To: "Benjamin Close" <Benjami...@clearchain.com>
Cc: bug-fo...@freebsd.org, dg...@ec-marseille.fr
Subject: Re: ports/125460: New port: mail/dovecot-managesieve dovecot's managesieve implementation

Date: Tue, 29 Jul 2008 21:33:11 +0100

Benjamin,

This is being worked on: see ports/126054 and ports/126059.

Regards,
Robin

0 new messages