RE: Force sendmail outbound routing for specific domain name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



From: Les Mikesell Sent: April 9, 2008 21:10
> 
> Hugh E Cruickshank wrote:
> > From: Clint Dilks Sent: April 9, 2008 20:32
> >> Hi, It has been some time since I have had to do anything with
> >> Sendmail 
> >> like this, but I believe mailertable is what you need. See 
> >> http://www.sendmail.org/m4/mailertables.html
> > 
> > Give the man a cigar! That looks like precisely what I need.
> > 
> 
> Note that you don't need to do the makemap stuff - that's already 
> include in the Centos setup.  Just put the text suggested in the 
> mailertable file and restart sendmail.  And if you use a literal IP 
> address, enclose it in []'s like it says for hostnames where you
> want to 
> avoid the MX record lookup.
> 

All that was needed was to add the entry to /etc/mail/mailertable and
run "service sendmail restart". It rebuilds the database for you. I
did not worry about the IP Address or the MX but it seems to have 
worked anyway.

Regards, Hugh

-- 
Hugh E Cruickshank, Forward Software, www.forward-software.com 
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux