6.0.0-beta13
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
4/11/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#12448] IMP using horde credentials when not desired
*
Your Email Address
*
Spam protection
Enter the letters below:
__..___._.. ,. . (__ [__ | \./ \ / .__)| _|_ | \/
Comment
> My horde/config/conf.php: > > $conf['mailer']['params']['host'] = 'smtp.gmail.com'; > $conf['mailer']['params']['port'] = 587; > $conf['mailer']['params']['auth'] = true; > $conf['mailer']['params']['username'] = 'mailer@tesdomain.com.br'; > $conf['mailer']['params']['password'] = 'gmail-dummy-password'; > $conf['mailer']['type'] = 'smtp'; > > But IMP seems to be ignoring the above settings and is using horde > credentials anyway to send the message. > > > Jul 5 22:49:47 mserver HORDE: [imp] Failed to set sender: > xxxxxx@xxxxxx.xxx.xx [SMTP: Invalid response code received from > server (code: 530, response: 5.5.1 Authentication Required. Learn > more at#0125.5.1 > http://support.google.com/mail/bin/answer.py?answer=14257 > h26sm17104593yhb.21 - gsmtp)] [pid 6800 on line 1068 of > "/var/www/horde/imp/lib/Compose.php"] > > > I've added Horde::debug($this->_params) at line 147 of > /usr/share/php/Horde/Mail/Transport/Smtp.php > > > When I click the *New Message* button I get this, which seems just fine: > > > 2013-07-05T22:48:00-03:00 DEBUG: Variable information: > array(10) { > ["auth"]=> > bool(true) > ["debug"]=> > bool(false) > ["host"]=> > string(14) "smtp.gmail.com" > ["localhost"]=> > string(9) "localhost" > ["password"]=> > string(17) "gmail-dummy-password" <-- Ok! > ["persist"]=> > bool(false) > ["pipelining"]=> > bool(false) > ["port"]=> > int(587) > ["timeout"]=> > NULL > ["username"]=> > string(22) "mailer@tesdomain.com.br" <-- Ok! > } > > Backtrace: > 1. IMP_Dynamic_Base->__construct() /var/www/horde/imp/dynamic.php:31 > 2. IMP_Dynamic_Compose->_init() /var/www/horde/imp/lib/Dynamic/Base.php:90 > 3. Horde_Notification_Handler->notify() > /var/www/horde/imp/lib/Dynamic/Compose.php:260 > 4. Horde_Notification_Handler_Decorator_Alarm->notify() > /usr/share/php/Horde/Notification/Handler.php:317 > 5. Horde_Core_Factory_Alarm->create() > /usr/share/php/Horde/Notification/Handler/Decorator/Alarm.php:61 > 6. Horde_Injector->getInstance() > /usr/share/php/Horde/Core/Factory/Alarm.php:93 > 7. Horde_Injector->createInstance() /usr/share/php/Horde/Injector.php:247 > 8. Horde_Injector_Binder_Factory->create() > /usr/share/php/Horde/Injector.php:213 > 9. Horde_Core_Factory_MailBase->create() > /usr/share/php/Horde/Injector/Binder/Factory.php:111 > 10. Horde_Core_Factory_Mail->create() > /usr/share/php/Horde/Core/Factory/MailBase.php:37 > 11. Horde_Mail_Transport_Smtp->__construct() > /usr/share/php/Horde/Core/Factory/Mail.php:55 > 12. Horde::debug() /usr/share/php/Horde/Mail/Transport/Smtp.php:147 > > > > But when I click the *Send* button on the compose window I get > differente credentials. IMP pulls the credentials used to login to > horde, and not the ones defined in $conf['mailer']['params'] array: > > > > 2013-07-06T01:49:44+00:00 DEBUG: Variable information: > array(10) { > ["auth"]=> > bool(true) > ["debug"]=> > bool(false) > ["host"]=> > string(14) "smtp.gmail.com" > ["localhost"]=> > string(9) "localhost" > ["password"]=> > string(6) "horde-dummy-password" <-- Not Ok! > ["persist"]=> > bool(false) > ["pipelining"]=> > bool(false) > ["port"]=> > int(587) > ["timeout"]=> > NULL > ["username"]=> > string(4) "horde-dummy-username" <-- Not Ok! > } > > Backtrace: > 1. Horde_Core_Ajax_Application->doAction() > /var/www/horde/services/ajax.php:58 > 2. call_user_func() /usr/share/php/Horde/Core/Ajax/Application.php:162 > 3. IMP_Ajax_Application_Handler_Common->sendMessage() > 4. IMP_Compose->buildAndSendMessage() > /var/www/horde/imp/lib/Ajax/Application/Handler/Common.php:528 > 5. IMP_Compose->sendMessage() /var/www/horde/imp/lib/Compose.php:842 > 6. Horde_Injector->getInstance() /var/www/horde/imp/lib/Compose.php:1066 > 7. Horde_Injector->createInstance() /usr/share/php/Horde/Injector.php:247 > 8. Horde_Injector_Binder_Factory->create() > /usr/share/php/Horde/Injector.php:213 > 9. IMP_Factory_Mail->create() > /usr/share/php/Horde/Injector/Binder/Factory.php:111 > 10. Horde_Core_Factory_Mail->create() > /var/www/horde/imp/lib/Factory/Mail.php:64 > 11. Horde_Mail_Transport_Smtp->__construct() > /usr/share/php/Horde/Core/Factory/Mail.php:55 > 12. Horde::debug() /usr/share/php/Horde/Mail/Transport/Smtp.php:147 > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers