Re: [exim] [Newbie] Using To: header to replace envelope rec…

Top Page
Delete this message
Reply to this message
Author: jpetry
Date:  
To: exim-users
Subject: Re: [exim] [Newbie] Using To: header to replace envelope recipient?
Nigel Metheringham wrote:
>> # Exim filter
>> deliver "$header_to"
>>
>>
>> This is working, but I would like to do this in the
>> Exim configure file if at all possible.
>
> This is a *really* really bad idea.


OK.

I really don't want to have an open relay.

I've changed the filter to

# Exim filter
if $header_to matches "([a-zA-Z0-9-_\.]+)@"
then
deliver $1
endif

Best Wishes,
James

--
"Be excellent to each other", Bill & Ted