Introduction
The simple program written in Perl is designed to handle and manage virtual domains and related email addresses. It helps to add, delete or modify recipient email addresses of virtual domains (Cfr. https://www.debian-administration.org/articles/140 for details).
Installation
- Install the program addvmail into your PATH
- Install or create a symlink for the program delvmail
- Make sure to make the program executable, chmod +x addvmail
- Copy (and edit) the default configuration file vmailfwd.conf to /etc/default/vmailfwd - this is not mandatory.
Examples
Note: Virtual domain files must exists (in this version)!
$> addvmail [email protected] [email protected]
Adding recipient john to /etc/exim4/virtual/example.org, forwarded to a gmail account.
$> addvmail -f [email protected] jdoe
Replace (above) recipient john to drop mail into local mailbox of jdoe
$> addvmail -x [email protected]
Create an entry of example.net to drop mail (as :blackhole:)
$> delvmail [email protected]
Suppress (delete) recipient info from example.org
$> addvmail -r [email protected] She no longer lives here.
Create an entry of example.net to bounce/reject mail for sharon with a specific text "She no longer lives here."
Todo
- Add perldoc
- Add command options for all configuration parameters
- ...
Done
- Add support to create virtual domain file