Hello dovecot users, I have updated the MANAGESIEVE patch to the latest stable version of dovecot (1.0.7). This new version also adds extra configuration settings to explicitly specify the location of the sieve storage and the active sieve script. Additionally, the README now more clearly explains the configuration of the daemon. It currently won't compile with 1.1 due to significant changes in the master code. However, because 1.1 now approaches a stable release, the next version is going to be updated to version 1.1. Change Log V8 ------------- + Fixed a few incompatibilities with 1.0.7 version. For instance, the "Logged in" message is now sent by the -login process and not by the managesieve daemon anymore. This caused a segfault every once in a while. + Probably fixed the settings problem reported by Steffen Kaiser regarding login_dir. 'dovecot -n' now reports correct results, but testing will show whether the whole problem is solved. + The managesieve daemon now accepts the sieve_storage and sieve configuration settings, so it is now possible to explicitly configure the location of the sieve storage and the active script respectively. The daemon still falls back to using the mail_location (MAIL) settings if nothing else is specified. + The cyrus timsieved does not use the + character in string literals and many clients have adopted to this behaviour. The latest managesieve (08) advises to accept a missing + from clients. The server should not send any + characters as well. This behavior is now implemented on the server. + Cleaned up sieve-storage.c: split up the sieve_storage_create function in various sub-functions for obtaining the various paths and directories. + Forced manual intervention if rescueing a non-symlink file at the active script path fails somehow. Previously, this presented the admin with a log message that it had just eaten the script, which is not very nice. + Restructured the README.managesieve file and added some more explanation with regard to the configuration of the daemon. This patch still includes (yet another) instance of the CMU Sieve source, as explained in one of my previous e-mails (http://dovecot.org/list/dovecot/2006-July/015016.html). The patch can be downloaded at: http://sinas.rename-it.nl/~sirius/dovecot-1.0.7-MANAGESIEVE-v8.diff.gz The README.managesieve is located in the root of the dovecot source tree after applying the patch. Have fun testing the patch. Don't hesitate to notify me when there are problems. Regards, -- Stephan Bosch stephan at rename-it.nl IRC: Freenode, #dovecot, S[r]us
hi, i just prepared a testcase rpm for it. how do you enable ssl/tls support? how do you make sure that only ssl/tls is used for non secure sockets? (same policy as the dovecot imap config) darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org
Stephan Bosch wrote:> Hello dovecot users,Hi Stephan,> > Have fun testing the patch. Don't hesitate to notify me when there are > problems.I've configured horde today and if I try to access managesieve it segfaults. dovecot-infolog: dovecot: 2007-11-02 14:09:49 Info: MANAGESIEVE(mail at cynapses.org): Effective uid=150, gid=12, home=/srv/mail/homes/mail at cynapses.org/ dovecot: 2007-11-02 14:09:49 Info: MANAGESIEVE(mail at cynapses.org): sieve-storage: using mail-data: maildir:/srv/mail/mail at cynapses.org/ dovecot: 2007-11-02 14:09:49 Info: MANAGESIEVE(mail at cynapses.org): sieve-storage: using active sieve script path: ~/.dovecot.sieve dovecot: 2007-11-02 14:09:49 Info: MANAGESIEVE(mail at cynapses.org): sieve-storage: using sieve script storage directory: /srv/mail/mail at cynapses.org//sieve dovecot: 2007-11-02 14:09:49 Info: MANAGESIEVE(mail at cynapses.org): sieve-storage: relative path to sieve storage in active link: /srv/mail/mail at cynapses.org//sieve/ dovecot: 2007-11-02 14:09:49 Info: MANAGESIEVE(mail at cynapses.org): Disconnected messages: Nov 2 14:09:49 milliways kernel: managesieve-log[24857]: segfault at 0000000000000000 rip 0000000000000000 rsp 00007fffaf9e6398 error 14 How can I help to debug it? -- andreas -- http://www.cynapses.org/ - cybernetic synapses -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 249 bytes Desc: OpenPGP digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20071102/a39e0029/attachment-0002.bin>
On Fri, 2 Nov 2007, Andreas Schneider wrote:> Stephan Bosch wrote: >> Hello dovecot users, > > Hi Stephan, > >> >> Have fun testing the patch. Don't hesitate to notify me when there are >> problems. > > I've configured horde today and if I try to access managesieve it segfaults. > > dovecot-infolog: > dovecot: 2007-11-02 14:09:49 Info: MANAGESIEVE(mail at cynapses.org): Effective > uid=150, gid=12, home=/srv/mail/homes/mail at cynapses.org/ > dovecot: 2007-11-02 14:09:49 Info: MANAGESIEVE(mail at cynapses.org): > sieve-storage: using mail-data: maildir:/srv/mail/mail at cynapses.org/ > dovecot: 2007-11-02 14:09:49 Info: MANAGESIEVE(mail at cynapses.org): > sieve-storage: using active sieve script path: ~/.dovecot.sieve > dovecot: 2007-11-02 14:09:49 Info: MANAGESIEVE(mail at cynapses.org): > sieve-storage: using sieve script storage directory: > /srv/mail/mail at cynapses.org//sieve > dovecot: 2007-11-02 14:09:49 Info: MANAGESIEVE(mail at cynapses.org): > sieve-storage: relative path to sieve storage in active link: > /srv/mail/mail at cynapses.org//sieve/ > dovecot: 2007-11-02 14:09:49 Info: MANAGESIEVE(mail at cynapses.org): Disconnected > > messages: > Nov 2 14:09:49 milliways kernel: managesieve-log[24857]: segfault at > 0000000000000000 rip 0000000000000000 rsp 00007fffaf9e6398 error 14 > > How can I help to debug it?I guess you could attach gdb to the managesieve process. See http://wiki.dovecot.org/MainConfig?highlight=%28gdb%29 . -- Asheesh. -- To err is human, To purr feline. -- Robert Byrne