6.0.0-beta1
9/24/25

[#2287] Reminder.php does not support smtpauth!
Summary Reminder.php does not support smtpauth!
Queue Kronolith
Queue Version 2.0.3
Type Bug
State Not A Bug
Priority 2. Medium
Owners
Requester mikael.brostrom (at) m-sys (dot) se
Created 07/18/2005 (7373 days ago)
Due
Updated 02/23/2008 (6423 days ago)
Assigned
Resolved 07/18/2005 (7373 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
02/23/2008 12:38:22 AM martin (at) waschbuesch (dot) de Comment #4 Reply to this comment
I need to use SMTP auth so that users' mails get delivered with proper 
headers (domainkeys for instance), but that means that I cannot have 
reminders enabled.

Is there a way to have both? E.g. make the reminder script use /bin/sendmail?



Thanks,



Martin
07/18/2005 03:42:09 PM mikael (dot) brostrom (at) m-sys (dot) se Comment #3 Reply to this comment
Hi, i tried that one

The problem is that, then horde is using it all the time for all users 
and i'm not able to track my users by account in the header that my 
smtpd creates anymore.



So a s separate account for the reminder / calendar setup will do the trick.?



Glad for a reply.
Just set the necessary credentials in Horde's Mailer configuration section.
07/18/2005 03:15:12 PM Chuck Hagenbuch Comment #2
State ⇒ Not A Bug
Reply to this comment
Just set the necessary credentials in Horde's Mailer configuration section.
07/18/2005 09:50:04 AM mikael (dot) brostrom (at) m-sys (dot) se Comment #1
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Reminder.php does not support smtpauth!
Queue ⇒ Kronolith
Reply to this comment
Found some problems with the reminder function.





at line 185 in kronolith/lib/Scheduler/kronolith.php:

         $mail_driver = $conf['mailer']['type'];

         $mail_params = $conf['mailer']['params'];

         if ($mail_driver == 'smtp' && $mail_params['auth'] &&

             empty($mail_params['username'])) {

             $mail_params['username'] = Auth::getAuth();

             $mail_params['password'] = Auth::getCredential('password');

         }



When you are running scripts/reminder.php (from commandline) it does 
not get a user/pass.

I tried to hardcode $mail_params['username'] = "testuser";

and the same with password.



When i then sniff the smtp "chat" it does not send any user/pass at all.



A config option under the "Reminder Settings" at setup should be nice? 
where you can chose a user/pass that are used by kronolith.







Need anything? contact me.



Mikael

Saved Queries