CfgAliases -- a tool to help change you email /etc/aliases settings
This is a tool to help modify and keep your /etc/aliases file up to date.
The parameters are a broken down into three categories:
--user, --group
--user
--group
--add, --delete, --fetch, --join, --remove, --rename, --set
--add
--delete
--fetch
--join
--remove
--rename
--set
--user=
This specifies the user name.
--group=
This specifies the group name
The following specify how to change various entries. Typically they can not be intermixed on the same command line. (Exceptions are noted.)
--add=
This will add the ADDRESS (user, group, etc.) to a mail group. The group must be specified with the --group option above.
--delete=
This will remove the mail alias(es) specified by NAME. It will also remove from any mail alias(es) (or groups) any member(s) that matches NAME. NAME may be a regular expression. (Can be used with --remove and --rename).
--fetch=
This will retrieve the list of recipients in the mail group NAME. If NAME is a regular expression, information will retrieved for every group that matches the pattern.
--join=
The current or effective user will be added to a mail group(s). If no groups are specified with this option, it must be specified using the --group option above. Multiple --joins may be used on a command line.
--remove=
Like delete above, this will remove the mail group(s) specified by NAME. NAME may be a regular expression. (Can be used with --delete and --rename)
delete
This will change all of the occurrences or references that match NAME-OLD to the newer form of NAME-NEW. This may be a group name, and / or members of a group. This may be a regular expression, similar to;
s/NAME-OLD/NAME-NEW/
This will create a mail group called NAME with a set of specified members MEMBERS. (Can be used with --delete and --remove).
/etc/aliases
CfgTie::CfgArgs for more information on the standard parameters aliases(5) sendmail(8)
Randall Maas (randym@acm.org)
To install Secure::File, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Secure::File
CPAN shell
perl -MCPAN -e shell install Secure::File
For more information on module installation, please visit the detailed CPAN module installation guide.