Mail problems - sharetribe keeps trying on localhost/1025

Hi all, I have been googline/searching all day for this problem but I can not find an answer :frowning:

We setup a local version an emailing works fine, even with mailcatcher and all, but for some reason the production server also tries to link to the localhost-port 1025 but in all the configgiles I tried to setup SMTP thru google or use sendmail on the server.

I keep getting this error:
Connection refused - connect(2) for β€œ127.0.0.1” port 1025

Extracted source (around line #12):smile:

def deliver_now(message)
message.deliver_now
end

end

Anyone any thoughts?

Thnx!

Michiel

Hi,
If you try to send a mail by calling sendmail, it works? Manually like:
echo β€œSubject: sendmail test” | sendmail -v my@email.com

If yes, did you setup your config.yml to use sendmail?