Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Mar 2008 15:37:08 +0100
From:      Erik Trulsson <ertr1013@student.uu.se>
To:        Malcolm Kay <malcolm.kay@internode.on.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Network identity for sending mail.
Message-ID:  <20080316143708.GA35250@owl.midgard.homeip.net>
In-Reply-To: <200803170026.07732.malcolm.kay@internode.on.net>
References:  <200803161817.47739.malcolm.kay@internode.on.net> <20080316081607.GA19264@owl.midgard.homeip.net> <200803170026.07732.malcolm.kay@internode.on.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 -----
> > > <FreeBSD-gnats-submit@freebsd.org>
> > >     (reason: 450 4.7.1 <mail.whatnot.on.net>: 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

-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013@student.uu.se



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