here are some suggestions:

> 
> i have two domain names registerd for my one ip.  i am
> trying to allow mail for both of them.   one domain is
> allowing mail through, the other is not.  i did enter
> the name in the mailertable-
> 
> myotherdomain.com        RELAY:[inside box name]


try using the following format:

myotherdomain.com       smtp: [inside box name]

confirm that you have the mailertable directive in your /etc/sendmail.cf 
and that after editing the mailertable file that you're issuing the 
makemap hash command.

also, make sure that the MX record for myotherdomain.com points at the 
external IP of your smtp relay and that dns is resolving that MX record.

> 
> now, the "inside box name" is in my hosts file so i
> figure it can resolve that ip and know where to go.

have you confirmed that with ping tests to the host in question?

> 
> i also entered the name in the access table-
> 
> myotherdomain.com        RELAY

this is for hosts belonging to myotherdomain.com sending email OUT 
via your smtp relay. (you'd need to do this for email clients to send 
mail out to the internet. is it your intention that they send outbound 
email thru your smtp relay rather than the internal email server?)

> 
> in relay-domains i added the ip for my inside box-
> 
> 192.168.x.x
> 
> also added to sendmail.mc at bottom-
> 
> LOCAL_CONFIG
> Cw myotherdomain.com
> 

use of a cw may not strictly be necessary depending on what you're trying 
to accomplish. 

Upon adding directives to your sendmail.mc are you actually running m4 
on it to replace your existing /etc/sendmail.cf?

> 
> now, i don't think i have to have a MX record for
> this.

that's not correct. You need an MX to tell the internet and other 
smtp servers to route email to your smtp relay. Once MX get's it there, 
the sendmail directives in question would be responsible for routing 
the email to your internal server.

jeff



-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to