I've been trying all night to get vacation working in my
.dovecot.sieve file. The way our email works is we have one account on
dovecot which serves my mail and my wife's and we use procmail and
sieve to put the emails in different folders depending on who it's
for. I'm trying to set up a vacation reply on my wife's email address
(aaaaa...@optus* below) so people can update to her new address.


Here's my file with the email addresses masked:

require ["fileinto", "vacation"];
if address :is "to" "xxxxxxxxxxxx...@ozemail.com.au" {
   fileinto "Phill_OzEmail_Folder";
   stop;
} elsif address :is "to" "yyyyyyyyyyyyyy...@optusnet.com.au" {
   fileinto "Phill_Optus_Folder";
   stop;
} elsif address :matches "to" "aaaaa...@optus*" {
   vacation "Please update my email address to bbbbbb...@exemail.com.au";
   fileinto "Sarah_Optus_Folder";
   stop;
} else {
   keep;
   stop;
}

The problem I'm having is that no auto-replies are sent. I removed
.dovecot.lda-dupes and that didn't help; so then I touched it and now
it's a 0 byte file and that didn't help. There is no dovecot.sieve.err
file and I can't see anything in /var/log/dovecot.log which gives any
message about why this wouldn't work.

The emails to aaaa...@optus* get filed into the right folder so I know
the matching is working.

I've also tried a reject recipe and that worked fine, so I know that
it can send an email if it chooses to.

So it's a complete black box mystery as to why it just won't send a reply.

Regards,
Phill

Reply via email to