Re: [exim] relay_hosts

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: John Clement
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] relay_hosts
OK guys, thanks for pointing me in the direction of the policy. Here,
hopefully, is everything you might need, thanks in advance for yout
time.

To start from the beginning. A client's server has a send-to-friend
form on the site, with to and from fields. When using one of our local
domains in the from field the mail is rejected by our mail server.

Find below snips of exim4.conf, I've included the filter the mail is
failing on (based on the message in the log), and the values for the
variables included in the filter.

I thought I understood why it was failing originally, so added the
client's server's IP (146.101.171.20) to relay_hosts, but I think I must
be barking up the wrong tree.

==================================
hostlist relay_hosts = 10.10.0.0/16 : 10.14.0.0/16 : 192.168.0.0/24 :
127.0.0.0/24 : KYLIENEW_EXT_IP : KYLIENEW_EXT2_IP : MESON_EXT_IP :
CONWAY_EXT_IP : 209.63.57.143 : TELEHOUSE_INT : 146.101.171.20

hostlist rroom_senders = +relay_hosts : 217.154.32.202 : DARACH :
195.224.53.21 : 212.78.66.134 : WOW4WATER_HOST : 209.63.57.143 :
195.82.99.79 : DEANST_SDSL : MANC_SDSL : TELEHOUSE_EXT : 217.77.187.100
: *.mail.demon.net : TELEHOUSE_INT : 203.202.1.200 : 203.202.1.199 :
217.154.32.202 : 125.253.0.193

domainlist rroom_domains = partial-lsearch;LDOM_RROOM : decoyfarm.com

 deny    hosts = !+rroom_senders
          domains = +rroom_domains : readingroom.com.au
          sender_domains = +rroom_domains : readingroom.com.au
          delay = 30s
          message = Your host is not authorised to send mail from
Reading Room group
================================== 


and entries in the logs for these failures:

==================================
2006-11-30 10:07:14 H=(www.crimestoppers-uk.org) [146.101.171.21]
F=<jc@???> rejected RCPT <jc@???>: Your host is not
authorised to send mail from Reading Room group
2006-11-30 10:10:09 H=(www.crimestoppers-uk.org) [146.101.171.21]
F=<jc@???> rejected RCPT <jc@???>: Your host is not
authorised to send mail from Reading Room group
==================================

Hopefully that's everything, thanks again,

jc


> -----Original Message-----
> From: exim-users-bounces@???
> [mailto:exim-users-bounces@exim.org] On Behalf Of Marc Sherman
> Sent: 29 November 2006 17:39
> To: exim-users@???
> Subject: Re: [exim] relay_hosts
>
> John Clement wrote:
> > Here's a relevant line from rejectlog
> >
> > 2006-11-29 15:43:02 H=(www.clientsdomain.com) [x.x.x.x]
> > F=<jc@???> rejected RCPT <jc@???>:
> Your host
> > is not authorised to send mail from Reading Room group
> >
> > Please let me know what was unclear and I'll send more info.
>
> I don't answer questions with obfuscated logs and configs.
> Perhaps someone else will help you. I'd be happy to take a
> look if you repost unobfuscated, as required by our list policy:
>
> http://www.exim.org/eximwiki/MailingListEtiquette#head-a6f7fb5

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