> 1) i wanna change the domain of my mail server
>           [EMAIL PROTECTED]
>     by    [EMAIL PROTECTED]
>     as you can see, i wanna change or eliminate de word "mail"
> so, where file a need to modified?

you need to add to your sendmail.cw (/etc/sendmail.cw or
/etc/mail/sendmail.cw)
the line "republic.com"
then, you need to add to @republic.com dns entry:
        IN      MX      10      mail.republic.com.

republic.com is your real domain?

kid [root] /etc/namedb> host -t mx republic.com
republic.com mail is handled (pri=30) by pop.republic.com

kid [root] /etc/namedb> host -a mail.republic.com.
rcode = 3 (Non-existent domain), ancount=0
Host not found.


those 2 commands shows that mail for @republic.com is handled by
pop.republic.com and not by mail.republic.com
mail.republic.com is not registered in the dns.
To register mail.republic.com in the dns you should add
mail    IN      A       XXX.XXX.XXX.XXX
(where XXX.XXX.XXX.XXX is the ip of your server) to you domain zone.

> 2) My mail Servor works fine on my Intranet or my own domain, the
> problems is when i send an mail out of my domain, example, when i
> send a mail to [EMAIL PROTECTED], it mail cannot be send. So, what
> file i need to modified?

One of the problems could be that mail.republic.com is not resolvable (as my
previous command shows).
The problems could be much. Can you post the error you get while sending the
e-mail?

-b-



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to