Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Mar 2003 09:51:16 +0100
From:      Kjell Midtseter <junkmail@sensewave.com>
To:        Roger 'Rocky' Vetterberg <listsub@401.cx>
Cc:        la3sg@sensewave.com, freebsd-questions@FreeBSD.ORG
Subject:   Re: Incoming mail refused by sendmail
Message-ID:  <20030303085116.GA238@tina.la3sg.net>
In-Reply-To: <3E63111A.4020003@401.cx>
References:  <3E631152.227.2C6BFA@localhost> <3E63111A.4020003@401.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
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
> ><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
>
Now sexy@la3sg.net works!!!
But tina@la3sg.net is returned to sender with the message:
<tina@la3sg.net>: host sexy.la3sg.net said: 550.1.1
<tina@la3sg.net>... user unknown
Then I removed the la3sg.net entry from local-host-names, and the message changed to
<tina@la3sg.net>.. 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




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