Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: azche24 on April 30, 2010, 02:50:54 PM

Title: SMTP to ISP Authentication Problem
Post by: azche24 on April 30, 2010, 02:50:54 PM
Hi,

i am using SME on ADSL line (dynamic IP), so i have to upload emails to my ISP for delivery. My ISP added an extra feature to all his smtp-servers. Outgoing email needs a reply-to adress in the header, that fits one of the mailboxes from the sender's domain. They explain it in http://wiki.goneo.de/doku.php?id=mailversand_php (http://wiki.goneo.de/doku.php?id=mailversand_php)as such:
Quote
Before: sendmail_path = /usr/local/sbin/sendmail -t -i
After: sendmail_path = /usr/local/sbin/sendmail -t -i -f mail@ihre-domain-bei-goneo.de
Now i can send emails via smtp-auth proxy to smtp-server of my provider by using Thunderbird directly. But if i send the same email out to SME, and from there to SMTP-Server at my ISP, it is rejected by the ISP's SMTP with "authentification-error".
If i disable smtp-auth, i get
Quote
82.XXX.XXX.XXX does not like recipient.
Remote host said: 553 5.7.1 <blah@blah.de>: Sender address rejected: not logged in
Giving up on 82.XXX.XXX.XXX

Provider's helpfile also says, the the smtp-authentication should not be secured. Plain username + password.

As a workaround i installed a small mercury mailserver for smtp-delivery. This works flawlessly SME->fixedIP->Mercury@windozeWS->ISP-SMTP. But this is no solution.

How can i get these 2 settings into SME, so i can at least figure out?
Title: Re: SMTP to ISP Authentication Problem
Post by: Normando on May 01, 2010, 12:28:59 AM
Go to email panel in server-manager and delegate the email server to your ISP. Fill the fields with your ISP SMTP address, username and password.

http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter13#E-mail_Delivery
Title: Re: SMTP to ISP Authentication Problem
Post by: azche24 on May 01, 2010, 10:23:50 AM
The problem is beyond that: Of course the smtp-server is delegated to isp with username/pw. But authentication (Server uses Plaintext/PW) does not work (as it does with any other smtp client or email-prog i tested so far).

To solve the problem, i first need a more extensive log-file just like this one from another smtp-client

Quote
Info::Connect smtp.provider.de:25
Recv::220 smtp1.provider.de ESMTP
Send::EHLO KISTE06
Recv::250-smtp1.provider.de
Recv::250-PIPELINING
Recv::250-SIZE 20971520
Recv::250-ETRN
Recv::250-STARTTLS
Recv::250-AUTH PLAIN LOGIN CRAM-MD5
Recv::250-AUTH=PLAIN LOGIN CRAM-MD5
Recv::250-ENHANCEDSTATUSCODES
Recv::250-8BITMIME
Recv::250 DSN
Send::AUTH PLAIN
Recv::334
Send::**********
Recv::235 2.7.0 Authentication successful
Send::MAIL FROM:user@domain.de
Recv::250 2.1.0 Ok
Send::RCPT TO:testaccount@mail.com
Title: Re: SMTP to ISP Authentication Problem
Post by: CharlieBrady on May 01, 2010, 05:44:45 PM
As I stated in the bug tracker, your ISP has introduced restrictions which make it impossible for you to run a mail server. Their service can only be used by individual/personal email. You will need to talk to them to get them to remove that restriction for you, or you will need to find a different ISP.

You can get more extensive logging by enabling debug with the smtp auth proxy in SME server. But I doubt that will help, because of the restriction the ISP has applied to the 'Mail From:' phase of the SMTP transaction.

Instructions to enable debug here:

http://bugs.contribs.org/show_bug.cgi?id=5854
Title: Re: SMTP to ISP Authentication Problem
Post by: CharlieBrady on May 01, 2010, 08:33:08 PM
The problem is beyond that: Of course the smtp-server is delegated to isp with username/pw. But authentication (Server uses Plaintext/PW) does not work (as it does with any other smtp client or email-prog i tested so far).

You'll need to define more fully "does not work". Please do so in the bug tracker.