On 04 May 2021, at 14:35, Marvin Renich <m...@renich.org> wrote:
> * Bill Cole <postfixlists-070...@billmail.scconsult.com> [210504 15:12]:
>> On 2021-05-04 at 14:55:29 UTC-0400 (Tue, 04 May 2021 14:55:29 -0400)
>> <post...@ptld.com> is rumored to have said:

>>> For sorting incoming mail into different maildir folders, i know general
>>> advice is to have postfix deliver to dovecot instead of maildir, and use
>>> dovecot sieve to deliver the mail into a user's sub-folder.
>>> 
>>> Is there anyway within postfix (or policy service) to deliver to a
>>> user's maildir sub-folder (based on from address) without relying on
>>> dovecot?
>> 
>> Postfix only knows how to deliver to the top level of a Maildir directory
>> (i.e. a properly named file in ~/Maildir/new/, if home_mailbox=Maildir/) and
>> does not have any knowledge of how the IMAP mailboxes might be laid out,
>> which can vary substantially.

Yep, this is why you use an LDA.

>> An alternative to using the Dovecot LDA or LMTP is an old, reliable,
>> unmaintained, and probably full of security holes tool: procmail.

Procmail haČ™ several known issues and it is unlikely it will ever be fixed. 
Sieve is a standard and dovecot works well with sieve, so probably the best 
choice.

> I use maildrop, which is part of Courier and appears to be actively
> developed and maintained.  I think it is a better replacement for
> procmail (though not a drop-in replacement; the filter language is
> different).

I should brush up on it, the last time I looked at it (many years ago) I seem 
to recall that it was quite limited and there were many things I did in 
proemial that I could not do with mail drop, though I don't remember any of 
them now. I'm sure it's changed in the last 15-20 years though, as have my 
needs.

I have sieve doing MOST of what I want.

-- 
Experience is something you don't get until just after you need it.

Reply via email to