Re: [exim] Maildir Quota excluding Trash folder.

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Daniel Tiefnig
Data:  
Para: exim-users
Asunto: Re: [exim] Maildir Quota excluding Trash folder.
Philip Hazel wrote:
> After my last post I thought of a better idea: use a pattern. So you
> could have
>
> subfolder_delivery_regex = /\.Junk$


But if my maildirs are assembled like "/somewhere/$domain/$local_part"
and one of my users decides to create the mailbox ".Junk@mydomain"? :o)

Or if I want my users to be able to specify arbitrary subfolders where
mails should be delivered to?

> to pick up a directory ending with .Junk. If somebody wanted to use
> /home/usr/.Mail and still pick up subdirs, they could use
>
> subfolder_delivery_regex = /\.Mail/\..*$


Hmm, that would only work reasonable as long as ".Mail" is a fixed string.
OTOH something like
subfolder_delivery_regex = ^/somewhere/.*/.*/\.
would always work, I think.


lg,
daniel