Greetings to all. I had the following problem. I'm trying to use mailwizz + pmta.
In PMTA I use port 2527. When configuring the delivery server, I also specify port 2527.
When I try to add a delivery server and verify it, I get the following error:
1) If I use the Default system mailer - Swiftmailer
Can not 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 "name@domain.com" using 1 possible autenticators
2) if I use the Default system mailer - Phpmailer
Cannot send the confirmation email using the data you provided.
Here is a transcript of the error message:
SMTP Error: Could not authenticate.
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Connection: opening to domain.com:2527, 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.com ESMTP service ready"
SERVER -> CLIENT: 220 domain.com ESMTP service ready
CLIENT -> SERVER: EHLO sender.sender.com
SMTP -> get_lines(): $str is "250-domain.com says hello"
SMTP -> get_lines(): $data is "250-domain.com says hello"
SMTP -> get_lines(): $str is "250-ENHANCEDSTATUSCODES"
SMTP -> get_lines(): $data is "250-domain.com says hello250-ENHANCEDSTATUSCODES"
SMTP -> get_lines(): $str is "250-PIPELINING"
SMTP -> get_lines(): $data is "250-domain.com says hello250-ENHANCEDSTATUSCODES250-PIPELINING"
SMTP -> get_lines(): $str is "250-CHUNKING"
SMTP -> get_lines(): $data is "250-domain.com says hello250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING"
SMTP -> get_lines(): $str is "250-8BITMIME"
SMTP -> get_lines(): $data is "250-domain.com says hello250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250-8BITMIME"
SMTP -> get_lines(): $str is "250-AUTH CRAM-MD5"
SMTP -> get_lines(): $data is "250-domain.com says hello250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250-8BITMIME250-AUTH CRAM-MD5"
SMTP -> get_lines(): $str is "250-AUTH=CRAM-MD5"
SMTP -> get_lines(): $data is "250-domain.com says hello250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250-8BITMIME250-AUTH CRAM-MD5250-AUTH=CRAM-MD5"
SMTP -> get_lines(): $str is "250-XACK"
SMTP -> get_lines(): $data is "250-domain.com says hello250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250-8BITMIME250-AUTH CRAM-MD5250-AUTH=CRAM-MD5250-XACK"
SMTP -> get_lines(): $str is "250-XMRG"
SMTP -> get_lines(): $data is "250-domain.com says hello250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250-8BITMIME250-AUTH CRAM-MD5250-AUTH=CRAM-MD5250-XACK250-XMRG"
SMTP -> get_lines(): $str is "250-SIZE 0"
SMTP -> get_lines(): $data is "250-domain.com says hello250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250-8BITMIME250-AUTH CRAM-MD5250-AUTH=CRAM-MD5250-XACK250-XMRG250-SIZE 0"
SMTP -> get_lines(): $str is "250-VERP"
SMTP -> get_lines(): $data is "250-domain.com says hello250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250-8BITMIME250-AUTH CRAM-MD5250-AUTH=CRAM-MD5250-XACK250-XMRG250-SIZE 0250-VERP"
SMTP -> get_lines(): $str is "250 DSN"
SERVER -> CLIENT: 250-domain.com says hello250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250-8BITMIME250-AUTH CRAM-MD5250-AUTH=CRAM-MD5250-XACK250-XMRG250-SIZE 0250-VERP250 DSN
CLIENT -> SERVER: AUTH CRAM-MD5
SMTP -> get_lines(): $str is "334 PDg1RTJFQUZEhc2hpb25tc2sucnU+"
SERVER -> CLIENT: 334 PDg1RTJFQUZEhc2hpb25tc2sucnU+
CLIENT -> SERVER: bGlzaWNoa2FAZmFzaGlzay5ydSA0YzE3YWZkN2M1NTdkZWJiYmVlMzU5MmExZTM3OGUzNg==
SMTP -> get_lines(): $str is "535 5.7.8 credentials invalid"
SERVER -> CLIENT: 535 5.7.8 credentials invalid
SMTP ERROR: Username command failed: 535 5.7.8 credentials invalid
CLIENT -> SERVER: QUIT
SMTP -> get_lines(): $str is "221 2.0.0 domain.com says goodbye"
SERVER -> CLIENT: 221 2.0.0 domain.com says goodbye
Connection: closed
When using Microsoft Outlook 2010, there is no problem. When configuring Microsoft Outlook 2010 I also specify port 2527. Letters go, and an unencrypted connection is used.
Perhaps this is the problem. How to decide I do not know.
Please help.
In PMTA I use port 2527. When configuring the delivery server, I also specify port 2527.
When I try to add a delivery server and verify it, I get the following error:
1) If I use the Default system mailer - Swiftmailer
Can not 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 "name@domain.com" using 1 possible autenticators
2) if I use the Default system mailer - Phpmailer
Cannot send the confirmation email using the data you provided.
Here is a transcript of the error message:
SMTP Error: Could not authenticate.
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Connection: opening to domain.com:2527, 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.com ESMTP service ready"
SERVER -> CLIENT: 220 domain.com ESMTP service ready
CLIENT -> SERVER: EHLO sender.sender.com
SMTP -> get_lines(): $str is "250-domain.com says hello"
SMTP -> get_lines(): $data is "250-domain.com says hello"
SMTP -> get_lines(): $str is "250-ENHANCEDSTATUSCODES"
SMTP -> get_lines(): $data is "250-domain.com says hello250-ENHANCEDSTATUSCODES"
SMTP -> get_lines(): $str is "250-PIPELINING"
SMTP -> get_lines(): $data is "250-domain.com says hello250-ENHANCEDSTATUSCODES250-PIPELINING"
SMTP -> get_lines(): $str is "250-CHUNKING"
SMTP -> get_lines(): $data is "250-domain.com says hello250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING"
SMTP -> get_lines(): $str is "250-8BITMIME"
SMTP -> get_lines(): $data is "250-domain.com says hello250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250-8BITMIME"
SMTP -> get_lines(): $str is "250-AUTH CRAM-MD5"
SMTP -> get_lines(): $data is "250-domain.com says hello250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250-8BITMIME250-AUTH CRAM-MD5"
SMTP -> get_lines(): $str is "250-AUTH=CRAM-MD5"
SMTP -> get_lines(): $data is "250-domain.com says hello250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250-8BITMIME250-AUTH CRAM-MD5250-AUTH=CRAM-MD5"
SMTP -> get_lines(): $str is "250-XACK"
SMTP -> get_lines(): $data is "250-domain.com says hello250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250-8BITMIME250-AUTH CRAM-MD5250-AUTH=CRAM-MD5250-XACK"
SMTP -> get_lines(): $str is "250-XMRG"
SMTP -> get_lines(): $data is "250-domain.com says hello250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250-8BITMIME250-AUTH CRAM-MD5250-AUTH=CRAM-MD5250-XACK250-XMRG"
SMTP -> get_lines(): $str is "250-SIZE 0"
SMTP -> get_lines(): $data is "250-domain.com says hello250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250-8BITMIME250-AUTH CRAM-MD5250-AUTH=CRAM-MD5250-XACK250-XMRG250-SIZE 0"
SMTP -> get_lines(): $str is "250-VERP"
SMTP -> get_lines(): $data is "250-domain.com says hello250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250-8BITMIME250-AUTH CRAM-MD5250-AUTH=CRAM-MD5250-XACK250-XMRG250-SIZE 0250-VERP"
SMTP -> get_lines(): $str is "250 DSN"
SERVER -> CLIENT: 250-domain.com says hello250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250-8BITMIME250-AUTH CRAM-MD5250-AUTH=CRAM-MD5250-XACK250-XMRG250-SIZE 0250-VERP250 DSN
CLIENT -> SERVER: AUTH CRAM-MD5
SMTP -> get_lines(): $str is "334 PDg1RTJFQUZEhc2hpb25tc2sucnU+"
SERVER -> CLIENT: 334 PDg1RTJFQUZEhc2hpb25tc2sucnU+
CLIENT -> SERVER: bGlzaWNoa2FAZmFzaGlzay5ydSA0YzE3YWZkN2M1NTdkZWJiYmVlMzU5MmExZTM3OGUzNg==
SMTP -> get_lines(): $str is "535 5.7.8 credentials invalid"
SERVER -> CLIENT: 535 5.7.8 credentials invalid
SMTP ERROR: Username command failed: 535 5.7.8 credentials invalid
CLIENT -> SERVER: QUIT
SMTP -> get_lines(): $str is "221 2.0.0 domain.com says goodbye"
SERVER -> CLIENT: 221 2.0.0 domain.com says goodbye
Connection: closed
When using Microsoft Outlook 2010, there is no problem. When configuring Microsoft Outlook 2010 I also specify port 2527. Letters go, and an unencrypted connection is used.
Perhaps this is the problem. How to decide I do not know.
Please help.