[Tickets #1789] NEW: mail-filter.php access rights

bugs at bugs.horde.org bugs at bugs.horde.org
Thu Apr 14 01:32:39 PDT 2005


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=1789
-----------------------------------------------------------------------
 Ticket             | 1789
 Created By         | a.bruinsma at tools4ever.com
 Summary            | mail-filter.php access rights
 Queue              | Whups
 State              | New
 Priority           | 1. Low
 Type               | Enhancement
 Owners             | 
+New Attachment     | mail-filter.php.patch
-----------------------------------------------------------------------


a.bruinsma at tools4ever.com (2005-04-14 01:32) wrote:

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)




More information about the bugs mailing list