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.

forward all mail with attachments?

Discussion in 'E-mail Discussions' started by noimad1, Jan 31, 2014.

  1. noimad1

    noimad1 Well-Known Member

    Joined:
    Mar 27, 2003
    Messages:
    627
    Likes Received:
    0
    Trophy Points:
    16
    Anyone know if there is a way that I could have all e-mail for a domain that has an attachment forward to a separate e-mail account, and not go to the original recipient?

    I have a client that doesn't want any of his employees to get e-mail attachments, and wants the managers to manually go through them as they come in....
     
  2. kdean

    kdean Well-Known Member

    Joined:
    Oct 19, 2012
    Messages:
    262
    Likes Received:
    12
    Trophy Points:
    18
    Location:
    Orlando, FL
    cPanel Access Level:
    Root Administrator
    Maybe use "cPanel -> User Level Filtering" to create filters for each user who shouldn't receive attachments and filter where the body contains:

    Content-Disposition: attachment;

    then "Redirect to Email" and "Discard Message".

    I haven't tested it but it should give you a start of things to try.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Yes, you can try using the "Account Level Filtering" option in cPanel if this is for all email accounts associated with the user. It's documented here:

    Account Level Filtering

    A rule for "Body" and "contains" with the name of the file extension (e.g. zip, tar.gz, jpeg) you want to filter would likely work.

    Thank you.
     
Loading...

Share This Page