12-19-2012 02:12 PM
Hello,
This is Rohit, I am trying to figure out a solution to strip the http/https part from URL. Following is the example,
URL Strip! if rcpt-to != "test@xxx.com" {
if true {
edit-body-text("(?i)(?:https?|ftp)://+", "[stripped]://");
}
}
Here the http/https part is striped for all the users except test@xxx.com. Its working fine.
Now I want to implement the same for a Group. I created a group "GROUP_Test" and added test@xxx.com.
URL_Strip_Filter! if rcpt-to-group != "Group_Test" {
if true {
edit-body-text("(?i)(?:https?|ftp)://+", "[stripped]://");
}
}
When i test this filter, its not working. It even strips the http/https part for the user who are in the group. I am trying to find a solution for this.
Any help is really appreciated.
Thanks,
Rohit
12-31-2012 04:28 AM
Hello Rohit,
just wondering, do you probably still have a filter in place that does the same without checking for the group condition?
Regards,
Andreas
12-31-2012 06:08 AM
Hello Andreas,
Thanks for the reply.
I had disabled the filter wiithout the group. The only avtive filter is the one with group condition.
Thanks,
Rohit
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide