Restrict ETRN command upon...
smtpd_etrn_restrictions

This parameter restricts what clients are allowed to issue the ETRN command. The present Postfix ETRN differs from other ETRN implementations in that it flushes mail for all destinations. This will change in the future.

The default is to allow ETRN from any host. The following restrictions are available: