I have got myself all confused now. I decided that what I should do is just make the server check the emails to see if they are HIGH PRIORITY and if they are then send it to the Blackberry device.
I can inform users that if they want a offic user to receive the email on said users blackberry then send the email HIGH PRI. No need to keep a list of people now. I am confused on how to make it work, I am missing one thing somewhere. Here is the batch file to use @echo off setlocal grep -Pqi "^X-Priority:\s*1\s" *.server1 set XPriHigh=%ERRORLEVEL% grep -Pqi "^X-MSMail-Priority:\s*High" *.server1 set XMSPriHigh=%ERRORLEVEL% grep -Pqi "^Importance:\s*High" *.server1 set ImportHigh=%ERRORLEVEL% if "%XPriHigh%"=="0" goto Found if "%XMSPriHigh%"=="0" goto Found if "%ImportHigh%"=="0" goto Found goto EOF :Found NOT SURE WHAT TO PUT HERE, I have had things here and nothing worked. Nothing was right im sure. :EOF My Tab looks like this. "mailbox" "external"[tab]"0"[tab]"20"[tab]"cmd /c d:\xmail\xmail_filters\test.cmd"[tab]"@@FILE" "redirect"[tab]" [EMAIL PROTECTED]" [newline] It should only redirect if the message is a high pri message. I chose @@file cause I use xmail version 1.21 on windows 2000 server and I felt like it had to look at the file in order to process. I am unsure if I am doing this correct and if I am, what to put in the batch file after it reads the file. Currently, if I send an email to my test user account it redirects to the yahoo account no matter what its priority, so I do not have something right in the batch file I think, cause it just proceeding. - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]
