From owner-freebsd-questions Mon Mar 3 0:24: 5 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 355E637B401 for ; Mon, 3 Mar 2003 00:24:03 -0800 (PST) Received: from rambo.401.cx (rambo.401.cx [80.65.205.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DF0C43F93 for ; Mon, 3 Mar 2003 00:24:02 -0800 (PST) (envelope-from listsub@401.cx) Received: from 401.cx (132.dairy.twenty4help.se [80.65.195.132]) by rambo.401.cx (8.12.7/8.12.7) with ESMTP id h238NeuA005751; Mon, 3 Mar 2003 09:23:40 +0100 (CET) (envelope-from listsub@401.cx) Message-ID: <3E63111A.4020003@401.cx> Date: Mon, 03 Mar 2003 09:23:54 +0100 From: "Roger 'Rocky' Vetterberg" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: en-us, en MIME-Version: 1.0 To: la3sg@sensewave.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Incoming mail refused by sendmail References: <3E631152.227.2C6BFA@localhost> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Kjell wrote: > I have a gateway (sexy.la3sg.net) connected to my > ISP through a ADSL line. On my LAN I have a > workstation (tina.la3sg.net) I would like to set up > sendmail so that external mail to sexy@la3sg.net > arrives at user sexy on sexy.la3sg.net, and mail to > tina@la3sg.net ends up at user tina on box > tina.la3sg.net > > What works: External mail to sexy@sexy.la3sg.net > ends up at user sexy. > > What does not work: External mail to > sexy@la3sg.net, tina@la3sg.net or > tina@tina.la3sg.net are all returned to sender with > a message from my ISPs mailer-daemon saying that > : host sexy.la3sg.net[217.13.29.172] said: 550 5.7.1 > ... Relaying denied (in reply to RCPT TO command) > > My config files contains: > > /etc/mail/access > 217.13.29.172 RELAY > 192.168.1 RELAY > mail.broadpark.no OK > > /etc/mail/local-host.names > la3sg.net > sexy.la3sg.net > tina.la3sg.net > > /etc/mail/virtusertable > sexy@la3sg.net sexy@sexy.la3sg.net > tina@la3sg.net tina@tina.la3sg.net > @la3sg.net tina@tina.la3sg.net > > What am I missing? > Kjell > The name of the config file should be /etc/mail/local-host-names, not /etc/mail/local-host.names -- R To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message