Dovecot is a secure and compact IMAP server and also a LDA (Local Delivery Agent), that can use sieve scripts via dovecot-sieve plugin (mail/dovecot-sieve). This managesieve implementation is maintained by Stephan Bosch <stephan@rename-it.nl>
Class Changed From-To: maintainer-update->change-request Fix category (new ports should be change-requests) (via the GNATS Auto Assign Tool)
State Changed From-To: open->closed New port added. Thanks!
miwi 2008-07-19 10:11:15 UTC FreeBSD ports repository Modified files: mail Makefile Added files: mail/dovecot-managesieve Makefile distinfo pkg-descr pkg-message pkg-plist Log: Sieve language support by a plugin for the deliver LDA * Mail filtering * Mail forwarding * Vacation auto-reply WWW: http://www.dovecot.org PR: ports/125460 Submitted by: Geoffroy Desvernay <dgeo at ec-marseille.fr> Revision Changes Path 1.917 +1 -0 ports/mail/Makefile 1.1 +24 -0 ports/mail/dovecot-managesieve/Makefile (new) 1.1 +3 -0 ports/mail/dovecot-managesieve/distinfo (new) 1.1 +9 -0 ports/mail/dovecot-managesieve/pkg-descr (new) 1.1 +16 -0 ports/mail/dovecot-managesieve/pkg-message (new) 1.1 +4 -0 ports/mail/dovecot-managesieve/pkg-plist (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
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@
Benjamin, This is being worked on: see ports/126054 and ports/126059. Regards, Robin