Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SOLVED Direct all mail to gateway using EXIM if it is not from exim

Discussion in 'E-mail Discussion' started by M_Infinite, Dec 12, 2016.

Tags:
  1. M_Infinite

    M_Infinite Member

    Joined:
    Dec 12, 2016
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    South Africa
    cPanel Access Level:
    Root Administrator
    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 :)
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,197
    Likes Received:
    1,936
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice