Hello, I have a few users that insist on using catch-all domains. Not surprising they get spam to some address. Now they're asking if they can reject mail for *some* of the addresses of the catch-all domain.
They can create aliases themselves via postfixadmin and they want to do this the same way. I tried to implement this by using a check_recipient_access pcre_table like this: /etc/postfix# cat recipient_access.pcre /^postfix-reject-address@.+$/ REJECT smtpd_recipient_restrictions = check_recipient_access pcre:$config_directory/recipient_access.pcre, ... And telling them to add an alias to postfix-reject-address@$THEIR_DOMAIN But this doesn't work as postfix will produce bounces (backscatter) like this: <reject-postfix-addr...@karotte.org> (expanded from <reject-t...@karotte.org>): user unknown In the log I see that postfix tries to deliver the message with the default virtual transport (dovecot) which then returns the user unknown. It there a way to acomplish this? Regards Sebastian -- GPG Key: 0x93A0B9CE (F4F6 B1A3 866B 26E9 450A 9D82 58A2 D94A 93A0 B9CE) 'Are you Death?' ... IT'S THE SCYTHE, ISN'T IT? PEOPLE ALWAYS NOTICE THE SCYTHE. -- Terry Pratchett, The Fifth Elephant