Hoover, David (NIH/CIT) [E]
unread,Sep 22, 2025, 3:14:46 PM (4 days ago) Sep 22Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Maximilian Haeussler, genome...@soe.ucsc.edu
Hi Max,
When a user requests a new account, or if they request a password reset, hgLogin runs happily and tells the user that an email is on the way.
However, there is no sendmail in the docker container, and nothing happens.
I have a rather brutal workaround. I've created a bash script inside the docker container in place of sendmail (/usr/bin/sendmail) that simply writes the contents of the mail piped to it into a file in a unique location of the trash directory.
Because the trash directory is accessible both inside and outside the container, I can hook up a cronjob that will identify the newly created file, send it using our real sendmail outside the container, and remove the file.
Talking with a sysadmin on my side, it seems like a major hassle to retrofit a docker container with the correct sendmail/postfix configuration and get it working without security breathing down our necks. And so, I think I will go with my little cheat.
Thanks anyway,
David