Author Topic: I want to block some outgoing emails  (Read 435 times)

Offline kennio

  • Newbie
  • *
  • Posts: 1
I want to block some outgoing emails
« 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?
« Last Edit: May 26, 2021, 04:47:32 PM by kennio »

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,678
    • http://SKaero.com/
Re: I want to block some outgoing emails
« Reply #1 on: May 26, 2021, 10:49:51 PM »
That should really be handled on the SMTP server.