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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to Forward contingent on a Size Limit

Discussion in 'E-mail Discussions' started by JDW, Jan 11, 2017.

Tags:
  1. JDW

    JDW Member

    Joined:
    Jan 11, 2017
    Messages:
    12
    Likes Received:
    3
    Trophy Points:
    3
    Location:
    JAPAN
    cPanel Access Level:
    Website Owner
    My website is hosted on a shared server running cPanel 60.0.34. I have no access to EXIM. I want to setup an email forward contingent on filesize. If the email with all attachments exceeds 1.5MB in size, then it should NOT forward. But if the total size is less than 1.5MB, I want the forward to occur.

    How do I setup this?

    Thanks.
     
  2. JDW

    JDW Member

    Joined:
    Jan 11, 2017
    Messages:
    12
    Likes Received:
    3
    Trophy Points:
    3
    Location:
    JAPAN
    cPanel Access Level:
    Website Owner
    Our old email server used SurgeMail and setting up email forwarding with filesize contingencies was so easy. Since no one has yet to reply to me, it would seem that cPanel lacks the means to do this, which of course would mean cPanel is inferior as a result. Does everyone here concur?

    Regardless, the fact our web host moved us to a new server running cPanel only is beyond our control. We are stuck with cPanel, so I of course would love to hear a way to solve this problem.

    I look forward to your kind replies.

    Thank you.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,659
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    It's not possible to filter emails based on the message body size within the cPanel interface, however there's a feature request I encourage you to vote and add feedback to at:

    Email Filtering -ADD Rule -Attachment +Size +Kind

    You could also send a request to your web hosting provider to setup the filter rule, as it's possible to setup such a rule with the Exim system filter if you have root access to the system:

    How to Customize the Exim System Filter File - cPanel Knowledge Base - cPanel Documentation

    Thank you.
     
  4. JDW

    JDW Member

    Joined:
    Jan 11, 2017
    Messages:
    12
    Likes Received:
    3
    Trophy Points:
    3
    Location:
    JAPAN
    cPanel Access Level:
    Website Owner
    Thank you for your reply.

    I tried to cast my vote (not that a whopping 10 votes total would likely persuade the powers that be), but it wants me to login and when I try to do that it rejects me. Is that posted on a different server that requires yet another registration?
     
  5. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    15,773
    Likes Received:
    313
    Trophy Points:
    433
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Yes. You will need to register an account there on the Feature Requests site.
     
  6. JDW

    JDW Member

    Joined:
    Jan 11, 2017
    Messages:
    12
    Likes Received:
    3
    Trophy Points:
    3
    Location:
    JAPAN
    cPanel Access Level:
    Website Owner
    Well, I went through the bother of registering there. No invite code, but it accepted my name and email and PSW, or so I thought. It never sent me the confirmation email, and yes, I've checked "Track Delivery" in my cPanel to know that for sure. Either that server is very slow at sending confirmation emails, or it really wanted that confirmation code! Well, I tried.

    Thanks.
     
  7. JDW

    JDW Member

    Joined:
    Jan 11, 2017
    Messages:
    12
    Likes Received:
    3
    Trophy Points:
    3
    Location:
    JAPAN
    cPanel Access Level:
    Website Owner
    Well, it finally came through and I got registered and have now voted. Curious if our 11 votes will add that much needed improvement.

    Best wishes.
     
    Infopro likes this.
  8. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    15,773
    Likes Received:
    313
    Trophy Points:
    433
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Thanks for going to the trouble of registering to vote for the Feature. Every vote counts! :)
     
Loading...

Share This Page