View Full Version : Need conditional forward
futurego
11-25-2006, 07:28 PM
I'd like to forward email that meets a certain criteria. I have a script that can select the messages I want to be forwarded to my cell phone but I also want ALL messages delivered to my regular mail box.
I'd like something like:
condforward foo@bar.com /big/dom/xwho/myscript
But alas, condforward does not exist. Conredirect does not keep local copies.
Surely someone has a simple solution??
Randall
11-26-2006, 12:11 PM
But alas, condforward does not exist. Conredirect does not keep local copies. Assuming that your current setup involves one POP box with the filter running on that account, I might split it up something like this:
Delete:
Current POP box = fred@example.com
Create:
New POP box = all.fred@example.com
New blackhole = cell.fred@example.com
New alias stack = fred@example.com; points to all.fred & cell.fred
Apply your condredirect foo@bar.com /big/dom/xwho/myscript filter to cell.fred.
Now, the fred alias (your public email address) will pass all mail to the local all.fred POP box (satisfies condition #2) as well as to the cell.fred blackhole, which is acting as a filter platform. The filter will redirect mail that meets your criteria to the cellphone (satisfies condition #1) and condemn the rest to eternal torment in the bit bucket.
I could be misunderstanding something important here, since I don't work with condredirect myself. But if this doesn't solve your problem, it may at least give you other ideas.
Randall
ables
12-01-2006, 02:10 PM
futurego, did this solution work out for you? I'm thinking of doing something similar and wanted to see if you did anything beyond what Randall suggested.
-david
vBulletin® v3.6.8, Copyright ©2000-2012, Jelsoft Enterprises Ltd.