Topic: IRedMail Mail gateway for a domain
I have an issue here:
I have on my IRedMail server 2 domains and for more then 6 months everything went perfectly and i have reduced spam by ALOT.
Now my boss wants to use it to filter mails that come on our main domain, but keeping the exchange server. So basically he wants to change the mx to send the mails to the mail server and forward to the exchange mail server.
Can someone please help me with this problem? How can i forward mails to the other mail server?
Also the other 2 domains must remain on this server.
I know that i could set up something like domain.com smtp:mail.domain.com, but do i have to add all the existing mail accounts in the mysql database?
If there is a way not to add the mail accounts in the mysql database, won't that make the server vulnerable to attacks like trying to send mails to domain.com from email@example.com?
If anyone has a working solution please let me know