From ecfabd2dad9067564ca47916f9d015b0b33f30fe Mon Sep 17 00:00:00 2001 From: jkaberg Date: Tue, 12 Aug 2014 00:32:16 +0200 Subject: [PATCH] use smtp for z-push --- conf/zpush/backend_imap.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/zpush/backend_imap.php b/conf/zpush/backend_imap.php index 3d5743b6..66dee2b7 100644 --- a/conf/zpush/backend_imap.php +++ b/conf/zpush/backend_imap.php @@ -112,7 +112,7 @@ define('IMAP_EXCLUDED_FOLDERS', ''); // mail => mail() php function // sendmail => sendmail executable // smtp => direct connection against SMTP -define('IMAP_SMTP_METHOD', 'mail'); +define('IMAP_SMTP_METHOD', 'smtp'); global $imap_smtp_params; // SMTP Parameters @@ -135,7 +135,7 @@ $imap_smtp_params = array(); //$imap_smtp_params = array('host' => 'localhost', 'port' => 25, 'auth' => false); // If you want to use SSL with port 25 or port 465 you must preppend "ssl://" before the hostname or IP of your SMTP server // IMPORTANT: To use SSL you must use PHP 5.1 or later, install openssl libs and use ssl:// within the host variable -//$imap_smtp_params = array('host' => 'ssl://localhost', 'port' => 465, 'auth' => true, 'username' => 'imap_username', 'password' => 'imap_password'); +$imap_smtp_params = array('host' => 'ssl://localhost', 'port' => 587, 'auth' => true, 'username' => 'imap_username', 'password' => 'imap_password'); // If you are using IMAP_SMTP_METHOD = mail or sendmail and your sent messages are not correctly displayed you can change this to "\n".