Re: [Exim] Getting around my isp when they block port 25

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Michael Johnson
Date:  
À: exim-users
Nouveaux-sujets: Re: [Exim] using reply-to
Sujet: Re: [Exim] Getting around my isp when they block port 25
On Feb 16, 2004, at 1:39 PM, Greg A. Woods wrote:

> Well, on this list there's a rule in force for _some_ of the
> subscribers
> which prevents us from using the list posting address as the reply-to
> address in our postings. Until that's fixed I will also be CC'ing
> everyone directly on my posts in case the copy to the list doesn't make
> it and I don't see the bounce for many hours (and for the duration I
> won't complain if I get CC'ed too :-).


This is easy enough to change. With some expert help from this list, I
put the following into my configuration file:

# If both Reply-to and List-Post exist, copy original Reply-To
# If List-Post exists, generate Reply-To from it
headers_add     = ${if match {$header_list-post:} {\<mailto:(.*)\>} \
                 {${if def:header_reply-to: \
                 {X-Orig-reply-to: $header_reply-to:\nReply-To: <$1>} \
                 {Reply-To: <$1>} }} \
                 {} }



# If both Reply-to and List-Post exist, remove original Reply-To
headers_remove = ${if and { \
                 {def:header_reply-to:} {def:header_list-post:}\
                 } {reply-to} fail }


This was the last item in my Routers section.

-Michael


---------------------------------------
Sometimes your joy is the source of your smile, but sometimes your
smile can be the source of your joy.

                    --- Thich Nhat Hanh