Hello Experts !
I have the following configuration:
1- RH Linux server configured with Sendmail to host email accounts from the company's foreign domain.
2- Fetchmail as POP3 client to download messages from the company's foreign domain into the local Sendmail (Linux) accounts.
3- Sendmail as MTA to send messages inside the local network and to the internet as well.
What happens ? Everything works fine: messages are downloaded and distributed to the Linux accounts. Users interact with internal Linux server to download or send email from their mail client. Messages to outside domains are queued and sent by Sendmail. The problem is that some mailboxes are for the company's remote users that do not have a Linux account. Those messages bounce back when an internal user sends it with an unknown mailbox message. Of course, this happens because the account does not exist on the Linux server.
Question is, how can I configure relaying mailboxes to forward those messages to an external MTA so they can reach the server hosting the company's domain ? I tried using Smart host bit it didn't work.