On Sat, May 15, 2021 at 12:31 AM IL Ka <kazakevichi...@gmail.com> wrote: >> >> >> >> If now a user of such a domain requests that he can be blocked >> from receiving email from my domain, due to abuse of my service, >> would be a simple REJECT of his email address in the same >> transport map list be sufficient, or does postfix may get confused? >> > > transport(5) can have "error" transport for a certain domain, there is an > example in the man page. > .example.com error:mail for *.example.com is not deliverable > But if someone abuses your service, wouldn't it be better to block the abuser? > > You can also use access(5) to block smtpd from relaying emails to some domains
Thanks for your reply, much appreciated. The thing is that my service will allow Alice and Bob to use it via Tor and telnet into my mail server. It is a privacy service and hopefully should not be abused much, but I need the option so that users of such allowed domains have the ability to send me a block request, in case they no longer want to receive email(s) from my service, due to possible abuse etc. Regards Stefan