Warning: TLS library problem


I have a problem when using phplist, no problem it works perfectly but when I try to send an email I always have the same error

Jan 26 00:29:11 badblock postfix / smtpd [29481]: connect from 01-mail.badblock-network.fr []
Jan 26 00:29:11 badblock postfix / smtpd [29481]: SSL_accept error from 01-mail.badblock-network.fr []: 0
TLS library problem: error: 14094418: SSL routines: ssl3_read_bytes: tlsv1 alert unknown ca: s3_pkt.c: 1487: SSL alert number 48:
Jan 26 00:29:11 badblock postfix / smtpd [29481]: lost connection after STARTTLS from 01-mail.badblock-network.fr []
Jan 26 00:29:11 badblock postfix / smtpd [29481]: disconnect from 01-mail.badblock-network.fr []

Yet all my services are functional in TLS / SSL / STARTLS.

Here is my configuration file



* ==============================================================================================================
* The minimum requirements to get phpList working are in this file.
* If you are interested in tweaking more options, check out the config_extended.php file
* or visit http://resources.phplist.com/system/config
* ** NOTE: To use options from config_extended.php, you need to copy them to this file **


# what is your Mysql database server hostname
$database_host = '01-fo.badblock-network.fr';

# what is the name of the database we are using
$database_name = 'nw';

# what user has access to this database
$database_user = 'nw';

# and what is the password to login to control the database
$database_password = '***********';

# if you have an SMTP server, set it here. Otherwise it will use the normal php mail() function
## if your SMTP server is called "smtp.mydomain.com" you enter this below like this:
##     define("PHPMAILERHOST",'smtp.mydomain.com');

define('PHPMAILERHOST', '01-mail.badblock-network.fr');

# if TEST is set to 1 (not 0) it will not actually send ANY messages, but display what it would have sent
# this is here, to make sure you edited the config file and mails are not sent "accidentally"
# on unmanaged systems

define('TEST', 0);

$default_system_language = "fr";


* Settings for handling bounces
* This section is OPTIONAL, and not necessary to send out mailings, but it is highly recommended to correctly
* set up bounce processing. Without processing of bounces your system will end up sending large amounts of
* unnecessary messages, which overloads your own server, the receiving servers and internet traffic as a whole


# Message envelope.
# This is the address that most bounces will be delivered to
# Your should make this an address that no PERSON reads
# but a mailbox that phpList can empty every so often, to process the bounces

# $message_envelope = 'newsletter@badblock.fr';

# Handling bounces. Check README.bounces for more info
# This can be 'pop' or 'mbox'
$bounce_protocol = 'pop';

# set this to 0, if you set up a cron to download bounces regularly by using the
# commandline option. If this is 0, users cannot run the page from the web
# frontend. Read README.commandline to find out how to set it up on the
# commandline

# when the protocol is pop, specify these three
$bounce_mailbox_host = '01-mail.badblock-network.fr';
$bounce_mailbox_user = 'newsletter@badblock.fr';
$bounce_mailbox_password = '*********';

# the "port" is the remote port of the connection to retrieve the emails
# the default should be fine but if it doesn't work, you can try the second
# one. To do that, add a # before the first line and take off the one before the
# second line
#$bounce_mailbox_port = '110/pop3/notls';
$bounce_mailbox_port = "143/novalidate-cert/notls";

# it's getting more common to have secure connections, in which case you probably want to use
#$bounce_mailbox_port = "995/pop3/ssl/novalidate-cert";

# when the protocol is mbox specify this one
# it needs to be a local file in mbox format, accessible to your webserver user
$bounce_mailbox = '/var/mail/listbounces';

# set this to 0 if you want to keep your messages in the mailbox. this is potentially
# a problem, because bounces will be counted multiple times, so only do this if you are
# testing things.
$bounce_mailbox_purge = 1;

# set this to 0 if you want to keep unprocessed messages in the mailbox. Unprocessed
# messages are messages that could not be matched with a user in the system
# messages are still downloaded into phpList, so it is safe to delete them from
# the mailbox and view them in phpList
$bounce_mailbox_purge_unprocessed = 1;

# how many bounces in a row need to have occurred for a user to be marked unconfirmed
$bounce_unsubscribe_threshold = 5;

# choose the encryption method for password
# check the extended config for more info
# in most cases, it is fine to leave this as it is
define('ENCRYPTION_ALGO', 'sha256');

Thank you

Hi… i’ve the same problem now… with phpmail email goes well… Have you solved?

Have you guys remembered to add the smtp settings to your config/config.php file?

in @mmaniaque 's example, this is missing, also any SSL/TLS settings

# if you want to use smtp authentication when sending the email uncomment the following
# two lines and set the username and password to be the correct ones
#$phpmailer_smtpuser = 'smtpuser';
#$phpmailer_smtppassword = 'smtppassword';

# to use SSL/TLS when sending set this value
# it can either be "ssl" or "tls", nothing else
# define("PHPMAILER_SECURE",'ssl');

## you can set this to send out via a different SMTP port
# define('PHPMAILERPORT',25);