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

-- 
## 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/

Reply via email to