From b09cbb0ca44bdb5eb393de0c9416e258487cabf9 Mon Sep 17 00:00:00 2001 From: Bernard `Guyzmo` Pratz Date: Fri, 8 Jan 2016 16:43:09 +0000 Subject: [PATCH] Fixing issue making it impossible to send mail from Z-Push * added IMAP_SMTP_METHOD to z_push/backend_imap * reverting that line accidentally deleted in commit 5055ef * cf pull request GH-580 that commit is part of Signed-off-by: Bernard `Guyzmo` Pratz --- conf/zpush/backend_imap.php | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/zpush/backend_imap.php b/conf/zpush/backend_imap.php index a3238fc0..3f69f53e 100644 --- a/conf/zpush/backend_imap.php +++ b/conf/zpush/backend_imap.php @@ -41,6 +41,7 @@ define('IMAP_FROM_LDAP_QUERY', '(mail=#username@#domain)'); define('IMAP_FROM_LDAP_FIELDS', serialize(array('givenname', 'sn', 'mail'))); define('IMAP_FROM_LDAP_FROM', '#givenname #sn <#mail>'); +define('IMAP_SMTP_METHOD', 'sendmail'); global $imap_smtp_params; $imap_smtp_params = array('host' => 'ssl://localhost', 'port' => 587, 'auth' => true, 'username' => 'imap_username', 'password' => 'imap_password');