Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Mar 2003 09:23:54 +0100
From:      "Roger 'Rocky' Vetterberg" <listsub@401.cx>
To:        la3sg@sensewave.com
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Incoming mail refused by sendmail
Message-ID:  <3E63111A.4020003@401.cx>
References:  <3E631152.227.2C6BFA@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help

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
> <tina@la3sg.net>: host sexy.la3sg.net[217.13.29.172] said: 550 5.7.1
> <tina@la3sg.net>... 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E63111A.4020003>