Apache James/AddUser
James はメールサーバですから、利用するためにはユーザを追加する必要があります。ここでは James の Administration Tool を使用してユーザを追加する方法、及びその他のコマンドについて説明をします。
Administration Tool は James の管理を行うツールです。このツールは telnet を通して利用します。 Administration Tool にはポート 4555 で接続します。
id とパスワードを要求されます。初期状態では root/root です。
ユーザを追加するには adduser コマンドを使用します。 adduser コマンドは、第 1 引き数に id 、第 2 引き数にパスワードを取ります。
正常に追加されたかどうか、いつも使用しているメーラでアクセスして確認するといいです。
作業が完了したら、 quit コマンドで Administration Tool から切断します。
help コマンドでコマンドの一覧と簡単な説明を参照することができます。
接続
Administration Tool は James の管理を行うツールです。このツールは telnet を通して利用します。 Administration Tool にはポート 4555 で接続します。
telnet localhost 4555
id とパスワードを要求されます。初期状態では root/root です。
JAMES Remote Administration Tool 2.2.0 Please enter your login and password Login id: root Password: root Welcome root. HELP for a list of commands
ユーザを追加
ユーザを追加するには adduser コマンドを使用します。 adduser コマンドは、第 1 引き数に id 、第 2 引き数にパスワードを取ります。
adduser uguu uguu0123456789 User uguu added
正常に追加されたかどうか、いつも使用しているメーラでアクセスして確認するといいです。
切断
作業が完了したら、 quit コマンドで Administration Tool から切断します。
その他のコマンド
help コマンドでコマンドの一覧と簡単な説明を参照することができます。
help Currently implemented commands: help display this help listusers display existing accounts countusers display the number of existing accounts adduser [username] [password] add a new user verify [username] verify if specified user exist deluser [username] delete existing user setpassword [username] [password] sets a user's password setalias [user] [alias] locally forwards all email for 'user' to 'alias' showalias [username] shows a user's current email alias unsetalias [user] unsets an alias for 'user' setforwarding [username] [emailaddress] forwards a user's email to another email address showforwarding [username] shows a user's current email forwarding unsetforwarding [username] removes a forward user [repositoryname] change to another user repository shutdown kills the current JVM (convenient when James is run as a daemon) quit close connection
2005年11月17日(木) 19:28:52 Modified by uguuxp