On 21 Jun, 2005, at 12:36:08 PM EDT, John Horne wrote:
On Tue, 2005-06-21 at 12:08 -0400, Michael Johnson wrote:
I recently updated to 4.51 and think something may have happened to
the headers_add and headers_remove features I was relying on.
Currently, I have:
headers_add = ${if mathch{$header_list-post:} {\<mailto:(.*)
\>} \
^^^^^^
Your typo I take it :-)
Oops...yes...just a transcription error. I don't know how that got
in there. =-)
Here's the complete entry in the router section (last items):
# 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 }
Failing some possible mistakes in my transcription, is there any
reason this wouldn't work in 4.51? It appears it isn't currently
working
Why not? What error do you get?
The headers aren't being added/removed.
What's the switch to turn on debugging so I can see more of what's
happening in the logs?
Logging probably won't show you what you want to see. Run exim
standalone and add '-d+expand' (or '-d+all' for the whole lot) to the
command line. I usually run it on port 26 and capture all the output
into a file (something like 'exim ... -oX 26 >jhf 2>&1'). Then send a
test message to port 26. It just avoids messing up your usual mail
service on port 25 :-)
Would this work?:
exim -bd+all -q30m
Or should I do this?:
exim -bd -q30m -d+all
-Michael
---------------------------------------
Man könnte froh sein, wenn die Luft so rein wäre wie das Bier.
(Humanity could be happy, if the air were as pure as the beer.)
--Richard von Weizsäcker
--
## List details at http://www.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/