Dovecot/Sieve shortcuts?

Adam Shostack adam at shostack.org
Tue May 9 18:47:13 EEST 2017


Hi,

Is there a clean way to match on an email address the way procmail
^TO_ did?  that was a macro which expanded to
(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope |Apparently(-Resent)?)-To):(.*[^-a-zA-Z0-9_.])?)

so you could write
* ^TO_dovecot
dovecot

and grab messages to the list.  In sieve, I find myseld writing
["To","cc"] and wonder if there's a better way.

Adam



More information about the dovecot mailing list