Re: Managing allow/block list for outbound traffic

2021-05-14 Thread Stefan Claas
On Sat, May 15, 2021 at 12:31 AM IL Ka  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


Re: Managing allow/block list for outbound traffic

2021-05-14 Thread IL Ka
>
>
>
> 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




>


Managing allow/block list for outbound traffic

2021-05-14 Thread Stefan Claas
Hi,

I am planning to offer a new small email service and decided
to only allow for now that outbound traffic can only reach
a couple of domains which are included, as understood, in
a transport map list, where the domains are labeled as OK.

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?

Regards
Stefan