I am looking to setup an SMTP relay server within a Solaris 9 box.
The setup is as follows,
The smtp relay server will sit within a DMZ zone and will receive all the company email traffic.
If the email is addressed for firstname.lastname@example.org then it will be forwarded on by the relay server, through the firewall and on to the company lotus notes server, which in turn will forward the mail to the recipient.
However, if the email comes in with the address email@example.com, then this will be forwarded through the firewall, onto a solaris 9 system which will then place it in the relevent users mailbox on that system.
It also must work the other way. The Solaris server must be able to send emails to the relay server, then it must be able to distinguish decide what type of email should go where. i.e. if the email is from firstname.lastname@example.org, then it will be forwarded onto a secure network gateway. If it is a normal mail (email@example.com) then this must be forwarded out onto the internet as normal.
A lotus notes domino server on an intel machine was mentioned to act as a relay server, but if sendmail can provide the same function then it would be preferable to use it.
Any help at all would be greatly appreciated