You can try the .forward file in the root directory on the server2 and
see if that works.

A .forward file just has the email address of the place you want your
email to goto.

So you would put [EMAIL PROTECTED]

-----Original Message-----
From: Johnny Stork [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 03, 2003 8:00 PM
To: [EMAIL PROTECTED]
Subject: (clug-talk) New Sendmail Question

Sorry about all the Sendmail questions. This is the first time I have
tried to setup more than one MTA.

What I am trying to do is get all mail to root on an internal machine,
to send to the root account on another machine. I have tried a few
different methods and none seem to work.

Server1 (192.168.1.1)
(the one I want all mail to root on Server2 to go to)

Server2 (192.168.1.3)
(second sendmail instance but I want root mail to go to Server1)


Attempt 1:

Server2 (created an alias for root to-go-to [EMAIL PROTECTED])
Didnt work, complains about hostname not found

Attempt 2:

Server2 (created an alias for root to-go-to [EMAIL PROTECTED])
Didnt work, no complaints about hostname, but mail remains in root
mailbox on Server1

Attempt 3:

Using Webmin/Sendmail, I set both

Forward unqualified usernames to host = ip of Server1 or hostname of
Server1
Forward mail for local users to host = ip of Server1 or hostname of
Server1

But any mail sent to root on Server2 still goes to root mailbox on
Server2?


Am I missing another obvious setting somewhere?



<hr>
<b><font color=blue size=4>Open Enterprise Solutions</font>
<font color=red>Linux & Open Source Solutions for Business</font></b>

Johnny Stork, B.A.
Calgary, AB

<a href="http://www.openenterprise.ca";>
www.openenterprise.ca</a>

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.487 / Virus Database: 286 - Release Date: 6/1/2003
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.487 / Virus Database: 286 - Release Date: 6/1/2003
 

Reply via email to