NAME

App::Milter::Limit::Util - utility functions for App::Milter::Limit

VERSION

version 0.53

DESCRIPTION

This module provides utility functions for App::Milter::Limit.

FUNCTIONS

daemonize

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.

get_uid ($username)

return the UID for the given $username

get_gid ($groupname)

return the GID for the given $groupname

make_path ($path)

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.

SOURCE

The development version is on github at https://github.com/mschout/milter-limit and may be cloned from git://github.com/mschout/milter-limit.git

BUGS

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

AUTHOR

Michael Schout <mschout@cpan.org>

COPYRIGHT AND LICENSE

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.