Rajesh Fowkar rearranged electrons thusly:
> Here on our Linux email server I don't want to use smart relay since we might
> have to swap isp's ( VSNL & SATYAM ) if one of them starts giving problem. In
> that case from SATYAM account I won't be able to use the goatelecom.com relay server
> & viceversa.
If you mean mailsvr.goatelecom.com, it is an anonymous, wide-open relay. 8.9.3
but with a .cf file version 1.1.4.2/date-stamp (I think this is generated by an
autoconf tool on compaq / dec alpha boxes that seems to be even worse than
linuxconf).
> I have recreated sendmail.cf by removing the relay part from sendmail.mc.
> But now If I try to send mail to say [EMAIL PROTECTED], in the logs I can see
> that it is showing relay=mail.com and then the error mail.com not found etc.
If you are using my .mc file, you have turned off DNS lookups as well ... take
a look at /etc/service.switch (or /etc/mail/service.switch)... there's a line
"hosts" there which has just "files". Modify it to "dns, files"
> One solution is to create two sendmail.cf files with different relay servers and
> call a script to dialout and change sendmail.cf of the proper ISP and restart
>sendmail
> and than start dialing.
Yes. If you edit sendmail.cf and put a line
#DS goatelecom.com
DS mail.satyam.net.in
uncomment whichever ISP you are dialling out from (and comment out the other).
Then restart sendmail
-s
--
Suresh Ramasubramanian <--> mallet <at> efn <dot> org
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin
"What separates normal people from kooks is how they react when people disagree
with them or tell them "NO" <-- Ron Ritzman on news.admin.net-abuse.email
----------------------------------------------
An alpha version of a web based tool to manage
your subscription with this mailing list is at
http://lists.linux-india.org/cgi-bin/mj_wwwusr