Hi,

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.

Now I am not using relaying.

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.

However If I send mail to say [EMAIL PROTECTED] than using the goatelecom
relay it goes through. I am using goatelecom account to connect.

I think I am doing something wrong here. Can anybody advice me how should I setup
this stuff.

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.

Is there any better way of doing this ?

Thanks in advance.


-- 
Rajesh Fowkar
/*****************************************************************************\
* WebSite:http://rajesh.computers.webjump.com   Email : [EMAIL PROTECTED]
* Address:KURTARKAR NAGARI,BLDG-C,T4,3RD FLOOR,SHANTINAGAR,PONDA-GOA.(INDIA)
*
* "The expert at anything was once a beginner."  -Hayes 
/******************************************************************************\

----------------------------------------------
Find out more about this and other Linux India 
mailing lists at http://lists.linux-india.org/

Reply via email to