[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[pysieved] authentication problem
- From: Sebastian Ganschow <sebastian at ganschow dot name>
- Subject: [pysieved] authentication problem
- Date: Thu, 26 Jul 2007 17:19:22 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGqLt6KWhY+QthhLYRAjQXAJ4noERMTmVGe8SKJJ2ZUTUIpoTaTwCgl0Ph
WY1H7aLFiSY30woKyq9VIEE=
=jaLL
-----END PGP SIGNATURE-----