[Dovecot] Dovecot as LDA issues - please help

Timo Sirainen tss at iki.fi
Sat Sep 22 17:47:46 EEST 2007


On Thu, 2007-09-20 at 15:55 -0500, Placid Publishing, LLC wrote:
> Timo Sirainen wrote:
> > On Wed, 2007-09-19 at 23:12 -0500, Placid Publishing, LLC wrote:
> >   
> >> The error I get when running /usr/local/libexec/dovecot/deliver -c 
> >> dovecot.conf -d username
> >> Sep 19 22:55:57 pelorus dovecot: auth-worker(default): mysql: Connected 
> >> to localhost (db)
> >> Sep 19 22:55:57 pelorus deliver(support): auth input: support
> >> Sep 19 22:55:57 pelorus deliver(support): auth input: uid=1011
> >> Sep 19 22:55:57 pelorus deliver(support): auth input: gid=1011
> >> Sep 19 22:55:57 pelorus deliver(support): chdir(/root) failed: 
> >> Permission denied
> >>     
> >
> > This probably happens because you have "HOME=/root" environment set
> > while running deliver. v1.1's deliver clears the whole environment so
> > this isn't a problem, but for now either unset it yourself, or add
> > "home=/" (or something) to plugin {}.
> >
> > Anyway this error message isn't fatal.
> >
> >   
> Ok, what exactly should home be? I dont have home directories for my 
> virtual users, no need for them.

Home directories would still be good to have.
http://wiki.dovecot.org/VirtualUsers#homedirs

But anyway the point was to override the HOME=/root environment with
something where chdir() doesn't fail. Like / or /tmp.

> >> Sep 19 22:55:57 pelorus deliver(support): maildir: 
> >> data=/usr/local/virtual//support
> >> Sep 19 22:55:57 pelorus deliver(support): maildir: 
> >> root=/usr/local/virtual//support, index=/usr/local/virtual//support, 
> >> control=, inbox=
> >>     
> >
> > So the messages stop here? There should have been something more..
> >   
> 
> Yes that was it, what else should there be and why isn't it there?

I'm not really sure, but your previous copy&pasting showed two different
failures. I'd like to see both deliver's output and dspam's output for a
single failed delivery.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070922/019d96cf/attachment.bin 


More information about the dovecot mailing list