This should be a simple thing, but I cannot configure postfix to properly send email from a container.
I configure /etc/postfix/main.cf to include the FQDN for the variables, such as:
myhostname = apps.chem.umass.edu
mydestination = $myhostname, apps.chem.umass.edu, localhost.chem.umass.edu, , localhost
And I configure /etc/mailname to be apps.chem.umass.edu.
But doing a simple mail check using the mail utility, the mail server for the university rejects it because it is receiving a domain of “firstname.lastname@example.org”.
I don’t know how to configure the container to not send as apps-chem.lxd and instead send as apps.chem.umass.edu.
I would love some guidance. Thanks.