For Compliance purpose at times Emails of User A are forwarded to Email of User B, without informing user A, now in case User B puts an autoreply message then that auto reply message is triggered to sender C who has marked a mail to User A, which is not expected, so we should have such feature in the system.
you can block automatic response messages for forwarded emails using a few different methods.
Using Google Workspace Script: You can use a Google Workspace Script to automatically mark as read any email with the "Auto-Submitted" header. To set this up, you'll need to create a script and set a trigger to run the script when new emails are received. You can find sample scripts for this purpose on the internet or from the google script gallery.
Using Google Workspace Policy: You can use the Google Workspace admin console to create a policy that blocks automatic response messages for forwarded emails. This can be done by setting an email policy that blocks the "Auto-Submitted" header. To set this up:
Please note that these are general instructions and the exact steps may vary depending on the version of Google Workspace you are using.