fbsd4.9 sendmail
Feroz F. Basir
dbase77 at yahoo.com
Tue Dec 23 08:00:19 PST 2003
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 at domain.com?
Thank you.
--- Matthew Seaman <m.seaman at 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
More information about the freebsd-questions
mailing list