Hi I have configured ISP config. If i will send mails from roundcude webmail, mails are going successfully. but i want to use as SMTPD server via easy WP SMTPD. i am getting error in wp-panel when i send test email. Following error occurred when attempting to send test email: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting Below are the mail error logs Apr 15 12:52:03 username postfix/smtps/smtpd[17043]: warning: cannot load 1024-bit DH parameters from file /etc/ssl/private/dhparams.pem: No such file or directory -- using compiled-in defaults Apr 15 12:52:03 username postfix/smtps/smtpd[17043]: connect from username.co.uk[Server_IP] Apr 15 12:52:03 username postfix/smtps/smtpd[17043]: SSL_accept error from username.co.uk[Server_IP]: -1 Apr 15 12:52:03 username postfix/smtps/smtpd[17043]: warning: TLS library problem: error:14094418:SSL routines:ssl3_read_bytes:tlsv1 alert unknown ca:../ssl/record/rec_layer_s3.c:1407:SSL alert number 48: Apr 15 12:52:03 username postfix/smtps/smtpd[17043]: lost connection after CONNECT from username.co.uk[Server_IP] Apr 15 12:52:03 username postfix/smtps/smtpd[17043]: disconnect from username.co.uk[Server_IP] commands=0/0 please help
Is the wp site on the same server? in this case, try to switch od ssl/tls for the smtp connection in wordpress as it should not be required to encrypt the transfer.
yes @till it's on same server if i turn off ssl-tls i got this CLIENT -> SERVER: EHLO username.co.uk SMTP Error: Could not authenticate.CLIENT -> SERVER: QUIT SMTP Error: Could not authenticate. if i send email via telnet it's working successfully Apr 15 14:00:39 Server_IP postfix/smtpd[25002]: connect from unknown[185.234.217.187] Apr 15 14:00:40 Server_IP postfix/smtpd[25002]: lost connection after AUTH from unknown[185.234.217.187] Apr 15 14:00:40 Server_IP postfix/smtpd[25002]: disconnect from unknown[185.234.217.187] ehlo=1 auth=0/1 commands=1/2 Apr 15 14:00:41 Server_IP postfix/smtpd[25002]: connect from Server_IP.co.uk[Server_IP] Apr 15 14:00:41 Server_IP postfix/smtpd[25002]: disconnect from Server_IP.co.uk[Server_IP] ehlo=1 quit=1 commands=2
Did you let it connect to 'localhost' or to the external hostname? Connects on localhost do not require authentication. Nonetheless. auth should work of course, use the complete email address as smtp username.