From owner-freebsd-questions@FreeBSD.ORG Sun Mar 16 14:37:13 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A0701065673 for ; Sun, 16 Mar 2008 14:37:13 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id 0FC7A8FC20 for ; Sun, 16 Mar 2008 14:37:13 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-253-25-183.bredband.comhem.se ([83.253.25.183]:50564 helo=falcon.midgard.homeip.net) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1Jatz5-0003yA-65 for freebsd-questions@freebsd.org; Sun, 16 Mar 2008 15:37:12 +0100 Received: (qmail 63221 invoked from network); 16 Mar 2008 15:37:08 +0100 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 16 Mar 2008 15:37:08 +0100 Received: (qmail 35446 invoked by uid 1001); 16 Mar 2008 15:37:08 +0100 Date: Sun, 16 Mar 2008 15:37:08 +0100 From: Erik Trulsson To: Malcolm Kay Message-ID: <20080316143708.GA35250@owl.midgard.homeip.net> Mail-Followup-To: Malcolm Kay , freebsd-questions@freebsd.org References: <200803161817.47739.malcolm.kay@internode.on.net> <20080316081607.GA19264@owl.midgard.homeip.net> <200803170026.07732.malcolm.kay@internode.on.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200803170026.07732.malcolm.kay@internode.on.net> User-Agent: Mutt/1.5.17 (2007-11-01) X-Originating-IP: 83.253.25.183 X-Scan-Result: No virus found in message 1Jatz5-0003yA-65. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1Jatz5-0003yA-65 824f4f21fac9540d7a2e702a6b1d3158 Cc: freebsd-questions@freebsd.org Subject: Re: Network identity for sending mail. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Mar 2008 14:37:13 -0000 On Mon, Mar 17, 2008 at 12:26:07AM +1030, Malcolm Kay wrote: > On Sun, 16 Mar 2008 06:46 pm, Erik Trulsson wrote: > > On Sun, Mar 16, 2008 at 06:17:47PM +1030, Malcolm Kay wrote: > > > The send-pr appears to assume that mail can and will be sent > > > directly through sendmail or equivalent rather than inderctly through > > > an ISP mail service. > > > > Does it not work if you configure sendmail to send via your ISP's mail > > server? > > Sounds good, but how? I do not use sendmail myself, so I am not sure of all the details, but go to /etc/mail/ and define SMART_HOST appropriately in the right .mc file. Read the Makefile there for information on how to rebuild things and which files are used. Googling for 'freebsd sendmail smart_host' should also provide useful information. > > > > > > I can certainly successfully send mail directly > > > via sendmail but as I don't have a static IP address or a registered > > > name the (bogus?) name used is not able to be validated. So when I send-pr > > > I get a returned mail message which includes the following: > > > > > > ----- The following addresses had permanent fatal errors ----- > > > > > > (reason: 450 4.7.1 : Helo command rejected: Host not found) > > > > > > It seems most destinations are not so pedantic and accept the (bogus) name. > > > > > > Now if I set up sendmail with some registered name in place of mail.whatnot.on.net > > > then I believe the message will be accepted. > > > > Perhaps, but most likely whatever name you supply will have to resolve to > > the same IP it was sent from for it to be accepted. > > > > > > > > So the question is would it be legitimate or fraudulent to set sendmail to work with > > > the name of my ISP's mail server in the Helo command -- after all this is the rout that > > > will be followed by any responses. > > > > > > Is there a better way around the difficulty. > > > > You could also use dynamic DNS (see e.g. www.dyndns.org) to get a real > > hostname that sendmail (and other services) can use. > > Yes; somewhat cumbersome although it also gains some other advantages. > > Thank you, > Malcolm -- Erik Trulsson ertr1013@student.uu.se