Procmail with Dovecot
Goetz Schultz
dovecot.expire1220 at suelze.de
Tue Oct 13 12:19:30 EEST 2020
On 13/10/2020 10:08, Dan Egli wrote:
> Hey folks, here's a question. I want to enable procmail for the users so
> that they can have their incoming messages sorted info various folders
> and such regardless of MUA access or web access. I know I can set
> procmail to deliver to a maildir, but wouldn't that screw up dovecot's
> indexes? If it would, what can I do to ensure that the indexes stay correct?
>
> Thanks!
>
Hi,
I am using procamil rules like this:
=============================================================
DELIVER="/usr/local/libexec/dovecot/deliver"
:0
* From:.*schneier.com.*
| $DELIVER -d <mailbox> -m <Folder>
=============================================================
Works a treat.
Thanks and regards
Goetz R. Schultz
---------------------------->8------------------------------
/"\
\ / ASCII Ribbon Campaign
X against HTML e-mail
/ \
This message is transmitted on 100% recycled electrons.
---------------------------->8------------------------------
Please support these causes:
https://you.38degrees.org.uk/petitions/rescue-lanes-on-multi-lane-roads
https://www.justgiving.com/crowdfunding/fylde-cfr-team
----------------------------8<------------------------------
Unsigned message - no responsibillity that content is not altered
More information about the dovecot
mailing list