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