Koozali.org: home of the SME Server

Cannot send a mail with new ISP

Offline fpausp

  • *
  • 728
  • +0/-0
Cannot send a mail with new ISP
« on: July 28, 2011, 07:30:14 PM »
Hi all,

I switched to a new ISP and like to use his smtp-server to send mails.

The servername is:
Quote
bsmtp.A1.net
Port 587; TLS; SMTP-Auth

When I tried to use the new smtp-server with sme7 or sme8 I got an error like:
Quote
Hi. This is the qmail-send program at domain.lan.
I tried to deliver a bounce message to this address, but the bounce bounced!

<office@domain.at>:
Connected to 127.0.0.1 but sender was rejected.
Remote host said: 530 5.7.0 Must issue a STARTTLS command first

--- Below this line is the original bounce.

Return-Path: <>
Received: (qmail 6307 invoked for bounce); 28 Jul 2011 17:09:40 -0000
Date: 28 Jul 2011 17:09:40 -0000
From: MAILER-DAEMON@domain.lan
To: office@domain.at
Subject: failure notice

Hi. This is the qmail-send program at domain.at.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<name@gmx.at>:
Connected to 127.0.0.1 but sender was rejected.
Remote host said: 530 5.7.0 Must issue a STARTTLS command first

--- Below this line is a copy of the message.

Return-Path: <office@domain.at>
Received: (qmail 6303 invoked by uid 453); 28 Jul 2011 17:09:40 -0000
X-Virus-Checked: Checked by ClamAV on domain.lan
Received: from ap001.domain.lan (HELO [10.10.0.1]) (10.10.0.1)
    by domain.lan (qpsmtpd/0.83) with ESMTP; Thu, 28 Jul 2011 19:09:40 +0200
Message-ID: <4E3197F1.7090702@netztechnik.at>
Date: Thu, 28 Jul 2011 19:10:09 +0200
From: Office - MyName <office@domain.at>
Reply-To: office@domain.at
Organization: Fa. MyName
User-Agent: Thunderbird 2.0.0.24 (Windows/20100228)
MIME-Version: 1.0
To: name@gmx.at
Subject: asdf
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

asdfasdfasdfasdf


I have tested the credentials with thunderbird and was able to send a mail directly via the server (bsmtp.A1.net, Port:587, TLS), but not with sme7 or sme8 ?


Viribus unitis

Offline mdo

  • *
  • 355
  • +0/-0
Re: Cannot send a mail with new ISP
« Reply #1 on: July 28, 2011, 09:12:00 PM »
As a try, have a look at bug 6538 with a manual workaround in comments 8 & 9.

Let us know whether that helps.
...

Offline fpausp

  • *
  • 728
  • +0/-0
Re: Cannot send a mail with new ISP
« Reply #2 on: July 29, 2011, 10:32:41 AM »
No Luck, is sme8 supporting TLS ?
Viribus unitis

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Cannot send a mail with new ISP
« Reply #3 on: July 29, 2011, 02:25:41 PM »
No Luck, is sme8 supporting TLS ?

It supports TLS, but on port 465, not port 587. Can you get your ISP to enable SMTPS on port 465?

To get support added to SME8 you would need to open a New Feature Request in the bug tracker. We would need to rewrite the smtp auth proxy to use Net::SSLGlue::SMTP rather than Net::SMTP::SSL.