Sieve matching "size" with user variable?

Ralph Seichter abbot at monksofcool.net
Mon Mar 25 01:15:19 EET 2019


* Ed W. via dovecot:

> How would you generate scripts for some few thousand users? How would
> you maintain those thousands of scripts when you make changes to the
> template?

A dozen or a few thousand, it makes no difference in terms of the
mechanics involved. Templates and generator scripts should be version
controlled. All part of decent software configuration management.

> Now it's a per person script, but I want the user to have a web front
> end so they can say if they want (some mangling) to happen to mails
> over a certain size? How to read that size in the filter file and act
> on it?

Are you seriously asking how to use parameters/placeholders when
generating text files?

-Ralph


More information about the dovecot mailing list