Summary | mail-filter.php access rights |
Queue | Whups |
Type | Enhancement |
State | Rejected |
Priority | 1. Low |
Owners | |
Requester | a.bruinsma (at) tools4ever (dot) com |
Created | 04/14/2005 (7359 days ago) |
Due | |
Updated | 04/25/2005 (7348 days ago) |
Assigned | |
Resolved | 04/25/2005 (7348 days ago) |
Milestone | |
Patch | No |
State ⇒ Rejected
State ⇒ New
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ mail-filter.php access rights
Queue ⇒ Whups
New Attachment: mail-filter.php.patch
I was again looking to the Whups e-mail stuff and now I now why I
changed Driver/sql.php (it was an stupid change, sorry for that).
Anyway, the mail-filter.php doesn't authenticat to horde. Because
guest users in our whups envirnment have no rights on tickets, only to
create them, I could create a ticket, but in the mail script it first
creates and do some other stuff with the ticket. Well there is where
it goes wrong. Because the mail-filter.php authenticates as guest.
So I think it should be nice to add an option to provide a username
and password. Also the reading (as some other people also have
mentioned) of the standard in is not very reliable. It does not work
on my linux system. I think this should be changed too.
This patch does both things. It authenticates with the given user and
it uses $stdp = fopen("php://stdin", "r");
Owh it also uses the patch in
ticket 280. Because the mail is notstored in a string, but in a file. Because big mails will else fill,
due to the memory_limit in php.
(Patch is against head)