sieve/vacation From line?

Etienne Goyer etienne.goyer at linuxquebec.com
Thu Oct 23 14:36:48 EDT 2003


I'm confused ...

I am in a similar situation to Andrew.  The mailbox name is not to be
used as From: header since it is impossible to deliver to that address
(by policy).  With the following script, the vacation message is sent
with a From: header being the To: of the received message, that is
vacation reply to mail sent to etienne.goyer at example.com appear to come
from etienne.goyer at example.com.


require "vacation";
# Vacation
if allof ( not exists ["List-Help", "List-Unsubscribe", "List-Subscribe", "List-Owner", "List-Post", "List-Archive", "List-Id"], not header :comparator "i;ascii-casemap" :is "Precedence" "list,bulk" ) 
{ 
    vacation :days 1 :addresses "etienne.goyer at example.com" :subject "test vacation" "Blah blah ...";
}  


It work for me, but reading your post make me believe it should not.
How come ?


On Thu, Oct 23, 2003 at 01:35:27PM -0400, Ken Murchison wrote:
> andrew.caird at fccc.edu wrote:
> 
> > Hello,
> >   I'd like to be able to set the From line on sieve/vacation replies by
> > hand.  For historical reasons, people's login IDs do not equal people's
> > email addresses, and sieve/vacation simply replies as the mailbox name (in
> > my case "acaird at fccc.edu"), but in general that address isn't valid, and
> > it should reply as "andrew.caird at fccc.edu".
> >   I was really hoping that vacation would take a ":from" parameter, but it
> > doesn't seem to.
> 
> vacation is actually using the envelope recipient as the contents of the 
> From: header.  This is no easy way to do this short of modifying the 
> source to do a lookup of some recipient/userid mapping.
> 
> This could probably be done in v2.2 by adding a mailbox annotation which 
> corresponds to the user's "real" email address.
> 
> -- 
> Kenneth Murchison     Oceana Matrix Ltd.
> Software Engineer     21 Princeton Place
> 716-662-8973 x26      Orchard Park, NY 14127
> --PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp

-- 
Etienne Goyer                    Linux Québec Technologies Inc.
http://www.LinuxQuebec.com       etienne.goyer at linuxquebec.com




More information about the Info-cyrus mailing list