[Dovecot] Problem with 1.2 and sieve: failed with unsuccessful implicit keep

Timo Sirainen tss at iki.fi
Wed Jul 8 22:23:02 EEST 2009


On Wed, 2009-07-08 at 21:03 +0200, Julien Danjou wrote:
> At 1247075539 time_t, Timo Sirainen wrote:
> > http://hg.dovecot.org/dovecot-1.2/rev/6d7f6ea02e17 makes it log the
> > current directory in the above error message when the path is relative.
> 
> Ok, that helps to see what's wrong, thanks:
> 
> Jul  8 20:50:16 prometheus dovecot: deliver(jd at danjou.info):
> mkdir_parents_chown(danjou.info/jd/) in directory /var/spool/postfix
> failed: Permission denied (euid=8(mail) egid=8(mail))
> Jul  8 20:50:16 prometheus dovecot: deliver(jd at danjou.info): copy:
> i_stream_read() failed: No such file or directory
> 
> Of course, that fails.
> 
> The thing is that danjou.info/jd/ is the homedir of the user (returned
> by SQL),

Make your SQL query return absolute path for home dir.

> I smell (did not dig into the code) that there's a chdir() to
> mail_location that is missing for a reason I don't know.

It's not supposed to chdir to mail_location. It's supposed to chdir to
home dir.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090708/b341a12b/attachment.bin 


More information about the dovecot mailing list