I have not read the full thread but I did reread your orginal request.
If you are trying to get the local sendmail to send all mail to
someone at walter.com to the exchange server server2.walter.com instead
of to the local mailer then do the following
sendmail.mc file
FEATURE('use_cw_file')
FEATURE('mailertable')
recompile your sendmail.cf file
edit /etc/mail/local-host-names and make sure it contains all local
alises but not walter.com
Example
localhost
fedora.walter.com
127.0.0.1
etc,etc
This removes walter.com from class{W}. To verify sendmail -bt and type
$=w. Make sure walter.com is not listed. Ctrl-D to exit
To tell sendmail what to do with mails for domain walter.com edit
/etc/mail/mailertable file and add
walter.com [esmtp]:server02.walter.com
subsitute the correct mailer and mailer server if I have it wrong
cd to /etc/mail and type make
to verify type
sendmail -bv test at walter.com
It should return deliverable what mailer its using what server it will
connect to and the user address
Hope this helps
Ger
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!