Good afternoon list.

I apologise for this post.

I am new to postfix and battling to block a sender who keeps changing digits in the sending address.

I would like to block the sender using the regex westcoast[0-9]...@gmail.com (to block sender address of westcoast...@gmail.com etc..).

However, adding it to the smtpd_sender_restrictions is not working

config looks like:

smtpd_sender_restrictions =
<snip>
check_sender_access regexp:/etc/postfix/sender_access_blacklist_regexp,
</snip>


sender_access_blacklist_regexp contains:

#discard westcoast spammer
westcoast[0-9]...@gmail.com    DISCARD

Once again

Apologies for the post.

Tom

Reply via email to