Hello,

we're implementing a dovecot 1.2.1 with sieve 0.1.7 and managesieve 0.11.7.
We're having problems with creating sieve scripts so that vacation works.

Our script looks like this:

require ["fileinto", "vacation"];

if address :matches ["To", "Cc"] "*some...@example.com*" {
    if not header :matches "X-Spam-Status" "Yes*" {
            vacation
            :days 1
            :subject "test"
            "autoresponder test.";
            keep;
    }
}

And when sent and delivered to some...@example.com, we get this in the log:

dovecot: deliver(username): sieve: msgid=<...>: discarding vacation response 
for message implicitly delivered to <usern...@fqdn.hostname.com>

Our final recipients are in the form of usern...@fqdn.hostname.com; it looks 
like this is being matched in sieve as address. But we want to match against 
original recipient address, not address after alias expansion.

Any ideas?


-- 

Jure Pečar
http://jure.pecar.org
http://f5j.eu

Reply via email to