This is the default example configuration of postfix provided by Postfix. This config file was generated by Postfix running on Ubuntu 20.04.
It is located under: /etc/ufw/applications.d/postfix
[Postfix]
title=Mail server (SMTP)
description=Postfix is a high-performance mail transport agent
ports=25/tcp
[Postfix SMTPS]
title=Mail server (SMTPS)
description=Postfix is a high-performance mail transport agent
ports=465/tcp
[Postfix Submission]
title=Mail server (Submission)
description=Postfix is a high-performance mail transport agent
ports=587/tcp
Download the raw file with wget or curl
wget -O postfix.example http://exampleconfig.com/static/raw/postfix/ubuntu20.04/etc/ufw/applications.d/postfix
curl http://exampleconfig.com/static/raw/postfix/ubuntu20.04/etc/ufw/applications.d/postfix > postfix.example
Other config files you might find useful