+++ prashant_dabre [linux-india] <27/12/01 02:18 -0800>:
> Can someone explain to me how to set up sendmail as a secondary mail server?
> My primary mail server has Qmail 
> My secondary mail server has sendmail ver. 8.9.3/8.9.3
> In DNS I have:
> 
>       IN      MX      10 mail.mydomain.com.
>       IN      MX      20 mail2.mydomain.com.

So mail2 is your backup MX

> When I configure the sendmail on mail2.mydomain.com to accept mail for
> mydomain.com it accepts the mail as if it was local and delivers it
> locally.  I do not want this.  I want mail2 to accept mydomain.com email
> but forward it to mail.mydomain.com for delivery as soon as it can. 

Take mydomain.com out of sendmail.cw on mail2, and put it in a file
/etc/mail/relay-domains

That's all there is to it.

ps - Try reading http://www.sendmail.org/faq/ _before_ posting ... it'll
help.

-- 
Suresh Ramasubramanian  <---->  mallet <at> efn dot org
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin
[Linux One Stanza Tip]  From : <[EMAIL PROTECTED]>
LOST #192        -**< Sub : Largest files on your system >**-
To find the 10 largest files on a directory/ partition, use: 
du /partition_or_directory_name | sort -rn | head

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to