On Mon, Sep 05, 2016 at 01:42:59PM -0600, @lbutlr wrote:

> I have a user that uses address extensions quite a lot. one extension she
> uses has become nothing but spam since her (cancelled) credit card shared
> the address with advertisers.
> 
> She would like to have mail to user+vis...@domain.tld rejected while not
> affecting an mail to u...@domain.tld or user+anyth...@domain.tld.
> 
> My initial idea was in sender_access.pcre add a line:
> 
> /^user\+visa89@domain\.tld$/ 550 No Such User

Why *sender* access?  That is surely a recipient address.

Secondly, why use regular expressions, when indexed files will do:

    user+vis...@domain.tld      REJECT 5.1.1 Mailbox unavailable

-- 
        Viktor.

Reply via email to