From owner-freebsd-questions@FreeBSD.ORG Sun Mar 16 08:16:14 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 36A79106564A for ; Sun, 16 Mar 2008 08:16:14 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp02.sth.basefarm.net (ch-smtp02.sth.basefarm.net [80.76.149.213]) by mx1.freebsd.org (Postfix) with ESMTP id C99688FC1D for ; Sun, 16 Mar 2008 08:16:13 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-253-25-183.bredband.comhem.se ([83.253.25.183]:58288 helo=falcon.midgard.homeip.net) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1Jao2O-000840-7N for freebsd-questions@freebsd.org; Sun, 16 Mar 2008 09:16:12 +0100 Received: (qmail 61432 invoked from network); 16 Mar 2008 09:16:07 +0100 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 16 Mar 2008 09:16:07 +0100 Received: (qmail 19344 invoked by uid 1001); 16 Mar 2008 09:16:07 +0100 Date: Sun, 16 Mar 2008 09:16:07 +0100 From: Erik Trulsson To: Malcolm Kay Message-ID: <20080316081607.GA19264@owl.midgard.homeip.net> Mail-Followup-To: Malcolm Kay , freebsd-questions@freebsd.org References: <200803161817.47739.malcolm.kay@internode.on.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200803161817.47739.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 1Jao2O-000840-7N. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1Jao2O-000840-7N 96c5f3a6ee508a022a6ea1c4b8734653 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 08:16:14 -0000 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? > 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. -- Erik Trulsson ertr1013@student.uu.se