Hi guys,
I want to configure the relay for my Zimbra server
Only allow 127.0.0.0/8 and 10.1.1.0/24

I guess the setup will be place here,
Server settings > MTA > MTA Trusted Networks > 127.0.0.0/8 10.1.1.0/24

But right now I run a test and facing a problem that I configure the SMTP sending mail by using the PHP code, the code similar to below,

Code:
$mail             = new PHPMailer();

	$mail->IsSMTP(); 
	$mail->Host       = "mail.abc.com"; 
	
	$mail->CharSet = 'utf-8'; // SET UTF-8
	
	$mail->From       = "andy@abc.com";
	$mail->FromName   = "ABC Pte Limited";

	$mail->Subject    = "[Testing]";

	$mail->MsgHTML($body);
	
	$mail->AddAddress($emailadd, "");
The server IP is 192.168.1.10, and send notification using andy@abc.com and sending email to other mail provider, example email notification.
and it is send successful.

Here is the question,
I do not add 192.168.1.10 as my relay and why it is able to send? can I disallow the server using our email server to send email out?

Hope someone expert can give me advice on this question.