Using Regular Expressions

Some configuration options can contain regular expressions.

Use the following format:


Or if you really care to match the domain suffix part and not any

/[@.]example\.com[> ]*$/

So for a real world example:

list "spam users" rcpt {  \
        /^.*@agilico\.com$/ \
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License