Hi,
I am chasing a problem with sieve vacation messages. the sieve file looks like this:
## Generated by Roundcube Webmail SieveRules Plugin ## require ["copy","vacation"];
# rule:[computerisms.ca] if anyof (address :contains "To" "bob.miller@ctfn.ca", address :contains "Cc" "bob.miller@ctfn.ca") { redirect :copy "bob@computerisms.ca"; vacation :days 66 :subject "autotest" "hello back"; }
The mail is forwarded, but no vacation response is sent, and the mail is not forwarded. I find the lda error like this:
_discarding_vacation_response_for_implicitly_delivered_message; _no_known_(envelope)_recipient_address_found_in_message_headers_ (recipient=bob.miller@hostname.domain.tld,_and_no_additional_ `:addresses'_are_specified)
I am presuming this is the source of my problem. I am not sure why the domain is being modified to reflect the fqdn of the mail server host. When I look at the delivered mail, I find the following two headers:
X-sieve-redirected-from: bob.miller@hostname.domain.tld Delivered-to: bob.miller@domain.tld
I have been looking for a while now, and I can't figure out where it is picking up the hostname from. doveconf -a | grep hostname comes up empty. the hostname is not in any of the mta config files. Anyone got a hint?
Computerisms Bob Miller 867-334-7117 / 867-633-3760 http://computerisms.ca
The mail is forwarded, but no vacation response is sent, and the mail is not forwarded. I find the lda error like this:
_discarding_vacation_response_for_implicitly_delivered_message; _no_known_(envelope)_recipient_address_found_in_message_headers_ (recipient=bob.miller@hostname.domain.tld,_and_no_additional_ `:addresses'_are_specified)
Does the message have To: and From: headers? I recall getting the same (or similar) output when those headers were missing during my testing. Adding them fixed the issue.
Jiri,
Reading my message over I see it was the end of a long day at the end of a long week, thank you for interpreting and replying,
The mail is forwarded, but no vacation response is sent, and the mail is not forwarded. I find the lda error like this:
The mail is forwarded. No "not forwarding" going on. the vacation response is not sent. Hopefully that is more clear.
_discarding_vacation_response_for_implicitly_delivered_message; _no_known_(envelope)_recipient_address_found_in_message_headers_ (recipient=bob.miller@primelian.ctfn.ca,_and_no_additional_ `:addresses'_are_specified)
Does the message have To: and From: headers? I recall getting the same (or similar) output when those headers were missing during my testing. Adding them fixed the issue.
The problem turned out to be my defaultdelivery file in qmail; dovecot-lda was missing the -a argument for the recipient...
-- Computerisms Bob Miller 867-334-7117 / 867-633-3760 http://computerisms.ca
participants (2)
-
Bob Miller
-
Jiri Bourek