Re: [EXIM] Anti-relaying config

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Bruce.Rodger
CC: exim-users
Subject: Re: [EXIM] Anti-relaying config
On Thu, 13 Nov 1997, Bruce Rodger wrote:

> The relay_domains seems OK, but the sender_net_accept_relay causes
> problems, as some of our users talk to the exim hub using POP and SMTP.
> If they are doing this from a remote site (eg an isp dialup account)
> they can only send mail to addresses within strath.ac.uk, not external
> hosts.


Have you noticed relay_match_host_or_sender?

> The next atttempt replaced the sender_net_accept_relay with
> sender_address_relay = "*@*strath.ac.uk"
>
> This causes a problem if a user has a .forward file on department.strath.ac.uk -if mail from user@??? addressed to zzz@??? arrives,
> and gets rewritten by department to user@???, exim rejects it,
> as the source appears to be user@??? and the destination is user@???


I've missed something there. That can only happen (I think) if the
message travels like this:

remote site -> department.strath -> your central relay

is this the case?

However, relay_match_host_or_sender will help this case.

-- 
Philip Hazel                   University Computing Service,
ph10@???             New Museums Site, Cambridge CB2 3QG,
P.Hazel@???          England.  Phone: +44 1223 334714



--
*** Exim information can be found at http://www.exim.org/ ***