Debian 8.7.1 - Postfix cerificate error

Help with issues regarding installation of Debian

Debian 8.7.1 - Postfix cerificate error

Postby garfield » 2017-04-10 10:33

I've installed a Debian 8.7.1 and want to send mails using a relayhost and phpmailer. With Debian 6 it was no issue but now, with Debian 8 and PHP version 5.6.29 I get next error on the relayserver:

/var/log/maillog
2017 Apr 10 13:00:34 <relayserver> sendmail[4346]: STARTTLS=server, error: accept failed=0, SSL_error=1, errno=0, retry=-1
2017 Apr 10 13:00:34 <relayserver> sendmail[4346]: STARTTLS=server: 4346:error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca:s3_pkt.c:1053:SSL alert number 48
2017 Apr 10 13:00:34 <relayserver> sendmail[4346]: v3AB0Ylc004346: [<serverip>] did not issue MAIL/EXPN/VRFY/ETRN during connection to TLSMTA


PHPMailer on de Debian 8.7.1-server
[Mon Apr 10 13:00:34.537306 2017] [:error] [pid 862] [client <myip>:52187] PHP Fatal error: Uncaught exception 'phpmailerException' with message 'SMTP connect() failed.' in /var/www/html/test_mail/class.phpmailer.php:1465\nStack trace:\n#0 /var/www/html/test_mail/class.phpmailer.php(1301): PHPMailer->smtpSend('Date: Mon, 10 A...', 'Test\\n')\n#1 /var/www/html/test_mail/class.phpmailer.php(1181): PHPMailer->postSend()\n#2 /var/www/html/test_mail/mail.php(21): PHPMailer->send()\n#3 /var/www/html/test_mail/index.php(9): mail_test('<mydest>@...', '<myto>', '<myfrom>....', '<myname>', 'Test 2017-04-10', 'Test')\n#4 {main}\n thrown in /var/www/html/test_mail/class.phpmailer.php on line 1465


I tried making my own self-signed certificate but it does not work. I tried this tutorial:
https://www.linode.com/docs/security/ssl/create-a-self-signed-certificate-on-debian-and-ubuntu

What am I doing wrong and how can I fix it?
garfield
 
Posts: 12
Joined: 2013-03-15 21:29

Re: Debian 8.7.1 - Postfix cerificate error

Postby bigrigdriver » 2017-04-13 02:13

Registered GNU/Linux user #170078

Go as google before you ask on these boards.

It it isn't broken, Tweak It !!!
bigrigdriver
 
Posts: 108
Joined: 2014-09-01 17:04
Location: East Central Illinois, USA


Return to Installation

Who is online

Users browsing this forum: No registered users and 11 guests

fashionable