mlandauer/cuttlefish

Smart route

Closed this issue · 1 comments

Hello

Can an external SMTP be connected to the app to route all outgoing emails using another SMTP instead of internal postfix?

Yup should be possible though it has caveats. Set the environment variable POSTFIX_SMTP_HOST for the cuttlefish app and it will send via an external postfix server. See

config.postfix_smtp_host = ENV["POSTFIX_SMTP_HOST"] || "localhost"

However, you will need to be able to mount the log files of that external SMTP host to a local filesystem if you want any of the deliverability stuff to work.