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

Benjamin Close Benjamin.Close at clearchain.com
Fri Jul 25 07:50:06 UTC 2008


The following reply was made to PR ports/125460; it has been noted by GNATS.

From: Benjamin Close <Benjamin.Close at clearchain.com>
To: bug-followup at FreeBSD.org, dgeo at ec-marseille.fr, robin at 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@



More information about the freebsd-ports-bugs mailing list