[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pysieved] authentication problem
- From: Neale Pickett <neale at woozle dot org>
- Subject: Re: [pysieved] authentication problem
- Date: Sat, 28 Jul 2007 08:28:57 -0600
Has anybody else had a problem with this?
Sebastian Ganschow <sebastian at ganschow dot name> writes:
> Hi,
>
> I'm currently setting up a mail-server with dovecot and the dovecot-sieve
> plugin. To manage the sieve filter rules I set up the pysieved daemon.
> For Webmail I set up the Horde Groupware Webmail Edition and configured
> Ingo to manage the sieve rules on the mailserver but it didn't work.
>
> Pysieved is set up to authenticate with dovecot over the same client-socket
> postfix is using for SASL authentication. The authentication didn't work.
> After some bughunting I found out that the problem seems to be in the
> dovecot auth plugin of pysieved.
>
> The authentication request is build by the following pattern:
>
> username\0username\0password
>
> After changing the pattern to: (Diff attached)
>
> \0username\0password
>
> the authentication worked and I could store my sieve rules on the mail-server.
>
> Could it be a bug in pysieved or is it just a problem with my configuration?
>
> I'm using:
> Dovecot 1.0.2 and pysieved from July 24
>
>
> Regards
> Sebastian
>
> Diff of plugins/dovecot.py:
> 209c209
> < base64.encodestring('\0' +
> ---
>> base64.encodestring(params['username'] + '\0' +
>
> --
> Sebastian Ganschow
> Königsberger Str. 17
> 45770 Marl
> Germany
>
> Phone: +49 2365 9 24 96 76
> Mobile: +49 172 2 47 41 44
> Mail: sebastian at ganschow dot name