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.

Email Filters - Forwarding to a folder

Discussion in 'E-mail Discussions' started by BlackAqua, Apr 27, 2012.

  1. BlackAqua

    BlackAqua Registered

    Joined:
    May 30, 2005
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    I'm trying to get a global filter in cpanel to forward mail that meets the filter condition to a subfolder on a per account basis.

    Eg example@domain.com meets the filter criteria, forward to subfolder "junk" for the user example@domain.com
    Eg other.example@domain.com meets the filter criteria, forward to subfolder "junk" for the user other.example@domain.com

    I can set this up to forward to the default mail account using the folder name "/.Junk" or a specific account eg /domain.com/example/.Junk, however if an email is sent to other.example@domain.com it should be going to /domain.com/other.example/.Junk

    I could set up duplicate filters for each individual account but this is way to much effort. Basically i'm wondering if there is some form of variable eg the forward to would be something like /{mail account}/.Junk

    Thanks
     
Loading...

Share This Page