[Dovecot] Dovecot + Sieve - and passdb/userdb

Daniel L. Miller dmiller at amfes.com
Fri Sep 7 22:26:28 EEST 2007


Nils Vogels wrote:
> Daniel L. Miller wrote on 7-9-2007 2:24:
>   
>> userdb static {
>>    args = uid=5000 gid=8 home=/var/mail/%d/%n mail=/var/mail/%d/%n
>> allow_all_users=yes
>>  }
>>  plugin {
>>    sieve = sieve
>>  }
>>
>> Deliver + sieve is working great.  By setting the sieve variable to
>> "sieve", a non-hidden file, it doesn't appear in the folder list.  I
>> made a similar change to pysieved to use a non-hidden folder - in
>> combination with avelsieve and squirrelmail I now have a
>> user-maintainable server-side filter solution.  Awesome!
>>
>> Is there a hidden "gotcha" I'm missing here?  It's doing exactly what
>> I want!
>>     
> Everything that would for some reason go into the users homedir, you
> would be able to reach via Imap.
>
> If I were you, I'd make home and mail point to a different directory,
> which could be as simple as home=/var/mail/%d/%n
> mail=/var/mail/%d/%n/Maildir. This way, dovecot will only look for mail
> in the $HOME/Maildir, but still can do administrative stuff in $HOME.
>
> Grts,
>
> Nils
>   
What "administrative stuff"?  These directories are used exclusively for 
mail - if any user actually has a local account their home folders are 
located under "/home" - but I don't want that mixed with mail service at 
all.

-- 
Daniel


More information about the dovecot mailing list