6.0.0-alpha12
6/7/25

[#1789] mail-filter.php access rights
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

History
04/25/2005 02:46:01 AM Chuck Hagenbuch Comment #2
State ⇒ Rejected
Reply to this comment
I don't like the idea of sending username/password pairs around over email.
04/14/2005 08:32:38 AM a (dot) bruinsma (at) tools4ever (dot) com Comment #1
State ⇒ New
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ mail-filter.php access rights
Queue ⇒ Whups
New Attachment: mail-filter.php.patch Download
Reply to this comment
Hello,



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 not 
stored in a string, but in a file. Because big mails will else fill, 
due to the memory_limit in php.



(Patch is against head)

Saved Queries