Procmail with Dovecot

Marc Roos M.Roos at f1-outsourcing.eu
Tue Oct 13 13:56:20 EEST 2020


 
No need for user shell access. Before switching to sieve, I made some 
email interface where users could turn on 'services' by sending an email 
to themselves.



-----Original Message-----
To: dovecot at dovecot.org
Subject: Re: Procmail with Dovecot

On 13.10.20 11: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?

Wouldn't it be better if you enabled Sieve and use that instead? 
procmail needs shell access (or a very sophisticated web-upload thingy 
to weed out any shell escapes from procmail) to work and a user can 
easily create loops or break their mail reception completely.

Sieve at least makes sure the syntax is correct before installing a 
ruleset.

Grüße,
Sven.




More information about the dovecot mailing list