Re: Relay Question

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: David Crabtree
CC: exim-users
Subject: Re: Relay Question
On Wed, 15 Oct 1997, David Crabtree wrote:

> Ok here is what I fully have
>
> sender_host_reject_relay = *
> relay_domains = wsnet.com:*.wsnet.com:*.ssainc.com:tibd.com:ssainc.com
> headers_sender_verify = true
> relay_match_host_or_sender = true
> sender_net_accept_relay = "206.185.37.0/255.255.255.0: \
>                            206.185.38.0/255.255.255.0: \
>                            206.185.39.0/255.255.255.0: \
>                            206.185.36.0/255.255.255.0: \
>                            209.136.1.0/255.255.255.0: \
>                            209.136.2.0/255.255.255.0: \
>                            209.136.3.0/255.255.255.0: \
>                            205.199.194.0/255.255.255.0: \
>                            206.62.196.0/255.255.255.0: \
>                            206.62.197.0/255.255.255.0: \
>                            199.80.9.67/255.255.255.255: \
>                            206.222.97.0/255.255.255.0"
> sender_address_relay = *.wsnet.com:wsnet.com:bluegrassbanjo.com:*.miningco.com:miningco.com:*.ssainc.com:ssainc.com
> sender_reject_recipients = dbm;/usr/exim/spammers
> sender_verify_reject = true

>
> I found I had to add the domains into the sender_address_relay line for
> that domain to work but it was my understanding that if the IP matched in
> the sender_net_relay_accept it would accept the email.


Remove the line

sender_host_reject_relay = *

When both an "accept" and a "reject" option are set, the reject
overrides the accept, rather than vice versa. This is so that you can
use it as an exception list inside a wider "accept" thing. I had to
choose one way or the other...

I'll try to make this clearer next edition.



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



--
* This is sent by the exim-users mailing list.  To unsubscribe send a
    mail with subject "unsubscribe" to exim-users-request@???
* Exim information can be found at http://www.exim.org/