Direct all mail to gateway using EXIM if it is not from exim
Hi Guys,
I am trying to setup my cPanel server so all the mail account spam scanning is done via a gateway.
Ideally what I would like to do is create an exim rule which forwards all emails to my gateway IP address (1.2.3.4) if it is not from 1.2.3.4, If it is from 1.2.3.4 then the email can be processed and delivered to the inbox.
So a graphical explanation would be:
Email from internet -> cPanel Server -> Gateway (1.2.3.4) -> cPanel Server
What rule would be best to achieve this?
Please provide detailed description as I am fairly new to EXIM advanced config.
Thank you in advance :)
-
Hello, This is unsupported, but you could achieve this setup the same way it's done with Barracuda or MailFoundry. You can search for those appliances to see how they operate with cPanel, and this thread should give you a general idea of how it would work: Barracuda with Cpanel Thank you. 0
Please sign in to leave a comment.
Comments
1 comment