Path: utzoo!attcan!uunet!mcvax!ukc!etive!glasgow!jrac From: jrac@planet.bt.co.uk Newsgroups: comp.mail.sendmail,mail.uk-sendmail-workers Subject: Problems with uksendmail V2.1 (host-hiding) Message-ID: <8903022152.aa23784@zaphod.axion.bt.co.uk> Date: 2 Mar 89 01:22:57 GMT Sender: daemon@cs.glasgow.ac.uk Lines: 53 Original-Sender: jrac Original-Sender: jrac%uk.co.bt.planet%uk.co.bt.planet@uk.co.bt.axion X-Mailer: mail-news 2.0.4 I am having some trouble with uksendmail (V2.1) in a multihost site - I'm not sure whether my configuration or my understanding of host hiding is at fault. We have an NRS registered site name `planet.bt.co.uk', behind which a number of machines (workstations, development machines, general purpose minis etc) are hidden. It is impractical for us to maintain a list of machines in the local domain on every slave. We therefore route all mail for the local domain (but not for the local host) through a server which holds the full list of hosts and user aliases. This scenario is very similar to that given in the examples, so we based our tables on the cs.glasgow ones. The only significant difference was that we tried to put a wildcard entry in the local channel table: %s.planet.bt.co.uk local_gateway I assume (are these reasonable?) the following interpretations for local domain addresses used on the slave machine: 1 user Local delivery 2 user@localhost Ditto 3 user@localhost.planet.bt.co.uk Ditto 4 user@planet Via server to preferred host 5 user@planet.bt.co.uk Ditto 6 user@otherhost Via server to specified host 7 user@otherhost.planet.bt.co.uk Ditto Addresses 1,3,4 and 6 work as expected. Address 2 is not recognised as local unless LHOST is included in the local channel table - otherwise it goes out via the server. Address 5 is stripped unconditionally in ruleset 0 and delivered locally. Address 7 was intended to be caught by the wildcard; unfortunately all wildcard entries are appended to ruleset 16, and the address is rejected by ruleset 17 before the match can occur. The result is . My interpretations seem to be shared by the majority of the users on site, so if they are wrong my life is going to become very difficult. I have hacked the sendmail.cf by hand to achieve the desired behaviour, but I would be interested to know whether uksendmail can (should?) handle this set-up without such intervention. Have I done something wrong? If anyone can shed some light - many thanks. ------------------------- James Collier jrac@planet.bt.co.uk Colonial Services Ltd., c/o Group RT5111, BT Research Labs., Martlesham Heath, Ipswich, Suffolk IP5 7RE, United Kingdom. Office: +44 473 64 6778/2870 (was james@cantuar.{uucp,ac.nz})