li...@lazygranch.com wrote:
> 
> Peter wrote:
> > As a relatively simple example, I use amavisd-new and Spamassassin to
> > flag mail with a spam header. Then Dovecot LMTP with sieve looks for
> > this header and if it is present it delivers to the user's "Spam" folder.
> 
> Well this is interesting. I have a similar setup for postfix. With my desktop 
> email client (Claws), the program "builds the tree" based on what I assume 
> resides on the email server. So what on the server creates this spam folder? 

The delivery agent.  Dovecot's delivery agent and procmail (can't recall
any other general-purpose MDAs - although there are several that are
tied to their own non-mbox/maildir mail folder system) both understand
how to create the appropriate files and directories as needed, so "all"
that's needed for this is to create the configuration for the delivery
agent to tell it where to file which messages.

If you're using a multi-folder-aware delivery agent that doesn't know
how to create new mail folders....  you probably need to find a new
delivery agent.

> I still rather just let the client filter the message based on the header 
> rewrite. Less work. 

Only if you only ever access your mail from one device.  If I'm reading
mail on my laptop, I don't want to have to either:

a) rely on my main desktop being on to do the message sorting and
filtering, or

b) duplicate, and try to keep up to date, all the message sorting rules
across multiple systems - to say nothing of the headache I might be in
for if I decided to start reading mail on my phone, which can't run the
mail client I use on my laptop and desktop in the first place.

-kgd

Reply via email to