[Dovecot] sieve: discarding vacation response
Configuration: RHEL 5.3, Dovecot 2.0 beta1, dovecot-2.0-sieve (1week old)
[wenjie@build dovecot2-2.0.beta1]$ telnet mail4a 24 Trying 172.19.1.74... Connected to mail4a.cloud.dev.mlsrvr.com (172.19.1.74). Escape character is '^]'. 220 mail4a Dovecot LMTP ready mail from:testmail4a50@dev.p4nt5.com 250 2.1.0 OK rcpt to:testmail4a2@dev.p4nt5.com 250 2.1.5 OK DATA 354 OK From: testmail4a50@dev.p4nt5.com To: foo Subject: hello
Hello there
. 250 2.0.0 testmail4a2@dev.p4nt5.com eMcYKg7gUEt8ewAA0TR52A Saved quit 221 2.0.0 Client quit Connection closed by foreign host.
testmail4a2@dev.p4nt5.com has a local .dovecot.sieve file, which contains a vacation auto response.
#begin require ["fileinto", "body", "vacation"];
vacation
:days 1
text:
I am away. . ;
keep; #end
In the log: Jan 15 15:38:07 mail4a dovecot: lmtp(31612, testmail4a2@dev.p4nt5.com): eMcYKg7gUEt8ewAA0TR52A: sieve: msgid=unspecified: discarding vacation response for message implicitly delivered to testmail4a2@dev.p4nt5.com Jan 15 15:38:07 mail4a dovecot: lmtp(31612, testmail4a2@dev.p4nt5.com): eMcYKg7gUEt8ewAA0TR52A: sieve: msgid=unspecified: stored mail into mailbox 'INBOX'
Thanks, Wenjie
wenjie zheng wrote: [...]
rcpt to:testmail4a2@dev.p4nt5.com 250 2.1.5 OK DATA 354 OK From: testmail4a50@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:
an email address known by the implementation to be associated with the recipient,
the final envelope recipient address if it's available to the implementation, or
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@dev.p4nt5.com): eMcYKg7gUEt8ewAA0TR52A: sieve: msgid=unspecified: discarding vacation response for message implicitly delivered to testmail4a2@dev.p4nt5.com
Hence, you get the above log message, indicating no vacation response is sent.
Regards,
Stephan.
On Fri, Jan 15, 2010 at 6:27 PM, Stephan Bosch stephan@rename-it.nl wrote:
wenjie zheng wrote: [...]
rcpt to:testmail4a2@dev.p4nt5.com 250 2.1.5 OK DATA 354 OK From: testmail4a50@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.
Thank you again.
Wenjie
participants (2)
-
Stephan Bosch
-
wenjie zheng