Help with regex expression RSS


I get bombarded with various spam with addresses that are very similar, but different enough that a simple expression won't work. I would like to create a regex expression and was wondering if someone could help me with it.

Below are examples of some of the spam email addresses.


As you can see they all start with "bounce-9", have a specific number of digits, a hyphen, again and specific number of digits, a hyphen, a connotation of my email address (I've removed my actual email address), and then a changing domain.

I was thinking of setting up a sender blacklist that starts with "bounce-9", checks for a specific number of digits before the hyphen, checks for the hyphen, again checks for a specific number of digits after the hyphen, then checks for a hyphen and the email address string, and the domain would be the wild card.

Can a regex expression be setup to do what I'm wanting to do?


by Josh 5 years ago

Try the following one:


by Krisztián Fekete (Vamsoft) 5 years ago

Thanks Krisztian!

I'll give that a shot, but from the initial checks it looks like it'll work.


by Josh 5 years ago

@Josh: Glad to hear it works :)

by Krisztián Fekete (Vamsoft) 5 years ago
(in reply to this post)

New comment

Fill in the form below to add a new comment. All fields are required. If you are a registered user on our site, please sign in first.

Email address (will not be published):
Your comment:

ORF Technical Support

Configuring, installing and troubleshooting ORF.

News & Announcements

Your dose of ORF-related news and announcements.

Everything but ORF

Discuss Exchange and system administration with fellow admins.

Feature Test Program

Feature Test Program discussion. Membership is required to visit this forum.

ORF Beta

Join the great bug hunt of the latest test release.

Customer Service

Stay Informed