[Tickets #2983] NEW: Possibility to add current username to external spam-reporting-program

bugs@bugs.horde.org bugs at bugs.horde.org
Wed Nov 16 06:32:35 PST 2005


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

Ticket URL: http://bugs.horde.org/ticket/?id=2983
-----------------------------------------------------------------------
 Ticket             | 2983
 Created By         | christian.lang at deutschhof.net
 Summary            | Possibility to add current username to external spam-reporting-program
 Queue              | IMP
 Version            | 4.0.4
 State              | New
 Priority           | 2. Medium
 Type               | Enhancement
 Owners             | 
-----------------------------------------------------------------------


christian.lang at deutschhof.net (2005-11-16 06:32) wrote:

I would appreciate an option to transmit the username of the currently
logged-on user to an external spam-reporting-program (e. g. sa-learn).

There should be an variable (e. g. %user) which can be used to specify the
current username.

e. g. for the user "current_user"

    $conf['spam']['program'] = '/usr/bin/sa-learn --spam -h %user';

should be substituted with

    $conf['spam']['program'] = '/usr/bin/sa-learn --spam -h current_user';

This variable could also be used by other configuration-options.




More information about the bugs mailing list