[Dovecot] Lost %d variable

Noel Butler noel.butler at ausics.net
Mon Sep 13 01:55:37 EEST 2010


On Sun, 2010-09-12 at 01:24 -0400, Aladdin wrote:



> 
> mail_location:
> maildir:/var/mail/%d/%n:CONTROL=/var/mail/%d/%n:INDEX=/var/mail/%d/%n:INBOX=
> /var/mail/%d/%n
> 



This looks wrong-  maildir:/var/mail/%d/%n     it should be
maildir:/var/mail/%d/%n/Maildir

and it appears strange that you're using INBOX=...  but, it is your
system you should know what you're doing with those options.





> plugin:
> 
>   sieve: /var/mail/%d/%n/.sieve
> 
> ----------- End lda/sieve part --------------
> 



>   userdb:
> 
>     driver: static
> 
>     args: uid=vmail gid=vmail home=/var/mail/home/%u
> 
>   

??????? you are not specifying %d  this also doesnt look right based on
other information you have supplied /home/  ??
I suspect this section here is the main culprit, but it has been a long
time since I've used any non mysql based solution, so I could be rusty.



> userdb:
> 
>     driver: passwd
> 
> plugin:
> 
>   sieve: /var/mail/%d/%n/.sieve
> 
>  
> 
> And, here is the log output:
> 
>  
> 
> ops:/var/log/mail# cat deliver-errors.log
> 
> 2010-09-11 18:23:46 deliver(aladdin): Error: sieve: failed to stat user's
> sieve script: stat(/var/mail//aladdin/.sieve) failed: Not a directory (using
> global script path in stead)
> 


I would expect this error given the above criteria





More information about the dovecot mailing list