Solved it: My ISP blocks port 25 so I had it working on my VPS in the US instead. Thanks for your help!
I still need to send e-mail from my home box, so I'll send a separate mail about that. Cheers, Andreas lör 21 jan. 2017 kl. 12:28 skrev Andreas Thulin <[email protected]>: > Hi all, > > thanks a lot for feedback! > > Here's some output based on your tips: > > # tail -f /var/log/maillog > Jan 21 12:20:51 pejorative smtpd[97191]: smtp-out: Enabling route [] <-> > 193.109.254.147 (mail27.messagelabs.com) > Jan 21 12:20:52 pejorative smtpd[97191]: a82cdf3e7f2e7c20 mta event=error > reason=Connection timeout > Jan 21 12:20:52 pejorative smtpd[97191]: smtp-out: Disabling route [] <-> > 85.158.143.35 (mail21.messagelabs.com) for 15s > Jan 21 12:20:52 pejorative smtpd[97191]: a82cdf4230158274 mta > event=connecting address=smtp+tls://193.109.254.147:25 host= > mail27.messagelabs.com > Jan 21 12:20:57 pejorative smtpd[97191]: smtp-out: Enabling route [] <-> > 173.194.221.26 (lm-in-f26.1e100.net) > Jan 21 12:20:57 pejorative smtpd[97191]: a82cdf4361d680ef mta > event=connecting address=smtp+tls://173.194.221.26:25 host= > lm-in-f26.1e100.net > Jan 21 12:21:07 pejorative smtpd[97191]: smtp-out: Enabling route [] <-> > 85.158.143.35 (mail21.messagelabs.com) > Jan 21 12:21:12 pejorative smtpd[97191]: a82cdf3f650610ab mta event=error > reason=Connection timeout > Jan 21 12:21:12 pejorative smtpd[97191]: smtp-out: Disabling route [] <-> > 85.158.139.211 (mail206.messagelabs.com) for 15s > Jan 21 12:21:12 pejorative smtpd[97191]: a82cdf4439247e9a mta > event=connecting address=smtp+tls://85.158.143.35:25 host= > mail21.messagelabs.com > > # date | sendmail -v -f root root > <<< 220 pejorative.andreasthulin.se ESMTP OpenSMTPD > >>> EHLO localhost > <<< 250-pejorative.andreasthulin.se Hello localhost [local], pleased to > meet you > <<< 250-8BITMIME > <<< 250-ENHANCEDSTATUSCODES > <<< 250-SIZE 36700160 > <<< 250 HELP > >>> MAIL FROM:<[email protected]> > <<< 250 2.0.0: Ok > >>> RCPT TO:<[email protected]> > <<< 250 2.1.5 Destination address valid: Recipient ok > >>> DATA > <<< 354 Enter mail, end with "." on a line by itself > >>> . > <<< 250 2.0.0: 37aa0394 Message accepted for delivery > >>> QUIT > <<< 221 2.0.0: Bye > > # date | sendmail -v -f [email protected] [email protected] > <<< 220 pejorative.andreasthulin.se ESMTP OpenSMTPD > >>> EHLO localhost > <<< 250-pejorative.andreasthulin.se Hello localhost [local], pleased to > meet you > <<< 250-8BITMIME > <<< 250-ENHANCEDSTATUSCODES > <<< 250-SIZE 36700160 > <<< 250 HELP > >>> MAIL FROM:<[email protected]> > <<< 250 2.0.0: Ok > >>> RCPT TO:<[email protected]> > <<< 250 2.1.5 Destination address valid: Recipient ok > >>> DATA > <<< 354 Enter mail, end with "." on a line by itself > >>> . > <<< 250 2.0.0: e2d7cfbc Message accepted for delivery > >>> QUIT > <<< 221 2.0.0: Bye > > I'll look into possible ISP blocking. My location is Stockholm, Sweden (if > that's what you meant by location). > > BR > Andreas > > lör 21 jan. 2017 kl 04:08 skrev Jason Tubnor <[email protected]>: > > On 21 January 2017 at 11:30, Damian McGuckin <[email protected]> wrote: > > On Fri, 20 Jan 2017, Andreas Thulin wrote: > > > What have I got wrong, and how can I trouble-shoot? > > > > ISP port blocking for outbound email is usually one issue. Where is your > host located? What is output of smtpctl show queue ?? > >
