Menu

#17 Allow "Address" in addition to "Header"

open
nobody
None
5
2008-03-04
2008-03-04
No

I have a rule that I'd like to express this way:

########################################
# Handle mail that's not really for me #
########################################
if address :matches [ "From", "Sender" ] '*@foo.com" {
redirect "wife@home.com";
stop;
}

The closest I can get with smartsieve is something like:

if anyof (address :matches "from" "*@foo.com", header :matches "Sender" "*@countrywide.com") {
redirect "wife@home.com";
stop;
}

which isn't quite right. If the dropdown condition list had an "address" entry in addition to a "header" entry it could be made to do the equivalent of the above. Note that when I try to use "custom rule" for this it complains that the action needs an argument (?)

Discussion


Log in to post a comment.