Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Mar 2006 10:33:03 -0600
From:      Derek Ragona <derek@computinginnovations.com>
To:        Efren Bravo <efrenba@yahoo.es>, freeBSD <freebsd-questions@freebsd.org>
Subject:   Re: sendmail, a couple of questions.
Message-ID:  <6.0.0.22.2.20060330102902.028580e8@mail.computinginnovations.com>
In-Reply-To: <20060330140341.32274.qmail@web25511.mail.ukl.yahoo.com>
References:  <20060330140341.32274.qmail@web25511.mail.ukl.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 08:03 AM 3/30/2006, Efren Bravo wrote:
>Hi,
>
>My server name is mailsrv and it has two
>interfaces:
>xxx.xxx.xxx.xxx =3Dexternal ip, internet
>yyy.yyy.yyy.yyy =3Dinternal ip, private lan
>
>
>File /etc/hosts looks like:
>127.0.0.1      localhost.mydomain.com localhost
>xxx.xxx.xxx.xxx      mailsrv.mydomain.com mailsrv
>xxx.xxx.xxx.xxx      mailsrv.mydomain.com.

don't have duplicate names to different IP's.  Also be sure you have dotted=
=20
fully qualified names for both IP's.
xxx.xxx.xxx.xxx      mailsrv.mydomain.com. mailsrv
xxx.xxx.xxx.xxx      mailsrv2.mydomain.com. mailsrv2




>1st. How could I avoid this error
>(/var/log/maillog)?
>Mar 29 15:52:51 mailsrv sendmail[10381]:
>gethostbyaddr(yyy.yyy.yyy.yyy) failed: 1
>
>Would be rigth adding inside /etc/hosts these
>lines:
>yyy.yyy.yyy.yyy      mailsrv.mydomain.com mailsrv
>yyy.yyy.yyy.yyy      mailsrv.mydomain.com.
>
>
>Another suggestion?
>
>2nd. What does it mean?
>Mar 29 16:07:20 mailsrv sm-mta[10399]: alias
>database /etc/mail/aliases.db out of date

run newaliases as root, then restart sendmail
/etc/rc.d/sendmail restart


>Thanks...
>
>
>
>______________________________________________
>LLama Gratis a cualquier PC del Mundo.
>Llamadas a fijos y m=F3viles desde 1 c=E9ntimo por minuto.
>http://es.voice.yahoo.com
>_______________________________________________
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to=
 "freebsd-questions-unsubscribe@freebsd.org"



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