Attached is a git patch for your consideration that adds aliases support for
local addresses. Snippets from the docs are shown below. Let me know if there
is anything you would like to see added or changed.
Cheers,
Scott
--aliases=[file]
Replace local recipients with addresses in the aliases
file. See the aliases command below.
aliases [file]
Replace local recipients with addresses in the aliases file.
The aliases file is a plain text file containing mappings
between a local address and a list of domain addresses. A local
address is defined as one without an '@' character and a domain
address is one with an '@' character. The mappings are of the
form:
local: someone@...270..., person@...271...
Multiple domain addresses are separated with commas. Comments
start with '#' and continue to the end of the line.
The local address 'default' has special significance and is
matched if the local address is not found in the aliases file.
If no 'default' alias is found, then the local address is left
as is.
Aliases file
# Example aliases file
# Send root to Joe and Jane
root: joe_smith@...270..., jane_chang@...270...
# Send cron to Mark
cron: mark_jones@...270...
# Send everything else to admin
default: admin@...271...
Attachment:
0001-Added-aliases-support.patch
Description: Binary data