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.

  1. M_Infinite

    M_Infinite Member

    Dec 12, 2016
    Likes Received:
    Trophy Points:
    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 ( if it is not from , If it is from then the email can be processed and delivered to the inbox.

    So a graphical explanation would be:

    Email from internet -> cPanel Server -> Gateway ( -> 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

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    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...

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