On Linux, Postfix’s main configuration file, main.cf, is located at:

/etc/postfix/main.cf