I want to setup a mail relay server that can receive emails from particular domains and forward them to a central mail server which will deliver them to their destinations.
This is because the central mail server allows sending email only from authorized domains and to prevent flooding of the authorized domains list I have to setup a mail relay server which is added in list of authorized domains.
sendmail
can be used for this (as my google searches suggest) but I could not find any good documentation on configuring sendmail
to do this.
Can anyone suggest how to go about doing this?