./james-cli.sh -p 9999 -h localhost addaddressmapping postmaster example.com kyle@example.com
Defining aliases on James
TweetPosted on Friday Feb 06, 2015 at 02:47PM in Technology
I’m using James3 in SVN trunk revision number 1657019
.
Adding a user to recipient rewrite table
This forwards a address postmaster@example.com
to kyle@example.com
:
Defining postmaster address
James replaces a particular address postmaster
by PostmasterAlias
according to XML definition on some environment, so we need to set correct email address to it. in $JAMES_HOME/mailetcontainer.xml
as follows:
<mailetcontainer enableJmx="true"> <!-- MailAddress used for PostMaster --> <context> <postmaster>kyle@example.com</postmaster> </context> ...
Tags: james