Hi all
I'm using Dovecot 2.2.9 and I'm having problems configuring multiple vacation actions. The problem is that I'd like to have two different senders and two different messages, selecting the correct case by the recipient email address. I mean, if someone writes me to my email address "to-address1@example.com" I'd like to answer from "from-address1@example.com" with the message "TEST 1". If someone writes me to my email address "to-address2@example.com" I'd like to answer from "from-address2@example.com" with the message "TEST 2".
Here's my script:
require ["fileinto","vacation"];
vacation :addresses ["to-address1@example.com"] :from " from-address1@example.com" text: TEST 1 . ; }
vacation :addresses ["to-address2@example.com"] :from " from-address2@example.com" text: TEST 2 . ;
But the vacation filter doesn't work, and I see this message in the log file:
main script: line X: error: duplicate vacation action not allowed (previously triggered one was here: main script: line Y).
Is there a way to allow multiple vacation actions?
Thank you Michele