wenjie zheng wrote:
[...]
> rcpt to:<testmail4a2 at dev.p4nt5.com>
> 250 2.1.5 OK
> DATA
> 354 OK
> From: <testmail4a50 at dev.p4nt5.com>
> To: foo
> Subject: hello
>
> Hello there
>
The vacation action requires that the mail explicitly lists the
recipient in the To/Cc/etc headers of the message. Your test message
does not contain the user's address in the To: header.
From RFC 5230:
===4.5. Address Parameter and Limiting Replies to Personal Messages
"Vacation" MUST NOT respond to a message unless the recipient
user's
email address is in a "To", "Cc", "Bcc",
"Resent-To", "Resent-Cc", or
"Resent-Bcc" line of the original message. An email address is
considered to belong to the recipient if it is one of:
1. an email address known by the implementation to be associated
with the recipient,
2. the final envelope recipient address if it's available to the
implementation, or
3. an address specified by the script writer via the ":addresses"
argument described in the next paragraph.
Users can supply additional mail addresses that are theirs with the
":addresses" argument, which takes a string-list listing additional
addresses that a user might have. These addresses are considered to
belong to the recipient user in addition to the addresses known to
the implementation.
===> In the log:
> Jan 15 15:38:07 mail4a dovecot: lmtp(31612,
> testmail4a2 at dev.p4nt5.com): eMcYKg7gUEt8ewAA0TR52A: sieve:
> msgid=unspecified: discarding vacation response for message implicitly
> delivered to <testmail4a2 at dev.p4nt5.com>
Hence, you get the above log message, indicating no vacation response is
sent.
Regards,
Stephan.