Re: [Dovecot] MANAGESIEVE patch v8 for dovecot 1.0.7

2007-11-02 Thread Stephan Bosch

Andreas Schneider schreef:

Marcus Rueckert wrote:
  

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)


As it is a protocol like imap and pop3 in dovecot and works the same way it
uses the settings form dovecot.conf.
  
I answered this one through IRC already, but for future reference I'll 
post it here as well. Like you said, the configuration of SSL/TLS is 
pretty much the same as the other two mail daemons. However, note that 
managesieve does explicitly not support an imaps/pop3s equivalent, so 
the use of STARTTLS is mandatory. The use of an SSL layer from the start 
of a session is not documented in the specification of managesieve, nor 
required/supported by any client I have seen so far. That's why I've 
left that functionality out, though implementing it would be trivial.


Marcus also noted that it would be wise to add the configuration of 
managesieve to the dovecot-example.conf in the patch. The next release 
will include this.


Regards,

Stephan.




Re: [Dovecot] MANAGESIEVE patch v8 for dovecot 1.0.7

2007-11-02 Thread Andreas Schneider
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([EMAIL PROTECTED]): Effective
uid=150, gid=12, home=/srv/mail/homes/[EMAIL PROTECTED]/
dovecot: 2007-11-02 14:09:49 Info: MANAGESIEVE([EMAIL PROTECTED]):
sieve-storage: using mail-data: maildir:/srv/mail/[EMAIL PROTECTED]/
dovecot: 2007-11-02 14:09:49 Info: MANAGESIEVE([EMAIL PROTECTED]):
sieve-storage: using active sieve script path: ~/.dovecot.sieve
dovecot: 2007-11-02 14:09:49 Info: MANAGESIEVE([EMAIL PROTECTED]):
sieve-storage: using sieve script storage directory:
/srv/mail/[EMAIL PROTECTED]//sieve
dovecot: 2007-11-02 14:09:49 Info: MANAGESIEVE([EMAIL PROTECTED]):
sieve-storage: relative path to sieve storage in active link:
/srv/mail/[EMAIL PROTECTED]//sieve/
dovecot: 2007-11-02 14:09:49 Info: MANAGESIEVE([EMAIL PROTECTED]): Disconnected

messages:
Nov  2 14:09:49 milliways kernel: managesieve-log[24857]: segfault at
 rip  rsp 7fffaf9e6398 error 14

How can I help to debug it?


-- andreas

-- 
http://www.cynapses.org/ - cybernetic synapses




signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] MANAGESIEVE patch v8 for dovecot 1.0.7

2007-11-02 Thread Andreas Schneider
Marcus Rueckert wrote:
 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)

As it is a protocol like imap and pop3 in dovecot and works the same way it
uses the settings form dovecot.conf.

-- andreas

 
 
 darix
 

-- 
http://www.cynapses.org/ - cybernetic synapses




signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] MANAGESIEVE patch v8 for dovecot 1.0.7

2007-11-02 Thread Asheesh Laroia

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([EMAIL PROTECTED]): Effective
uid=150, gid=12, home=/srv/mail/homes/[EMAIL PROTECTED]/
dovecot: 2007-11-02 14:09:49 Info: MANAGESIEVE([EMAIL PROTECTED]):
sieve-storage: using mail-data: maildir:/srv/mail/[EMAIL PROTECTED]/
dovecot: 2007-11-02 14:09:49 Info: MANAGESIEVE([EMAIL PROTECTED]):
sieve-storage: using active sieve script path: ~/.dovecot.sieve
dovecot: 2007-11-02 14:09:49 Info: MANAGESIEVE([EMAIL PROTECTED]):
sieve-storage: using sieve script storage directory:
/srv/mail/[EMAIL PROTECTED]//sieve
dovecot: 2007-11-02 14:09:49 Info: MANAGESIEVE([EMAIL PROTECTED]):
sieve-storage: relative path to sieve storage in active link:
/srv/mail/[EMAIL PROTECTED]//sieve/
dovecot: 2007-11-02 14:09:49 Info: MANAGESIEVE([EMAIL PROTECTED]): Disconnected

messages:
Nov  2 14:09:49 milliways kernel: managesieve-log[24857]: segfault at
 rip  rsp 7fffaf9e6398 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


Re: [Dovecot] MANAGESIEVE patch v8 for dovecot 1.0.7

2007-11-02 Thread Stephan Bosch

Asheesh Laroia schreef:

On Fri, 2 Nov 2007, Andreas Schneider wrote:

messages:
Nov  2 14:09:49 milliways kernel: managesieve-log[24857]: segfault at
 rip  rsp 7fffaf9e6398 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 .
We're working on that already. Turns out to be code-duplication-related 
again. Something has changed in the authentication handling. Should get 
an update tomorrow.


Regards,

Stephan.



Re: [Dovecot] MANAGESIEVE patch v8 for dovecot 1.0.7

2007-11-01 Thread Marcus Rueckert

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