NethServer Version: NethServer release 7.3.1611 (Final)
Module: Email Server
Let's say I have 2 domains:
- Virtual Mailbox Domain: example.local (internal domain)
- Virtual Alias Domain: example.com (public domain)
Every mail sent to @example.com is really sent to @example.local.
I have a virtual alias that forward mails sent to firstname.lastname@example.org is sent finally to:
Now, I'd want to every mail was sent to email@example.com it triggers an autoreply vacation style.
So, I've wrote and compiled a sieve filter, something like that and put in firstname.lastname@example.org sieve folder.
But it fails complaining like that:
nov 29 15:55:39 muteriver.example.local dovecot: lmtp(12675, email@example.com): CqNdF6sCH1qDMQAAcSFsIQ: sieve: msgid=<firstname.lastname@example.org>: discarding vacation response for implicitly delivered message; no known (envelope) recipient address found in message headers (recipient=<email@example.com>, and additional `:addresses' are specified)
I've tried appending in dovecot configuration:
lda_original_recipient_header = X-Original-To and in /etc/postfix/main.cf
enable_original_recipient = yes.
But it does not work either.
Using: dovecot-pigeonhole-2.2.10-8.el7.centos.x86_64 and postfix-2.10.1-6.el7.x86_64
Please could you help me, am I missing something?
Thanks in advance