Quote:
Originally Posted by till
A * in a regex is no wildcard, it means only repeat the character before the * a unlimited time. As the character before the * in your regex is a whitespace, your regex will match only things like From: .info and not .info email addresses. I guess what you wanted is something like that:
/From:.*\.info/
Wich means that the line starts with "From:" Then there may be any other characters as . is the placeholder for any character and .* means that any number of any character might be in that place and then the end is .info where the . has to be escaped with a backslash so that it is not interpreted as wildcard.
|
Thank you for that information..
I have a question.. How do i block spam in content filter if i would like to reject a keyword "viagra"
I am using ISPConfig v. 3.0.2.1
Your immediate response is highly appreciated.