One more question, as i reconfigure my mail-servers :)

I have "recipient_delimiter" set to ".", so that user.<anything>@example.com will be delivered to u...@example.com

Now, i have a certain sub-name, that i want to REJECT.

For example:

user.s...@example.com

Is it possible to reject mail to user.s...@example.com while accepting all other use...@example.com addresses?


So far, i found "recipient_access" to allow this this:

main.cf:
check_recipient_access pcre:/etc/postfix/recipient_access

/etc/postfix/recipient_access:
/^user\.s...@example\.com$/  REJECT


Is this the right way to handle this?

Or are there other, more recommended methods?

Reply via email to