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.

Forwarding E-mail and the Limits

Discussion in 'E-mail Discussions' 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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page