@girish if it’s about completely blocking any outside email communication then blocking outbound communication on port 25 is a way the achieve this. This way every mail directed to an outside server would eventually result in a non delivery as the destination cannot be connected.