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!

Exim - Filter per account and message size

Discussion in 'E-mail Discussion' started by NinjaTrader, May 28, 2010.

  1. NinjaTrader

    NinjaTrader Registered

    Mar 29, 2010
    Likes Received:
    Trophy Points:
    I am attempting to filter e-mail on 1 account on my domain via message size.
    I am new to Exim scripting and need to ensue this is correct before proceed.

    Basically check is for support@mydomain and the size is less than 3mb then allow, if not less than 3mb block and send response to sender.

    if $local_part_suffix is "support" and $message_size is above 3m then
    to $sender_address
    subject “RE: $h_subject:”
    test “$sender_address , $h_subject: , $tod_ful \n\nYour message was over our 3MB size limit and was not processed please try truncating your message and send again.
    seen finish

    Thank you for your assistance in advance.

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