Citeren Michael M Slusarz <slus...@horde.org>:
Quoting Jan Schneider <j...@horde.org>:Zitat von Arjen de Korte <arjen+ho...@de-korte.org>:Citeren Jan Schneider <j...@horde.org>:Zitat von Arjen de Korte <arjen+ho...@de-korte.org>:I'm currently trying out the latest PEAR beta packages. I can't get the SASL authentication to work. Previously, I've used the configuration in the Mailer tab from the Horde configuration, with the $conf[mailer][params][username] and $conf[mailer][params][password] fields empty. With the -stable versions so far, this has always resulted in Horde using the login credentials (which is what I want, since I use the same credentials for IMAP and SMTP). This no longer works. Both the username and password presented to the SMTP server are now empty. If I hardcode these in the Mailer tab to an existing username:password combination, it works, but this will only work as long as I have one user (myself) on the testing system, since the SMTP server also checks if the logged-in user is allowed to use the sender address. Is this still under development (and should I just be a little more patient) or am I missing something in the configuration?Sounds like a bug.I'm not sure. When I enter the same information from the Mailer tab in 'imp/config/backends.local.php', it works as before. Could it be this is the future method of configuration of the SASL authentication and that the Mailer tab will be deprecated soon?No, the global mailer configuration is still required for applications other than IMP. And authentication with the current user's credentials will always be supported.FWIW, I require authentication to my SMTP server and it works fine for me configured in Horde's config.
If I enter the login credentials in the Horde config Mailer tab, it indeed works. But not if I leave the $conf[mailer][params][username] and $conf[mailer][params][password] fields empty (as stated above).
I addedHorde::debug('auth: [' . $this->_params['auth'] . '] user: [' . $this->_params['username'] . '] pass: [' . $this->_params['password'] . ']');
just before the line 268 in /usr/share/php5/PEAR/Horde/Mail/Transport/Smtp.php$res = $this->_smtp->auth($this->_params['username'], $this->_params['password'], $method);
which indicates that 'username' and 'password' are empty (which is consistent with what the debug log on the SMTP server says). Note that I'm not running the latest packages from Git here, only the latest -beta versions as of this writing.
-- This message was sent from a mailinglist subscription address. For off-list replies, you must remove the address extension.
pgpTSS6lGJ1o4.pgp
Description: PGP digitale ondertekening
-- imp mailing list Frequently Asked Questions: http://wiki.horde.org/FAQ To unsubscribe, mail: imp-unsubscr...@lists.horde.org