[Dovecot] Using deliver with postfix

Rich Winkel rich at math.missouri.edu
Thu Sep 25 02:19:51 EEST 2008


On Sat, Sep 20, 2008 at 05:47:26AM +0200, mouss wrote:
> 
> in your case, see the "Multiple UIDs" section in
> 	http://wiki.dovecot.org/LDA
> (you need setuid...).

I'm sorry, I'm still having  trouble... 
"/usr/local/libexec/dovecot/postfix/deliver -d ${USER}". Command output:    
/usr/local/libexec/dovecot/postfix/deliver: Permission denied        

#ls -la /usr/local/libexec/dovecot/postfix/
drwx------  2 postfix  postfix     512 Sep 24 16:07 ./
drwxr-xr-x  3 root     wheel       512 Sep 24 16:07 ../
-r-sr-sr-x  1 root     postfix  676396 Sep 24 16:07 deliver*

The postfix documentation says the delivery agent is run under the
recipient's ID, so I can see why there's a permissions problem.
If I don't specify -d it doesn't access auth-master, so I can
run it without setuid or permissions issues, but will there other
problems?  

Thanks!
Rich



More information about the dovecot mailing list