AUTH PLAIN LOGIN - SMTP Relay not working

ScottEvans

New Member
I am trying to add my Postfix SMTP relay as type "Smtp" but I can't get it working. It works fine with Interspire.

root@advertise [~]# telnet smtp.mydomain.com 25
Trying 185.**.202.**0...
Connected to smtp.mydomain.com.
Escape character is '^]'.
220 mydomain.com ESMTP Postfix
ehlo smtp.mydomain.com
250-mydomain.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN

The user/password I am using I just created by using "user add username" "passwd username"

How can I get this working? Below is a copy of my Postfix main.cf

http://pastebin.com/EgzRNqPC

I am using 1.3.5.7, I read this was fixed in 1.3.5.7?
 
"
  • Failed to authenticate on SMTP server with username "admin" using 2 possible authenticators"
tcp, udp, unix, udg, ssl, sslv3, sslv2, tls - are set in PHP. If anything is missing please let me know which and how to install
 
Having just tls as registered stream protocols in php is not enough if your remote server supports another version of tls, say tlsv1.0, tlsv1.1 or tlsv1.2, so you should actually have "tcp, udp, unix, udg, ssl, sslv3, sslv2, tls, tlsv1.0, tlsv1.1, tlsv1.2"
 
Hello, I just buy MailWizz ang get the same error with SMTP text auth server(pmta on port 2525). I have own server, what can I do ? Where is the log file? How to disable secure protocols in MailWizz?
Log from other soft
Code:
9.38.0.428-0
2017-05-10T18:26:59.704+03:00
Connecting to: domain.zz:2525 Enc: No
Login: domain.zz-vmta
Connected.
 220 domain.zz ESMTP service ready
 EHLO 1.1.1.1
 250-domain.zz says hello
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-CHUNKING
250-8BITMIME
250-AUTH CRAM-MD5 PLAIN LOGIN
250-AUTH=CRAM-MD5 PLAIN LOGIN
250-XACK
250-SIZE 0
250-VERP
250 DSN
 AUTH LOGIN MTE2c2hrb2xhLnJ1LXZtdGE=
 334 UGFzc3dvcmQ6
 R2hnMzdoZw==
 235 2.7.0 authentication succeeded
 MAIL FROM:<news@domain.zz>
 250 2.1.0 MAIL ok
 RCPT TO:<newssss@domain.zz>
 250 2.1.5 <newssss@domain.zz> ok
 DATA
 354 send message
 From: "asass" <news@domain.zz>
Subject: =?windows-1251?B?ze7i7uUg8e7u4fnl7ejl?=
To: "newssss" <newssss@domain.zz>
Content-Type: multipart/alternative; boundary="RMU6FmZuPd2keHOfVvmV29GeBN=_iFiywf"
MIME-Version: 1.0
Organization: 4546
Date: Wed, 10 May 2017 18:26:59 +0300
 .
 250 2.6.0 message received
 
I dont see full log if SwiftMailer. Why?
Code:
Cannot send the confirmation email using the data you provided.
×
Here is a transcript of the error message:
Failed to authenticate on SMTP server with username "domain.ru-vmta" using 3 possible authenticators
Phpmailer
Code:
SMTP Error: The following recipients failed: wildb@thiag.ru: relaying denied: in "RCPT TO:"
Connection: opening to domain.zz:2525, timeout=30, options=array ( 'ssl' => array ( 'verify_peer' => false, 'verify_peer_name' => false, 'allow_self_signed' => true, ),)
Connection: opened
SMTP -> get_lines(): $data is ""
SMTP -> get_lines(): $str is "220 domain.zz ESMTP service ready"
SERVER -> CLIENT: 220 domain.zz ESMTP service ready
CLIENT -> SERVER: EHLO mailbox.ht.ru
SMTP -> get_lines(): $str is "250-domain.zz says hello"
SMTP -> get_lines(): $data is "250-domain.zz says hello"
SMTP -> get_lines(): $str is "250-ENHANCEDSTATUSCODES"
SMTP -> get_lines(): $data is "250-domain.zz says hello250-ENHANCEDSTATUSCODES"
SMTP -> get_lines(): $str is "250-PIPELINING"
SMTP -> get_lines(): $data is "250-domain.zz says hello250-ENHANCEDSTATUSCODES250-PIPELINING"
SMTP -> get_lines(): $str is "250-CHUNKING"
SMTP -> get_lines(): $data is "250-domain.zz says hello250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING"
SMTP -> get_lines(): $str is "250-8BITMIME"
SMTP -> get_lines(): $data is "250-domain.zz says hello250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250-8BITMIME"
SMTP -> get_lines(): $str is "250-AUTH CRAM-MD5 PLAIN LOGIN"
SMTP -> get_lines(): $data is "250-domain.zz says hello250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250-8BITMIME250-AUTH CRAM-MD5 PLAIN LOGIN"
SMTP -> get_lines(): $str is "250-AUTH=CRAM-MD5 PLAIN LOGIN"
SMTP -> get_lines(): $data is "250-domain.zz says hello250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250-8BITMIME250-AUTH CRAM-MD5 PLAIN LOGIN250-AUTH=CRAM-MD5 PLAIN LOGIN"
SMTP -> get_lines(): $str is "250-XACK"
SMTP -> get_lines(): $data is "250-domain.zz says hello250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250-8BITMIME250-AUTH CRAM-MD5 PLAIN LOGIN250-AUTH=CRAM-MD5 PLAIN LOGIN250-XACK"
SMTP -> get_lines(): $str is "250-SIZE 0"
SMTP -> get_lines(): $data is "250-domain.zz says hello250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250-8BITMIME250-AUTH CRAM-MD5 PLAIN LOGIN250-AUTH=CRAM-MD5 PLAIN LOGIN250-XACK250-SIZE 0"
SMTP -> get_lines(): $str is "250-VERP"
SMTP -> get_lines(): $data is "250-domain.zz says hello250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250-8BITMIME250-AUTH CRAM-MD5 PLAIN LOGIN250-AUTH=CRAM-MD5 PLAIN LOGIN250-XACK250-SIZE 0250-VERP"
SMTP -> get_lines(): $str is "250 DSN"
SERVER -> CLIENT: 250-domain.zz says hello250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250-8BITMIME250-AUTH CRAM-MD5 PLAIN LOGIN250-AUTH=CRAM-MD5 PLAIN LOGIN250-XACK250-SIZE 0250-VERP250 DSN
CLIENT -> SERVER: MAIL FROM:<news@domain.zz>
SMTP -> get_lines(): $str is "250 2.1.0 MAIL ok"
SERVER -> CLIENT: 250 2.1.0 MAIL ok
CLIENT -> SERVER: RCPT TO:<wildb@domain.rt.ru>
SMTP -> get_lines(): $str is "550 5.7.1 relaying denied: <wildb@domain.rt.ru> in "RCPT TO:<wildb@domain.rt.ru>""
SERVER -> CLIENT: 550 5.7.1 relaying denied: <wildb@domain.rt.ru> in "RCPT TO:<wildb@domain.rt.ru>"
SMTP ERROR: RCPT TO command failed: 550 5.7.1 relaying denied: <wildb@domain.rt.ru> in "RCPT TO:<wildb@domain.rt.ru>"
CLIENT -> SERVER: RSET
SMTP -> get_lines(): $str is "250 2.0.0 reset"
SERVER -> CLIENT: 250 2.0.0 reset
 
Last edited:
Back
Top