Re: [Exim] Should vacation messages go to reply_address or r…

Top Pagina
Delete this message
Reply to this message
Auteur: Dave C.
Datum:  
Aan: Malcolm Beattie
CC: exim-users
Onderwerp: Re: [Exim] Should vacation messages go to reply_address or return_path?
On Fri, 11 Aug 2000, Malcolm Beattie wrote:

> I'm setting up a vacation message section in my Exim filter
> (personal, not system filter) which I've never bothered doing
> before. TFM says that the default for "mail" or "vacation" is
> $reply_address which takes notice of a Reply-To header if present.
> I'd much rather err on the overcautious side and not send a
> vacation message if there's any risk at all it would hit a mailing
> list. (I'm already filtering off stuff destined for mailing lists
> to different files but I'm paranoid and mailing list configuration
> changes sometimes change the generated headers and end up in my
> inbox.) Since a few mailing lists I'm on have the Reply-To set to
> the list address, it would seem to be safest to treat the vacation
> reply as as "error message" and send it to the envelope sender:
>
>     vacation to $return_path

>
> Is this right? (There's also a $sender_address variable which is
> kinda-sorta like $return_path?)


Uhm.. $sender_address is what you want to use. I'm not even sure if
$return_path is a valid expansion.. $header-return_path: might be, if
that header was defined, but the 'canonical' value to use should always
be in $sender_address.