James Ralston wrote:
On 2006-02-22 at 11:49-05 Ken Murchison <[EMAIL PROTECTED]> wrote:
Try adding the test recipient's email address(es) (those that would
appear in the To: header) with the :addresses option. E.g:
vacation :addresses ["[EMAIL PROTECTED]", "[EMAIL PROTECTED]"] :days 5 :subject
"annoying vacation message" text:
Ah, that was it.
I realize what the problem is now: our IMAP server's hostname is
imap.example.com, but in terms of its sendmail configuration, it
masquerades as example.com. So, vacation is expecting to see
recipient addresses of the form <[EMAIL PROTECTED]>, but it
sees nothing but <[EMAIL PROTECTED]> recipient addresses.
Hmmm. From my read of the imapd.conf, I think this will do what I
want:
virtdomains: off
defaultdomain: example.com
I am understanding these options correctly? I.e, does the
defaultdomain also apply to the recipient matching that Sieve's
vacation extension performs?
It probably won't help. Chances are that the domain is completely
stripped off of the envelope recipient by the time the sieve script is
executed. Because there is no way for lmtpd or Sieve to know what a
user's email address is, you almost always have to use :addresses in the
vacation action.
--
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University
----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html