[Exim] Relay file works if less than 33 entries.

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Don Wilkerson
Date:  
À: exim-users
Sujet: [Exim] Relay file works if less than 33 entries.
This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
I've configured my host_accept_relay to use a file:
    host_accept_relay = /var/adm/sendmail/relay.yes


When I have 32 entries in this file the exim -bh testing will show relays rejected for entries not found in the file, but when I add more ip addresses to the relay.yes file then all relay tests will pass and the test will show the accepted relay is from the 32'nd entry.

example test:

# exim -bh 204.148.14.33

**** SMTP testing session as if from host 204.148.14.33
**** Not for real!

>>> host in host_lookup? no (option unset)
>>> host in host_reject? no (option unset)
>>> host in host_reject_recipients? no (option unset)
>>> host in sender_unqualified_hosts? no (option unset)
>>> host in receiver_unqualified_hosts? no (option unset)
>>> host in helo_verify? no (option unset)
>>> host in helo_accept_junk_hosts? no (option unset)

220 tripath.colosys.net ESMTP Exim 3.36 #1 Mon, 22 Apr 2002 22:29:30 -0600
helo eds.com
>>> eds.com in local_domains? no (end of list)

250 tripath.colosys.net Hello eds.com [204.148.14.33]
mail from: don@???
>>> don@??? in sender_reject? no (option unset)
>>> don@??? in sender_reject_recipients? no (option unset)

250 <don@???> is syntactically correct
rcpt to: sam@???
>>> eds.com in local_domains? no (end of list)
>>> eds.com in relay_domains? no (end of list)
>>> host in host_accept_relay? yes (12.252.208.127/0 in /var/adm/sendmail/relay.yes)


This number does'nt match what I put in the 'exim -bh' line... but it is the 32nd entry in the relay.yes file.

>>> host is permitted to relay
>>> sender is permitted to relay

250 <sam@???> is syntactically correct
quit
221 tripath.colosys.net closing connection


Any ideas on this one??

Donald Wilkerson
don@???



--