[Dovecot] Latest MANAGESIEVE patch -- how to start daemon?
Hello list,
I'm using Dovecot 1.0.0 on FreeBSD 6.2-RELEASE and applied the latest MANAGESIEVE patch v3 [1] which seems to have worked smoothly, i.e. all hunks succeeded and no compilation problems.
Now this may be stupid question with an obvious answer, but I am at a loss at how to start the daemon? What's the binary called that starts the sieve server? Is there a special way to invoke it? I haven't been able to find anything useful on that matter and there doesn't seem to be a TFM to R yet, the Wiki just links to [1].
What do I have to do? Did I forgot to patch something?
I'd appreciate any insight on this subject!
Thanks in advance!
Andreas
[1] http://dovecot.org/list/dovecot/2007-March/021130.html
Andreas "daff" Ntaflos Vienna, Austria
GPG Fingerprint: 6234 2E8E 5C81 C6CB E5EC 7E65 397C E2A8 090C A9B4
Hi,
first of all: there's a newer version of the patch
http://sinas.rename-it.nl/~sirius/dovecot-1.0.rc28-MANAGESIEVE-v4.diff.gz
Second: which were your steps for compilation? (patch, configure, make, make install, or what did you between patch and configure?)
Third: you must tell dovecot that it should use a new protocol, managesieve. So, in dovecot.conf you need
protocols = imap imaps pop3 pop3s managesieve
and later
protocol managesieve { listen = *:2000 login_executable = /usr/local/libexec/dovecot/managesieve-login mail_executable = /usr/local/libexec/dovecot/managesieve }
Aaaaaagur.
El Martes, 5 de Junio de 2007 23:26, Andreas Ntaflos escribió:
Hello list,
I'm using Dovecot 1.0.0 on FreeBSD 6.2-RELEASE and applied the latest MANAGESIEVE patch v3 [1] which seems to have worked smoothly, i.e. all hunks succeeded and no compilation problems.
Now this may be stupid question with an obvious answer, but I am at a loss at how to start the daemon? What's the binary called that starts the sieve server? Is there a special way to invoke it? I haven't been able to find anything useful on that matter and there doesn't seem to be a TFM to R yet, the Wiki just links to [1].
What do I have to do? Did I forgot to patch something?
I'd appreciate any insight on this subject!
Thanks in advance!
Andreas
-- Joseba Torre. CIDIR Bizkaia.
Hey Joseba,
Joseba Torre wrote:
first of all: there's a newer version of the patch http://sinas.rename-it.nl/~sirius/dovecot-1.0.rc28-MANAGESIEVE-v4.diff.gz
I don't see anything about the proxy stuff in the README or NEWS files... Do you plan to implement it ?
Hi,
El Miércoles, 6 de Junio de 2007 10:10, Rene Luria escribió:
Hey Joseba,
Joseba Torre wrote:
first of all: there's a newer version of the patch http://sinas.rename-it.nl/~sirius/dovecot-1.0.rc28-MANAGESIEVE-v4.diff.gz
I don't see anything about the proxy stuff in the README or NEWS files... Do you plan to implement it ?
I plan nothing at all, I'm not the developer of the patch :) I just try to use it.
Aaaaaaaaagur.
Joseba Torre. CIDIR Bizkaia.
Rene Luria schreef:
Hey Joseba,
Joseba Torre wrote:
first of all: there's a newer version of the patch http://sinas.rename-it.nl/~sirius/dovecot-1.0.rc28-MANAGESIEVE-v4.diff.gz
I don't see anything about the proxy stuff in the README or NEWS files... Do you plan to implement it ?
Yes, I do plan to implement it. In fact it ought to be quite simple to do so. However, my time is currently very limited. So, the next version might take a few more weeks.
Regards,
-- Stephan Bosch s.bosch@rename-it.nl
Stephan Bosch wrote:
first of all: there's a newer version of the patch http://sinas.rename-it.nl/~sirius/dovecot-1.0.rc28-MANAGESIEVE-v4.diff.gz
I don't see anything about the proxy stuff in the README or NEWS files... Do you plan to implement it ?
Yes, I do plan to implement it. In fact it ought to be quite simple to do so. However, my time is currently very limited. So, the next version might take a few more weeks.
Nice to hear.
Thanks
Hi, if you want make a rpm:
Sources:
SRPM http://dl.atrpms.net/all/dovecot-1.0.0-8_56.src.rpm
Patch
http://sinas.rename-it.nl/~sirius/dovecot-1.0.rc28-MANAGESIEVE-v4.diff.gz
Script dovecot-sieve-1.0.1/ylwrap
patch dovecot.spec attached
Is correct to name the new package like dovecot_%version_%release_MS_%arch or dovecot-managesieve_%version_%release_%arch?
Adiós.
Joseba Torre escribió:
Hi,
first of all: there's a newer version of the patch
http://sinas.rename-it.nl/~sirius/dovecot-1.0.rc28-MANAGESIEVE-v4.diff.gz
Second: which were your steps for compilation? (patch, configure, make, make install, or what did you between patch and configure?)
Third: you must tell dovecot that it should use a new protocol, managesieve. So, in dovecot.conf you need
protocols = imap imaps pop3 pop3s managesieve
and later
protocol managesieve { listen = *:2000 login_executable = /usr/local/libexec/dovecot/managesieve-login mail_executable = /usr/local/libexec/dovecot/managesieve }
Aaaaaagur.
8c8 < Release: 8_56%{?dist}
Release: 8_56_MS%{?dist} 26a27 Source100: ylwrap 34a36 Patch106: dovecot-1.0.rc28-MANAGESIEVE-v4.diff 97a100,101 %patch106 -p1 -b .MANAGESIEVE-v4 cp %{SOURCE100} .
On Wednesday 06 June 2007 10:00:57 Joseba Torre wrote:
Hi,
first of all: there's a newer version of the patch
http://sinas.rename-it.nl/~sirius/dovecot-1.0.rc28-MANAGESIEVE-v4.diff.gz
Hi and thanks for the reply!
Second: which were your steps for compilation? (patch, configure, make, make install, or what did you between patch and configure?)
I applied the v4 patch, which worked fine, but I had to re-autogenize the whole project before configure would create the new Makefiles, i.e. aclocal, libtoolize, autoheader, automake, autoconf.
That was the problem in the first place, managesieve support wouldn't be compiled at all, so no binaries to run.
Third: you must tell dovecot that it should use a new protocol, managesieve. So, in dovecot.conf you need
protocols = imap imaps pop3 pop3s managesieve
and later
protocol managesieve { listen = *:2000 login_executable = /usr/local/libexec/dovecot/managesieve-login mail_executable = /usr/local/libexec/dovecot/managesieve }
Thanks for that hint! Now the daemon seems to start fine and listens on port 2000.
The problem I am having now is that it won't authenticate me, saying:
"Choose a different authentication method to PLAIN. is not supported.".
I am using a real unix user on the server, with .dovecot.sieve in a real home directory and PAM authentication (passdb: driver PAM and userdb: driver passwd), but this doesn't seem to be supported? Is there a way to get this to work or am I out of luck? Also see dovecot -n at the end of this message.
Thanks in advance!
Andreas
dovecot -n:
protocols: imap imaps managesieve listen(default): * listen(imap): * listen(managesieve): *:2000 disable_plaintext_auth: no login_dir(default): /usr/local/var/run/dovecot/login login_dir(imap): /usr/local/var/run/dovecot/login login_dir(managesieve): login login_executable(default): /usr/local/libexec/dovecot/imap-login login_executable(imap): /usr/local/libexec/dovecot/imap-login login_executable(managesieve): /usr/local/libexec/dovecot/managesieve-login login_process_size: 64 valid_chroot_dirs: ~/.maildir/ verbose_proctitle: yes first_valid_gid: 0 mail_extra_groups: mail default_mail_env: maildir:~/.maildir/ mail_location(default): maildir:~/.maildir/ mail_location(imap): maildir:~/.maildir/ mail_location(managesieve): maildir_copy_with_hardlinks: yes mail_executable(default): /usr/local/libexec/dovecot/imap mail_executable(imap): /usr/local/libexec/dovecot/imap mail_executable(managesieve): /usr/local/libexec/dovecot/managesieve mail_plugin_dir(default): /usr/local/lib/dovecot/imap mail_plugin_dir(imap): /usr/local/lib/dovecot/imap mail_plugin_dir(managesieve): /usr/local/lib/dovecot/managesieve imap_client_workarounds(default): delay-newmail outlook-idle netscape-eoh tb-extra-mailbox-sep imap_client_workarounds(imap): delay-newmail outlook-idle netscape-eoh tb-extra-mailbox-sep imap_client_workarounds(managesieve): outlook-idle auth default: verbose: yes passdb: driver: pam userdb: driver: passwd
-- Andreas "daff" Ntaflos Vienna, Austria
GPG Fingerprint: 6234 2E8E 5C81 C6CB E5EC 7E65 397C E2A8 090C A9B4
Hi,
El Miércoles, 6 de Junio de 2007 15:29, Andreas Ntaflos escribió:
Second: which were your steps for compilation? (patch, configure, make, make install, or what did you between patch and configure?)
I applied the v4 patch, which worked fine, but I had to re-autogenize the whole project before configure would create the new Makefiles, i.e. aclocal, libtoolize, autoheader, automake, autoconf.
And this seems far cleaner that what I did :) Thanks!
The problem I am having now is that it won't authenticate me, saying:
"Choose a different authentication method to PLAIN. is not supported.".
I am using a real unix user on the server, with .dovecot.sieve in a real home directory and PAM authentication (passdb: driver PAM and userdb: driver passwd), but this doesn't seem to be supported? Is there a way to get this to work or am I out of luck? Also see dovecot -n at the end of this message.
So, now we're exactly in the same place :) Anyone knows how to get rid of that message?
Aaaaaaaaaaagur.
Joseba Torre. CIDIR Bizkaia.
participants (5)
-
Andreas Ntaflos
-
Antonio Casado Rodríguez
-
Joseba Torre
-
Rene Luria
-
Stephan Bosch