[Dovecot] Sieve envelope :detail "to" "extention" does not deliver to fileinto destination

Aleksandar Lazic al-dovecot at none.at
Tue Sep 13 20:07:10 EEST 2011


On Mon 12.09.2011 19:17, Jerry wrote:
>On Tue, 13 Sep 2011 00:42:44 +0200
>Aleksandar Lazic articulated:

[snip]

>> ###
>> if envelope :contains :detail "to" "pdnsusers" {
>> ###
>>
>> Is there a command like 'print envelope' or something else to see
>> what variables and envelope deliver have?
>
>This is what I use, and it works fine. The example is something I use
>for FreeBSD.
>
>Example address: user+fbsd at example.com
>
>This is my sieve recipe:
>
>if envelope :detail "To" "fbsd" {fileinto "FreeBSD"; stop;}
>
>I hope this helps.

Thanks for you help.

I haven't solved the issue, I moved to

if header :contains "to" "pdnsusers" {
     fileinto "Lists.pdnsusers";
}

Cheers
Aleks



More information about the dovecot mailing list