App::Milter::Limit::Util - utility functions for App::Milter::Limit
version 0.51
This module provides utility functions for App::Milter::Limit.
This daemonizes the program. When you call this, the program will fork(), detach from the controlling TTY, close STDIN, STDOUT, and STDERR, and change to the root directory.
return the UID for the given $username
$username
return the GID for the given $groupname
$groupname
create the given directory path if necessary, creating intermediate directories as necessary. The final directory will be chown()'ed as the user/group from the config file.
chown()
Michael Schout <mschout@cpan.org>
This software is copyright (c) 2010 by Michael Schout.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
You can contribute or fork this project via github:
http://github.com/mschout/milter-limit
git clone git://github.com/mschout/milter-limit.git
Please report any bugs or feature requests to bug-app-milter-limit@rt.cpan.org or through the web interface at: http://rt.cpan.org/Public/Dist/Display.html?Name=App-Milter-Limit
To install App::Milter::Limit, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Milter::Limit
CPAN shell
perl -MCPAN -e shell install App::Milter::Limit
For more information on module installation, please visit the detailed CPAN module installation guide.