Guillaume Hilt
2009-Jan-02 14:38 UTC
[Dovecot] deliver looking into root directory for sieve configuration ?
Hi, I'm using dovecot (+sieve), dspam, clamav and postfix with wirtual users and domains. When the server receive an email, I get this error : Jan 2 14:48:52 mail postfix/qmgr[13573]: 89DE1276C42B: from=<postmaster at shadowprojects.org>, size=926, nrcpt=1 (queue active) Jan 2 14:48:52 mail deliver(postmaster at adomain.fr): chdir(/root) failed: Permission denied Jan 2 14:48:52 mail deliver(postmaster at adomain.fr): stat(/root/.dovecot.sieve) failed: Permission denied Jan 2 14:48:52 mail deliver(postmaster at adomain.fr): msgid=<495E1B33.5020009 at shadowprojects.org>: saved mail to INBOX Jan 2 14:48:52 mail postfix/lmtp[13584]: 89DE1276C42B: to=<postmaster at adomain.fr>, relay=mail.mydomain.com[/var/run/dspam/dspam.sock], delay=0.07, delays=0.05/0/0/0.01, dsn=2.6.0, status=sent (250 2.6.0 <postmaster at adomain> Message accepted for delivery) Why does it look inside the /root folder for sieve configuration ? All virtual mailboxes are in /home/vmail/DOMAIN/USER/.maildir (owned by postfix:postfix; dspam has been put in the postfix group) I uploaded the following config files in http://hiltg.pastebin.com/ : - main.cf - master.cf - dovecot.conf - dspam.conf (mails are supposed to be delivered to the mailbox by dovecot, which is called by dspam) Any idea please ? Thanks and happy new year to you all, -- Guillaume Hilt
Charles Marcus
2009-Jan-02 15:07 UTC
[Dovecot] deliver looking into root directory for sieve configuration ?
On 1/2/2009, Guillaume Hilt (postmaster at shadowprojects.org) wrote:> I uploaded the following config files in http://hiltg.pastebin.com/ : > - main.cf > - master.cf > - dovecot.conf > - dspam.confPosting to a service like this is really a bother - just paste into the email body... Also, you should only post output of 'postconf -n' and 'dovecot -n'... this shows the actual working config, which, believe it or not, sometimes can be different from what you think it is - it also skips the comments, which really makes reading a config file a lot harder. Please try again... -- Best regards, Charles
Timo Sirainen
2009-Jan-03 14:47 UTC
[Dovecot] deliver looking into root directory for sieve configuration ?
On Jan 2, 2009, at 9:38 AM, Guillaume Hilt wrote:> Jan 2 14:48:52 mail deliver(postmaster at adomain.fr): chdir(/root) > failed: Permission denied..> Why does it look inside the /root folder for sieve configuration ?Your userdb returns /root as home directory. Show your dovecot- sql.conf and enable auth_debug=yes and show the logs again.
Apparently Analagous Threads
- Dovecot 2.2.7/2.2.8 failing to call dspam with antispam
- Problem with Dovecot 1.1.4 and dovecot-antispam 20080829
- Dovecot antispam unable to call dspam since dovecot upgrade to 2.X
- Unable to use imapflags in sieve
- Problem compiling dovecot-antispam on Ubuntu 11.10 using Doveot 2.0.13