The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

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

Tags:
  1. M_Infinite

    M_Infinite Registered

    Joined:
    Dec 12, 2016
    Messages:
    1
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,288
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page