[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sendmail smarthost



On Thu, Mar 07, 2002, Philipp Buehler wrote:
> On 06/03/2002, Claus Assmann <ca+OpenBSD_misc@zardoc.endmail.org> wrote Cc misc@openbsd.org:
> > > This is not really an OpenBSD issues, but a sendmail config thing.  You should remove the [] from the SMART_HOST line.  Something like:
> > > 
> > > define(`SMART_HOST', `172.19.40.150')
> > 
> > That's wrong.
> 
> Not necessarily.

Can you tell me in which case it isn't wrong?

It is only ok if you have a host with the _name_
172.19.40.150
which is very unlikely...

If you use an IP address where a host name is expected, you must
put it into [].  See RFC 2821 and the sendmail documentation.