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

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: jpetry
Dátum:  
Címzett: exim-users
Tárgy: 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