Re: sendmail, a couple of questions.

2006-03-30 Thread wc_fbsd

At 11:33 AM 3/30/2006, you wrote:

File /etc/hosts looks like:
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 fully qualified names for both IP's.


FWIW, the double entries are what sysinstall creates.  I just loaded 
a new box yesterday and was wondering about that myself.


Here's what it crated:

# uname -a
FreeBSD newb.xxiii.com 6.0-RELEASE FreeBSD 6.0-RELEASE #0
# cat /etc/hosts
::1 localhost.xxiii.com localhost
127.0.0.1   localhost.xxiii.com localhost
192.168.0.14newb.xxiii.com newb
192.168.0.14newb.xxiii.com.

So what' with the doubles. anyway?

  -Wayne

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sendmail, a couple of questions.

2006-03-30 Thread Derek Ragona

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 =external ip, internet
yyy.yyy.yyy.yyy =internal 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 
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óviles desde 1 céntimo 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 "[EMAIL PROTECTED]"

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sendmail, a couple of questions.

2006-03-30 Thread Chuck Swiger
Efren Bravo wrote:
[ ... ]
> 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

Fix your reverse DNS for that IP.  If yyy is internal, set up a local nameserver
to provide a reverse zone, otherwise talk to your ISP if the IP is public.

[ ... ]
> 2nd. What does it mean?
> Mar 29 16:07:20 mailsrv sm-mta[10399]: alias
> database /etc/mail/aliases.db out of date

You changed /etc/mail/aliases, but forgot to run newaliases.
(Or use "make maps" or "make all").

-- 
-Chuck
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


sendmail, a couple of questions.

2006-03-30 Thread Efren Bravo
Hi,

My server name is mailsrv and it has two
interfaces:
xxx.xxx.xxx.xxx =external ip, internet
yyy.yyy.yyy.yyy =internal 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.


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

Thanks...



__ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo 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 "[EMAIL PROTECTED]"