Email forwarding with URGENT/HIGH Priority

mattcampbell

Member
Sep 7, 2006
16
0
151
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
 

brianoz

Well-Known Member
Mar 13, 2004
1,146
7
168
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.