Set up sendmail for the perl scripts and perl cgi forms, which used sendmail.
In the Dockerfile, configure sendmail as a docker CMD. Must also pass hostname to /etc/hosts or it won't work.
Note that HOSTNAME is the docker hostname, while HOST_NAME is our .env variable. (not typo)
Caltech server blocks any email coming From: a sender with a domain different than HOST_NAME.
Set up sendmail for the perl scripts and perl cgi forms, which used sendmail. In the Dockerfile, configure sendmail as a docker CMD. Must also pass hostname to /etc/hosts or it won't work.
Note that HOSTNAME is the docker hostname, while HOST_NAME is our .env variable. (not typo) Caltech server blocks any email coming From: a sender with a domain different than HOST_NAME.