Hi all,

I'm quite new at postfix, after long years using qmail.
I'm really enjoying it for now but I'm a little lost on something and I hope
I can get help from you because I couldn't find anything online.

I'm using extensions so all emails sent to
humopat+anyth...@mydomain.com<humopat%2banyth...@mydomain.com>will be
accepted and forwarded to my mailbox.
But some extensions receive too many spams and I want to get rid of them,
like humopat+...@mydomain.com <humopat%2b...@mydomain.com>.

I want this extension, and only this extension, to bounce at the "rcpt to"
step.

Of course I could use something like "smtpd_recipient_restrictions =
check_recipient_access (...)"
but I came to think it would be easier to define this forbidden address in
the virtual alis maps file, so I don't have too many files to handle, like:

postmas...@mydomain.com     mymail...@mydomain.com
humo...@mydomain.com         mymail...@mydomain.com
humopat+...@mydomain.com <humopat%2b...@mydomain.com>   REJECT

I tried exactly that syntax but it doesn't work.


I guess I'm a bit stupid because I think thousands of persons need this
function so... it must be very easy to achieve somehow.

How do you do that kind of thing?


Thank you all!

Reply via email to