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!

Forwarding E-mail and the Limits

Discussion in 'E-mail Discussion' started by dannymichel, Aug 14, 2013.

  1. dannymichel

    dannymichel Member

    Joined:
    Aug 13, 2013
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I have a cPanel account level filter that redirects mail from my server to gmail, but gmail doesn't allow attachments over 25MBs. I have tested it, and it in-fact does send a gmail attachment size exceeded error. My question is are there parameters I can set in cPanel that says redirect mail if this and if that but do not if attachment size exceeds ---MBs?
     
    #1 dannymichel, Aug 14, 2013
    Last edited by a moderator: Aug 14, 2013
  2. dannymichel

    dannymichel Member

    Joined:
    Aug 13, 2013
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Also noticing that emails that im ccd in dont forward to gmail.
     
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,895
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    You could utilize the "message_size_limit" in Exim to block emails that are over a certain size. This is documented at:

    14. Main configuration

    Per this document:

    You can enable this limit via:

    "WHM Home » Service Configuration » Exim Configuration Manager » Advanced Edtitor"

    Browse down to "Add Additional Configuration Setting" and it will be listed in the drop-down list.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. dannymichel

    dannymichel Member

    Joined:
    Aug 13, 2013
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    i dont want to block the emails. i want to the the exact opposite. i want the emails to come through. the emails forward to gmail, but when they are over 25mbs, the fail. i want cpanel to keep emails over 25mbs on the server rather than trying to redirect them to gmail
     
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,895
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    While you may be able to setup a custom filter with Exim, it's not something that is possible through the use of the filter options in cPanel. Feel free to open a feature request for this via:

    Submit A Feature Request

    Or, you can develop a custom filter rule using the documentation at:

    3. Exim filter files

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. dannymichel

    dannymichel Member

    Joined:
    Aug 13, 2013
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Any ideas how I would fix the fact that CCd emails arent forwarded to me?
     
  7. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,895
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Check /var/log/exim_mainlog to see if the email forward was attempted at all. Do you have a forwarder setup for the email address where mail was cc'd to?

    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