Hi dovecot.org,
When I set up vacation filter for a mailbox, the vacation response is generated even though none of the addresses in the email are same as the mailbox address itself.
I have example email sent to "aliastouser@mpathix.com" which gets delivered to "user@my.domain.com" by dovecot-lda.
The invocation command is:
# /usr/lib/dovecot/dovecot-lda
-d user
-f john.doe@somewhere.com
-a aliastouser@mpathix.com
-p /tmp/test.email
# cat /tmp/test.email Message-ID: <test3> From: John Doe john@somewhere.com To: aliastouser@mpathix.com Subject: test3 vacation response as aliastouser
This is the only line in test.email.
Here is the vacation filter:
if true { vacation :days 1 :addresses ["user@my.domain.com"] text: Please ignore this message, I am only testing vacation filter . ; }
/var/log/mail.log shows that sieve vacation sends vacation, (and after succeeding attempts, discards due to already sent address)
Apr 9 13:37:21 mx01 dovecot: lda(user): sieve: <test3>: sent vacation response to john@somewhere.com Apr 9 13:37:21 mx01 dovecot: lda(user): sieve: msgid=<test3>: stored mail into mailbox 'INBOX' ... Apr 9 13:40:15 mx01 dovecot: lda(user): sieve: msgid=<test3>: discarded duplicate vacation response to john@somewhere.com Apr 9 13:40:15 mx01 dovecot: lda(user): sieve: msgid=<test3>: stored mail into mailbox 'INBOX'
Attached is the doveconf -n output.
Any help is appreciated.
Milan.