configuring sendmail to send/receive mails thru another sendmail server



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



Relevant Pages

  • Re: crossing multiple IP address
    ... I am using MS WinXP with the built in firewall for testing. ... Attached is a picture of the setup screen and we have server1 and server2 ... If the internet is connected to server1 and my application is on server2 ... > between the remote machine and yours application. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Denkfehler? Exchange in einer Child Domain.
    ... DSL-Router ist als Bridge konfiguriert und geht zur Firewall. ... In den Eigenschaften der DSL Schnittstelle habe ich POP SMTP und WWW auf die ... Ein Ping vom SERVER2 an die Firewall funktioniert. ... > SUPER BILD ...
    (microsoft.public.de.german.exchange2000.setup.installation)
  • New Server Cannot See Out
    ... We have a network setup in location 2 where we are doing development and also have a server in that location (everything at location 2 is behind the same firewall). ... There is a new server in location 2 running Windows 2003 Server and SQL Server 2005. ... The problem is that Server2 cannot see Server1, ... Also, any of the Dev machines can see and connect to Server2 as well, but Server1 cannot. ...
    (microsoft.public.sqlserver.connect)

Quantcast