From owner-freebsd-questions Mon Mar 3 0:51:23 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 DBF2137B401 for ; Mon, 3 Mar 2003 00:51:17 -0800 (PST) Received: from tina.la3sg.net (la3sg.net [217.13.29.172]) by mx1.FreeBSD.org (Postfix) with ESMTP id 22A0843FA3 for ; Mon, 3 Mar 2003 00:51:17 -0800 (PST) (envelope-from tina@la3sg.net) Received: by tina.la3sg.net (Postfix, from userid 1001) id 1957014A53; Mon, 3 Mar 2003 09:51:16 +0100 (CET) Date: Mon, 3 Mar 2003 09:51:16 +0100 From: Kjell Midtseter To: Roger 'Rocky' Vetterberg Cc: la3sg@sensewave.com, freebsd-questions@FreeBSD.ORG Subject: Re: Incoming mail refused by sendmail Message-ID: <20030303085116.GA238@tina.la3sg.net> Reply-To: junkmail@sensewave.com References: <3E631152.227.2C6BFA@localhost> <3E63111A.4020003@401.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E63111A.4020003@401.cx> User-Agent: Mutt/1.4i 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 On Monday, 3 March 2003 at 9:23:54 +0100, Roger 'Rocky' Vetterberg wrote: > > 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 > Now sexy@la3sg.net works!!! But tina@la3sg.net is returned to sender with the message: : host sexy.la3sg.net said: 550.1.1 ... user unknown Then I removed the la3sg.net entry from local-host-names, and the message changed to .. Relaying denied Kjell > -- > R > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message