Roundcube Community Forum

SVN Releases => Issues & Bugs => Topic started by: kennio on May 26, 2021, 04:32:14 PM

Title: I want to block some outgoing emails
Post by: kennio on May 26, 2021, 04:32:14 PM
I want to block any email send from the accounts under the domain internal.mydomain.com that are sent to any any external email. Example:

Sender -> Receiver -> Result
john@mydomain.com -> peter@mydomain.com -> OK
john@mydomain.com -> peter@internal.mydomain.com -> OK
john@mydomain.com -> peter@sales.mydomain.com -> OK
john@mydomain.com -> peter@gmail.com -> OK
john@internal.mydomain.com -> peter@mydomain.com -> OK
john@internal.mydomain.com -> peter@internal.mydomain.com -> OK
john@internal.mydomain.com -> peter@sales.mydomain.com -> OK
john@internal.mydomain.com -> peter@gmail.com -> BLOCKED

how can I achieve that?
Title: Re: I want to block some outgoing emails
Post by: SKaero on May 26, 2021, 10:49:51 PM
That should really be handled on the SMTP server.