Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 327241

Summary: net-mail/dovecot: add a symlink for the sieve pam file
Product: Gentoo Linux Reporter: Tim Harder <radhermit>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED UPSTREAM    
Severity: trivial CC: darkside
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tim Harder gentoo-dev 2010-07-07 01:17:56 UTC
Currently, the ebuilds only add a managesieve symlink from the imap pam file. However, roundcube with the managesieve plugin enabled doesn't work with this setup causing dovecot to output the following error:

dovecot: auth-worker(default): pam(username,127.0.0.1): pam_authenticate() failed: Authentication failure (/etc/pam.d/sieve missing?)

Adding a sieve symlink from the imap pam file fixes the issue.
Comment 1 Eray Aslan gentoo-dev 2010-07-14 07:57:16 UTC
Managesieve is the protocol that logs in the user not sieve.  Correct fix is change the code in roundcube.  At least make it look at both managesieve and sieve under pam.d if they want to keep backward compatibility.

Can you suggest it to upstream?
Comment 2 Tim Harder gentoo-dev 2010-07-14 15:26:40 UTC
(In reply to comment #1)
> Managesieve is the protocol that logs in the user not sieve.  Correct fix is
> change the code in roundcube.  At least make it look at both managesieve and
> sieve under pam.d if they want to keep backward compatibility.
> 
> Can you suggest it to upstream?

Yeah, I agree. I'll submit a patch upstream and see what happens.

Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-07-14 15:39:54 UTC
Is this closed then? :)
Comment 4 Tim Harder gentoo-dev 2010-07-14 15:53:29 UTC
(In reply to comment #3)
> Is this closed then? :)

Sure, I'll close it as upstream. :)