Re: [Exim] "Secure" relay from a host

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Ryan O`Connell
Date:  
À: Michael Stevens
CC: exim-users
Sujet: Re: [Exim] "Secure" relay from a host
On 20-Jun-2000 Michael Stevens wrote:
> sender_address_relay = ".*@my.domain"
>
> host_accept_relay = "whatever.host.is.involved."
>
> However I'm not sure if you can restrict this to the degree of associating
> specific sets of sender addresses with specific hosts.


I need to accept anything "inbound" from the 'net and only restrict "outbound"
to the net so this won't work.

> Alternatively, you could write a system filter to drop messages from
> the appropriate hosts which don't have the right sender. Since you can
> embed perl in system filters, you should have great flexibility to configure
> exactly what you want here. Something along the lines of:
>
> if $sender_address is not "acceptablehere" and $sender_host_address is "xxx.xxx.xxx.xxx" then
> fail "can't do this"
> endif
>
> should work.


Will probably have to do this, but what with anti-executable/VB/SHS, blocking
Melissa, Happy99 and friends, blocking virii hoxes... by system-filter is starting
to get a bit snowed under! I suspect in a few months it will finally become
artifically intelligent...

-- 
Ryan O'Connell - On:Line Finance IT Department - <ryan@???>
                 NOC/Support Voice Line: +44 1932 235320


"Hey, girls, watch out for the wierdos"
"Mister, we ARE the wierdos"