[Dovecot] deliver to subfolder?

Uldis Pakuls neko at it4u.lv
Tue Nov 6 01:04:05 EET 2007


Ralf Hildebrandt wrote:
> Can dovecot's deliver deliver a mail to a certain subfolder within a
> user's mailbox?
>   
Yes, it can.
> I was thinking of something along the lines of:
>
> deliver -m subfolder
>
> But what is the correct syntax to deliver to "spam", subfolder of INBOX?
>
> deliver -m spam < message.txt
> deliver -m INBOX.spam < message.txt
It depends on your configuration; by default "seperator = ." - thus 
"INBOX.spam"
But..., if Sieve plugin is used, this location is used as the "keep" 
action's default value. Script can override/chage it.

Uldis


More information about the dovecot mailing list