29 Oct
2014
29 Oct
'14
2:53 p.m.
Am 2014-10-29 um 13:40 schrieb Steffen Kaiser:
On Wed, 29 Oct 2014, Peter Chiochetti wrote:
Today I learned, that to filter incoming plus addressed mail (user+tag@…) I had to deviate from the documentation. There it reads:
if envelope :detail "to" "spam"{
^^ does this quote miss ":is"?
fileinto "Spam"; }
This is literally taken from http://wiki2.dovecot.org/Pigeonhole/Sieve/Examples#Plus_Addressed_mail_filte...
- adding the :is did not help, IIRC.
Instead I had to write:
if address :is :detail "To" "tag"{ fileinto "Tagged"; }
it depends on your way, how to deliver message from MTA to Dovecot, if the envelope information is available at all. How do you do it?
Mail is pushed to dovecot /deliver/ LDA from /fetchmail/ from a remote proxied dovecot IMAP.
-- peter