Good day to you all.
I have a question regarding the dovecot sieve vacation function that I am unable to answer myself by reading the documentation.
A while ago we moved our dovecot server to a newer system (and newer dovecot version 2.3.16 ). This worked mostly fine, except there is now an issue with the auto-reply emails send from sieve vacation scripts.
While the sending of the auto reply generally works fine, the emails always appear to come from the "sysgroup@ida.ing.tu-bs.de" address rather than the original recipient of the message.
This is bad since the recipient of the auto reply then has no idea who the person on vacation actually is (unless there is a name in the message body).
The sieve scripts are managed by roundcube webmail, an example entry for a vacation rule looks like this:
require ["vacation"]; # rule:[Vacation] if true { vacation :days 7 :subject "Nicht im Büro" :from "tbtest@ida.ing.tu-bs.de" "Ich bin nicht da!"; }
This looks ok to me. The problem is that the "tbtest" address is not used in the generated reply, instead sysgroup@ida.ing.tu-bs.de is used as a from address for all recipients.
Note that the sysgroup@ address appears nowhere in the dovecot config, but it does in /etc/postfix/sender-canonical like that:
root@ida.ing.tu-bs.de sysgroup@ida.ing.tu-bs.de @ida.ing.tu-bs.de sysgroup@ida.ing.tu-bs.de @net.ida sysgroup@ida.ing.tu.bs.de
The /etc/dovecot/conf.d/90-sieve.conf is mostly on default values, the remaining config settings are these:
plugin { sieve = file:~/Maildir/sieve;active=~/Maildir/.dovecot.sieve
sieve_extensions = +editheader
#Send vacation auto responder with correct Address sieve_vacation_send_from_recipient = yes sieve_vacation_use_original_recipient = no }
I have attached the output of "dovecot -n" below.
Many thanks for any ideas on what could be the issue!
Kind regards,
Thomas
-- Dipl. Inf. Thomas Boroske
Institute of Computer and Network Engineering TU Braunschweig Hans-Sommer-Str. 66, D-38106 Braunschweig, Germany www.ida.ing.tu-bs.de