Re: [Exim] Preventing Mail Loops with autoreplies, MTA on th…

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: Marc Haber
Υ/ο: exim-users
Αντικείμενο: Re: [Exim] Preventing Mail Loops with autoreplies, MTA on the other side broken?
On Thu, 2 Mar 2000, Marc Haber wrote:

> >Forwarders that generate new messages instead of just forwarding the old
> >one are always in danger of creating mail loops.
>
> So the fault is with the PP at othesite?


Well, I don't advocate that way of forwarding, but there's no rule that
says you should not do it.

> if $header_Reply-to: is "" then
> mail ... to $header_Reply-To: ...
> else
> mail ... to $header_From: ...
> endif
>
> with the "..." being the same in both mail statements.
>
> That's ugly. Is there any chance to do it more elegantly?



mail to "${if eq{$h_reply-to:}{}{$h_from:}{$h_reply-to:}}"


-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.