Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Dec 2003 16:00:16 +0000 (GMT)
From:      "=?iso-8859-1?q?Feroz=20F.=20Basir?=" <dbase77@yahoo.com>
To:        Matthew Seaman <m.seaman@infracaninophile.co.uk>
Cc:        freebsd questions <freebsd-questions@freebsd.org>
Subject:   Re: fbsd4.9 sendmail
Message-ID:  <20031223160016.34726.qmail@web40609.mail.yahoo.com>
In-Reply-To: <20031223154618.GC36128@happy-idiot-talk.infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

My mail server is within my LAN and we dont have/use
DNS server. Why sendmail want to resolve domain.com? I
thought using smart host will tranfer all mails to our
mail.domain.com machine. I just use /etc/hosts file to
resolve mail.domain.com to ip.

Do I need to setup DNS server under fbsd4.9 just to
resolve odmain.com if I send to john@domain.com?

Thank you.


 --- Matthew Seaman <m.seaman@infracaninophile.co.uk>
wrote: > On Tue, Dec 23, 2003 at 03:27:00PM +0000,
Feroz F.
> Basir wrote:
> > Hi,
> > 
> > Anybody ever setup "smart host" using sendmail
> before?
> > This is on fbsd4.9. I edit sendmail.cf file and
> edit
> > line:
> > 
> > DSmail.domain.com
> 
> It's better to edit the `hostname`.mc file and then
> process that into
> a sendmail.cf otherwise you run the risk of
> overwriting your
> customized .cf file when you do a
> {build,install}world cycle.
> 
> Just change the line:
> 
>     dnl define(`SMART_HOST', `your.isp.mail.server')
> 
> into
> 
>    define(`SMART_HOST', `mail.domain.com') 
> 
> and run 'make install restart-mta'
>  
> > Restart sendmail and nothing happen. I keep
> getting
> > (host map: lookup (domain.com): deferred) error.
> Do I
> > need to do anything? I try on other unix system
> and I
> > got it to work. Very strange. I want my main smtp
> > server send the email from fbsd box. 
> 
> You've changed the sendmail config just fine.  What
> you need to do now
> is investigate why your machine isn't finding
> 'mail.domain.com' in the
> DNS.
> 
> 	Cheers,
> 
> 	Matthew
> 
> -- 
> Dr Matthew J Seaman MA, D.Phil.                     
>  26 The Paddocks
>                                                     
>  Savill Way
> PGP: http://www.infracaninophile.co.uk/pgpkey       
>  Marlow
> Tel: +44 1628 476614                                
>  Bucks., SL7 1TH UK
> 

> ATTACHMENT part 2 application/pgp-signature 
 

________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html



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