The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Mail::Decency::ContentFilter::Core::User

DESCRIPTION

Extensions for modules requiring a user (eg command line tools ..)

CLASS ATTRIBUTES

cmd_user : Str

Command for tretreiving a user for the command line variable "%user%"

default_user : Str

User which will be used if none could be determined (if not set, the via "to" provided recipient will be used)

METHODS

pre_init

Add check params: cmd, check, train and untrain to list of check params

get_user

Determines the user for the command line script .. eg "dspam --user %user%"

get_user_by_cmd

Using the cmd_user command to determine any user/home

AUTHOR

Ulrich Kautz <uk@fortrabbit.de>

COPYRIGHT

Copyright (c) 2010 the "AUTHOR" as listed above

LICENCSE

This library is free software and may be distributed under the same terms as perl itself.