Skip to content

petrkle/postfix-mailgroups-expand

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

NAME

Postfix::Mailgroups::Expand - Expand postfix mailgroups.

VERSION

version 1.160350

SYNOPSIS

    use Postfix::Mailgroups::Expand;
    
    my $groups = new Postfix::Mailgroups::Expand('groups'=>'/etc/postfix/virtual.groups','aliases'=>'/etc/postfix/aliases');

    $groups->write2dir('dirname');

METHODS

my $groups = new Postfix::Mailgroups::Expand('groups'=>'/etc/postfix/virtual.groups','aliases'=>'/etc/postfix/aliases');

Create new object instance.

$groups->write2dir($outdir);

Write expanded groups to $outdir.

$groups->_get_virtual_alias_maps($alias_file);

Return virtual aliases maps.

$groups->_get_alias_maps($alias_file);

Return aliases maps.

$groups->_get_addresses($filename);

Read addresses from file.

SEE ALSO

https://metacpan.org/module/Mail::ExpandAliases

AUTHOR

Petr Kletecka <pek@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by Petr Kletecka.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.