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

Top Page
Delete this message
Reply to this message
Author: Michael Stevens
Date:  
To: exim-users
Subject: Re: [Exim] "Secure" relay from a host
On Tue, Jun 20, 2000 at 10:44:12AM +0100, Ryan O`Connell wrote:
>
> 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.


So you do need to associate permitted senders with hosts.

> > 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...


You could always write custom directors/routers/whatever...

I'd really like to see the ability to do that in perl, but lack the technical
ability and time.