Self-Hosted: Emailing using local postfix client on Fedora 28

  • I am using postfix client on fedora28 test machine. And I am able to send out test email using sendmail command line.

  • I made the change like following in bwdata/env/global.override.env and docker-compose restart the bw server.

[[email protected] env]# rcsdiff ./global.override.env
===================================================================
RCS file: ./RCS/global.override.env,v
retrieving revision 1.1
diff -r1.1 ./global.override.env
20c20
< globalSettings__mail__smtp__host=REPLACE
---
> globalSettings__mail__smtp__host=localhost
[[email protected] env]#
  • But I am not able to send test email, which BW log file I should look at for tracing the issue ?

image

You can look in the bwdata/logs/api directory. Something to note, localhost is not going to resolve to the host machine. localhost from within a container is the container itself.

Just to close out this thread.
I switched to use BW’s direct connection to an internal mail relay server.