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 forwarding with URGENT/HIGH Priority

Discussion in 'E-mail Discussions' started by mattcampbell, Sep 19, 2006.

  1. mattcampbell

    mattcampbell Member

    Joined:
    Sep 7, 2006
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Hi guys,

    I need help with a problem.

    I have emails come in which I forwarded to another email address (like a paging service). However the paging service only sends me SMS of emails with high priority/urgent status.

    So I need to know how to change the status of an email when forwarding it from normal to high.

    Anyone got any ideas how this can be done?

    Thanks,

    Matt
     
  2. brianoz

    brianoz Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,146
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    Melbourne, Australia
    cPanel Access Level:
    Root Administrator
    The only way I'm aware of is to edit the headers of the email as it comes in.

    You'd probably do this in perl; read the message in, edit (or add) the priority header, and feed it back to exim with the forwarding address.

    You can have the email fed directly (piped) into a script that will do this for you as the email arrives.
     
  3. mattcampbell

    mattcampbell Member

    Joined:
    Sep 7, 2006
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Any examples of such a perl script or a website that might help out?
     
Loading...

Share This Page