Autor: jpetry Data: Para: exim-users Assunto: 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