Sieve not filtering

Ben bp at list-subs.com
Mon Feb 20 12:02:26 UTC 2017


>> Thank you for this.
>>
>> Actually, after many hours of head-bashing, I discovered the problem.
>>
>> sieve doesn't work when you're just using telnet port 25 !
>>
>> I was doing :
>> ehlo test
>> mail from:sender at example.com
>> rcpt to:recip at example.com
>> data
>> Subject: hello world
>> Hello World !
>> .
>>
>> With the above, sieve was simply sending everything to INBOX
>>
>> When I changed my methodology :
>> ehlo test
>> mail from:sender at example.com
>> rcpt to:recip at example.com
>> data
>> From:<sender at example.com>
>> To:<recip at example.com>
>> Subject: hello world
>> Hello World !
>> .
>>
>> It worked as expected.
>>
> The first one works as expected too; your rule used "address" so it
> is correct that it didn't look at the envelope address. You want e.g.
>
> envelope "to" "foo at example.org"
Will take a look. Thanks !


More information about the dovecot mailing list