[Dovecot] Managesieve with local accounts

Stephan Bosch stephan at rename-it.nl
Fri Feb 15 11:18:50 EET 2008


Michael Baecker wrote:
> I've got a problem using the plugin managsieve in dovecot (1.0.10 on 
> gentoo linux). I use local unix accounts on a linux machine, one for 
> each user with a .maildir in there home directory. Here is a snippet 
> of the logging.
>
> Feb 14 20:19:04 obelix dovecot: managesieve-login: Disconnected: 
> user=<michael>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, TLS
>
> I don't get the sieve script and can't also save a script. It looks 
> quite ugly "login: Disconnected" in the last line.
You should first turn on auth_debug 
(http://wiki.dovecot.org/Debugging/Authentication) and mail_debug for 
the managesieve service to get more log messages. The 'Disconnected' 
reason occurs when the client abruptly terminates the connection, 
without issueing a LOGOUT command. This might be caused by a failed 
login, but something else might be the problem as well.
> Here is my config file (without the comments):
>
> auth default {
>   mechanisms = plain
>   passdb pam {
>     args = "*"
>   }
I notice that you are using pam and that your args is set to '*'. This 
means that dovecot authenticates with pam using the servicename of the 
service involvend; e.g. imap or pop3. So, did you add a managesieve 
service to your pam configuration? My experience with pam is close to 
zero unfortunately, but you can read 
http://wiki.dovecot.org/PasswordDatabase/PAM for a few pointers.

If all this isn't the problem, try disabling TLS and sniff (e.g. using 
ngrep) the ManageSieve TCP session to see what is going on between 
client and server.

Regards,

Stephan Bosch



More information about the dovecot mailing list