postfix-users October 2010 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: problem blocking sender_address

problem blocking sender_address

From: Tom Kinghorn <thomas.kinghorn_at_nospam>
Date: Mon Oct 04 2010 - 12:01:08 GMT

  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]{3} (to block sender address of etc..).

However, adding it to the smtpd_sender_restrictions is not working

config looks like:

smtpd_sender_restrictions =

sender_access_blacklist_regexp contains:

#discard westcoast spammer
westcoast[0-9]{3} DISCARD

Once again

Apologies for the post.