[Dovecot] sieve pigeonhole vacation filter responding when recipient is not explicitly listed

Stephan Bosch stephan at rename-it.nl
Wed Apr 9 18:48:32 UTC 2014


On 4/9/2014 7:46 PM, Milan Cvetkovic wrote:
> 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 at mpathix.com" which gets
> delivered to "user at my.domain.com" by dovecot-lda.
>
> The invocation command is:
>
> # /usr/lib/dovecot/dovecot-lda \
>   -d user \
>   -f john.doe at somewhere.com \
>   -a aliastouser at mpathix.com \
>   -p /tmp/test.email
>
> # cat /tmp/test.email
> Message-ID: <test3>
> From: John Doe <john at somewhere.com>
> To: aliastouser at mpathix.com
> Subject: test3 vacation response as aliastouser
>
> This is the only line in test.email.

Well, you specify -a aliastouser at mpathix.com and no -r argument. This
means that Sieve sees aliastouser at mpathix.com as envelope recipient.
Obviously, that is listed in the 'To' header of the message, making a
vacation response valid.

http://wiki2.dovecot.org/LDA

Regards,

Stephan.


More information about the dovecot mailing list