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

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: jpetry
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: 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