[Dovecot] MANAGESIEVE patch v4 for dovecot 1.0.rc28 / problems

Robert Schetterer robert at schetterer.org
Sun Apr 8 01:50:12 EEST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Robert Schetterer schrieb:
> Andraž 'ruskie' Levstik schrieb:
>> On 13:28:29 2007-04-07 Robert Schetterer <robert at schetterer.org> wrote:
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> Stephan Bosch schrieb:
>>>> Hello dovecot users,
>>>>
>>>> I have updated the MANAGESIEVE patch to fix the currently known small
>>>> problems with the protocol implementation. It is designed for rc28,
>>>> but also compiles cleanly with the current cvs branch_1_0.
>>>>
>>
>>> Hi Stephan,
>>> i have success with patch dovecot with your patch
>>> but having problems in understanding how to configure the sieve server
>>> in dovecot.conf , do you have some small faqs for me, the readme wasnt
>>> enough for me to do this
>>>
>>
>> I needed to do the following:
>> to my protocols line added managesieve
>> protocols = imap managesieve
>> Then added a protocol managesieve with:
>> protocol managesieve {
>>   listen = *:2000
>>   login_executable = /usr/libexec/dovecot/managesieve-login
>>   mail_executable = /usr/libexec/dovecot/managesieve
>> }
>>
>> That's what was needde to gt it working here...
>>
>> -- 
>> Andraž "ruskie" Levstik
>> Source Mage GNU/Linux Games grimoire guru
>> Geek/Hacker/Tinker
>>
>> Hacker FAQ: http://www.plethora.net/%7eseebs/faqs/hacker.html
>> Be sure brain is in gear before engaging mouth.
>>
>> Key id = F4C1F89C
>> Key fingerprint = 6FF2 8F20 4C9D DB36 B5B6  F134 884D 72CC F4C1 F89C
>>
> Hi Andraž
> thx i will try that
> 
Hi,ok setui above works
using avelsieve squirrelmail plugin
with managesieve dovecot latest
(perhaps i shouldnt use 1.30 rc)
as well there may be other problems between suse and quotawarn patches )
please see this just as info to help coders to debug

following problems in logs appear


/var/log/messages

9 04:51:41 suse10-2-vmware kernel: managesieve-log[2326]: segfault at
0000000000000000 rip 0000000000000000 rsp 00007fff8995b938 error 14

i have no idea where this comes from

/var/log/dovcot.info

dovecot: Apr 09 04:55:00 Info: IMAP(tester at example.de): Disconnected:
Logged out
dovecot: Apr 09 04:55:08 Info: managesieve-login: Login:
user=<tester at example.de>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, TLS
dovecot: Apr 09 04:55:08 Info: MANAGESIEVE(tester at example.de): Effective
uid=1001, gid=1001
dovecot: Apr 09 04:55:08 Info: MANAGESIEVE(tester at example.de): sieve
storage: Using active sieve script path:
/usr/local/virtual/tester at example.de//.dovecot.sieve

( this line looks strange to me, but it musnt be false )

dovecot: Apr 09 04:55:08 Info: MANAGESIEVE(tester at example.de): sieve
storage: Using mail-data: maildir:/usr/local/virtual/tester at example.de/
dovecot: Apr 09 04:55:08 Info: MANAGESIEVE(tester at example.de): sieve
storage: Using sieve script storage path:
/usr/local/virtual/tester at example.de/
dovecot: Apr 09 04:55:08 Info: MANAGESIEVE(tester at example.de): sieve
storage: Relative path to sieve storage in active link:
dovecot: Apr 09 04:55:08 Info: MANAGESIEVE(tester at example.de): Disconnected


in squirrlemail avelsieve

C: "IMPLEMENTATION" "dovecot"\r\n
C: "SASL" "PLAIN"\r\n
C: "SIEVE" "FILEINTO REJECT ENVELOPE VACATION IMAPFLAGS NOTIFY
SUBADDRESS RELATIONAL COMPARATOR-I;ASCII-NUMERIC"\r\n
C: "STARTTLS"\r\n
C: OK "Welcome"\r\n
S: STARTTLS\r\n
C: OK "Begin TLS negotiation now."\r\n
S: CAPABILITY\r\n
C: "IMPLEMENTATION" "dovecot"\r\n
C: "SASL" "PLAIN"\r\n
C: "SIEVE" "FILEINTO REJECT ENVELOPE VACATION IMAPFLAGS NOTIFY
SUBADDRESS RELATIONAL COMPARATOR-I;ASCII-NUMERIC"\r\n
C: OK "TLS negotiation successful."\r\n
S: AUTHENTICATE "PLAIN" {72+}\r\n
S:
dGVzdGVyQGRhcmtjaGF0cm9vbS5kZQB0ZXN0ZXJAZGFya2NoYXRyb29tLmRlAHRlc3Rlcg==\r\n
C: "IMPLEMENTATION" "dovecot"\r\n
C: "SASL" "PLAIN"\r\n
C: "SIEVE" "FILEINTO REJECT ENVELOPE VACATION IMAPFLAGS NOTIFY
SUBADDRESS RELATIONAL COMPARATOR-I;ASCII-NUMERIC"\r\n
C: OK "Capability completed."\r\n
S: CAPABILITY\r\n
C: OK "Logged in."\r\n
S: PUTSCRIPT "phpscript" {777+}\r\n# This script has been automatically
generated by avelsieve\n# (Sieve Mail Filters Plugin for
Squirrelmail)\n# Warning: If you edit this manually, then the changes
will not \n# be reflected in the users'
front-end\!\n#AVELSIEVE_VERSIONYTo0OntzOjU6Im1ham9yIjtpOjE7czo1OiJtaW5vciI7aTo5O3M6NzoicmVsZWFzZSI7aTo3O3M6Njoic3RyaW5nIjtzOjU6IjEuOS43Ijt9\n#AVELSIEVE_CREATED1176087308\n#AVELSIEVE_MODIFIED1176087308\nrequire
[""];\nif\n#START_SIEVE_RULEYTo0OntzOjQ6ImNvbmQiO2E6MTp7aTowO2E6NDp7czo0OiJ0eXBlIjtzOjY6ImhlYWRlciI7czo2OiJoZWFkZXIiO3M6NjoidG9vcmNjIjtzOjk6Im1hdGNodHlwZSI7czo4OiJjb250YWlucyI7czoxMToiaGVhZGVybWF0Y2giO3M6MzoiKioqIjt9fXM6NDoidHlwZSI7czoxOiIxIjtzOjk6ImNvbmRpdGlvbiI7czozOiJhbmQiO3M6NjoiYWN0aW9uIjtzOjE6IjIiO30%3DEND_SIEVE_RULE\nheader
:contains ["to", "cc"] "***"\n{\ndiscard;\n}\r\n
C: "IMPLEMENTATION" "dovecot"\r\n
C: "SIEVE" "FILEINTO REJECT ENVELOPE VACATION IMAPFLAGS NOTIFY
SUBADDRESS RELATIONAL COMPARATOR-I;ASCII-NUMERIC"\r\n
C: OK "Capability completed."\r\n
S: SETACTIVE "phpscript"\r\n
C: NO "line 8: Unsupported features in require line"\r\n

- --
Mit freundlichen Gruessen
Best Regards

Robert Schetterer

https://www.schetterer.org
Munich/Bavaria/Germany
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFGGCAkfGH2AvR16oERAoIyAJ4xqLb2nlE3/q9lfvGzLzDpkxViigCghDOj
uimQuXxYNNamyoV8i8A27Z8=
=ZgQK
-----END PGP SIGNATURE-----



More information about the dovecot mailing list