configuring sendmail to send/receive mails thru another sendmail server
- From: "sunhux G" <sunhux@xxxxxxxxx>
- Date: Mon, 22 Sep 2008 17:20:07 +0800
I currently has a server, server2 that has sendmail working & it's pointing
to an SMTP gateway that's external to our network & has to pass thru a
firewall.
Our firewall has a rule that permits smtp traffic (tcp port 25) to pass thru
from server2 to an external smtp gateway
Now, I'm setting up another Sun server, server5 (running Solaris 10) that's
not permissioned by the firewall yet. Both servers are not blocked by
firewalls. Is there anyway I can configure server5 such that it can still
send/receive email but by going thru server2 as it's intermediary?
This is my guess, not sure if I'm making any sense :
On server2, edit sendmail.cf to set itself as a relay server :
# vi /etc/mail/sendmail.cf
& insert 2 lines
DR server2
CR server2
& do "pkill -HUP sendmail"
On server5, set server2 as mail host :
# vi /etc/mail/sendmail.cf & subsidiary.cf
& insert the line below in each of the 2 cf files :
DSserver2
where server2 is defined in server5's /etc/host
& do "pkill -HUP sendmail" on server5
_______________________________________________
sunmanagers mailing list
sunmanagers@xxxxxxxxxxxxxxx
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
- Prev by Date: Cannot find root after install
- Next by Date: SUMMARY: Oracle 10g on Sun Cluster 3.1/Solaris 10
- Previous by thread: Cannot find root after install
- Next by thread: Solaris Volume manager fails to start
- Index(es):
Relevant Pages
|