Block emails from IP to a domain

Hello,

Is it possible to block sending emails from an IP to a domain name ? I just bought a mikrotik router, so I do not know many information about it.. Can you help me ? :slight_smile:

Thank you,

I am a bit confused to what exactly you are asking, but preventing sending e-mails to certain domains should be done on SMTP server and not Firewasll

I have problems with a customer. He is doing SPAM and I want to block the traffic from his IP to receiver’s IP or domain name.

Block everything from his IP. Then he’ll soon be an ex-customer and problem solved.

Block all traffic from customer IP to all destiniation IP address, with destination protocol TCP, port numbers: 25, 465, 587, 2525

Warn the customer, to stop his/her activity or he/she should check the client devices for malware infecting. It could be an infected CPE too, there are some RouterOS security hole what fixed nowadays.