Hello @espala
How exactly did you configure your connection to the smtp server - the log you provided shows that you want to connect to smtp.domain.com. Did you configure your hosts file / dns server to redirect this domain to your email host? Otherwise it might tries to connect to the wrong server.
BR,
Andreas