Author: norman
Date: Thu Jan 7 21:39:49 2010
New Revision: 897022
URL: http://svn.apache.org/viewvc?rev=897022&view=rev
Log:
first version of working mpt plugin included
Added:
james/server/trunk/spring-deployment/src/mpt/
james/server/trunk/spring-deployment/src/mpt/adduser.mpt
james/server/trunk/spring-deployment/src/mpt/imap.mpt
james/server/trunk/spring-deployment/src/mpt/nntp.mpt
james/server/trunk/spring-deployment/src/mpt/pop3.mpt
james/server/trunk/spring-deployment/src/mpt/smtp.mpt
Added: james/server/trunk/spring-deployment/src/mpt/adduser.mpt
URL:
http://svn.apache.org/viewvc/james/server/trunk/spring-deployment/src/mpt/adduser.mpt?rev=897022&view=auto
==============================================================================
--- james/server/trunk/spring-deployment/src/mpt/adduser.mpt (added)
+++ james/server/trunk/spring-deployment/src/mpt/adduser.mpt Thu Jan 7
21:39:49 2010
@@ -0,0 +1,19 @@
+S: JAMES Remote Administration Tool.*
+S: Please enter your login and password
+S: Login id:
+C: root
+S: Password:
+C: root
+S: Welcome root. HELP for a list of commands
+C: deluser user
+S: User user .*
+C: deluser john.smith
+S: User john.smith .*
+C: adduser user passwd
+S: User user a.*
+C: adduser john.smith passwd
+S: User john.smith a.*
+C: removemapping [email protected] john.sm...@localhost
+S: .*
+C: addmapping [email protected] john.sm...@localhost
+S: Adding mapping successful: true
\ No newline at end of file
Added: james/server/trunk/spring-deployment/src/mpt/imap.mpt
URL:
http://svn.apache.org/viewvc/james/server/trunk/spring-deployment/src/mpt/imap.mpt?rev=897022&view=auto
==============================================================================
--- james/server/trunk/spring-deployment/src/mpt/imap.mpt (added)
+++ james/server/trunk/spring-deployment/src/mpt/imap.mpt Thu Jan 7 21:39:49
2010
@@ -0,0 +1,29 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one #
+# or more contributor license agreements. See the NOTICE file #
+# distributed with this work for additional information #
+# regarding copyright ownership. The ASF licenses this file #
+# to you under the Apache License, Version 2.0 (the #
+# "License"); you may not use this file except in compliance #
+# with the License. You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, #
+# software distributed under the License is distributed on an #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY #
+# KIND, either express or implied. See the License for the #
+# specific language governing permissions and limitations #
+# under the License. #
+################################################################
+S: \* OK JAMES IMAP4rev1 Server.*
+C: abcd CAPABILITY
+S: \* CAPABILITY IMAP4rev1 LITERAL\+ NAMESPACE CHILDREN
+S: abcd OK CAPABILITY completed.
+C: 1 LOGIN user passwd
+S: 1 OK LOGIN completed.
+C: 2 CREATE sub
+S: 2 OK CREATE completed.
+C: 3 CREATE sub/way
+S: 3 OK CREATE completed.
+
Added: james/server/trunk/spring-deployment/src/mpt/nntp.mpt
URL:
http://svn.apache.org/viewvc/james/server/trunk/spring-deployment/src/mpt/nntp.mpt?rev=897022&view=auto
==============================================================================
--- james/server/trunk/spring-deployment/src/mpt/nntp.mpt (added)
+++ james/server/trunk/spring-deployment/src/mpt/nntp.mpt Thu Jan 7 21:39:49
2010
@@ -0,0 +1,30 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one #
+# or more contributor license agreements. See the NOTICE file #
+# distributed with this work for additional information #
+# regarding copyright ownership. The ASF licenses this file #
+# to you under the Apache License, Version 2.0 (the #
+# "License"); you may not use this file except in compliance #
+# with the License. You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, #
+# software distributed under the License is distributed on an #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY #
+# KIND, either express or implied. See the License for the #
+# specific language governing permissions and limitations #
+# under the License. #
+################################################################
+S: 200 .* NNTP Service Ready, posting permitted
+C: POST
+S: 340 send article to be posted. End with <CR-LF>.<CR-LF>
+C: From: [email protected]
+C: Newsgroups: whatever
+C: Subject: Foo
+C: MessageID: 1234567890
+C: Bar
+C: .
+S: 240 article received ok
+C: quit
+S: 205 closing connection
Added: james/server/trunk/spring-deployment/src/mpt/pop3.mpt
URL:
http://svn.apache.org/viewvc/james/server/trunk/spring-deployment/src/mpt/pop3.mpt?rev=897022&view=auto
==============================================================================
--- james/server/trunk/spring-deployment/src/mpt/pop3.mpt (added)
+++ james/server/trunk/spring-deployment/src/mpt/pop3.mpt Thu Jan 7 21:39:49
2010
@@ -0,0 +1,27 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one #
+# or more contributor license agreements. See the NOTICE file #
+# distributed with this work for additional information #
+# regarding copyright ownership. The ASF licenses this file #
+# to you under the Apache License, Version 2.0 (the #
+# "License"); you may not use this file except in compliance #
+# with the License. You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, #
+# software distributed under the License is distributed on an #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY #
+# KIND, either express or implied. See the License for the #
+# specific language governing permissions and limitations #
+# under the License. #
+################################################################
+S: \+OK .* POP3 server \(JAMES POP3 Server .*
+C: USER user
+S: \+OK
+C: PASS passwd
+S: \+OK Welcome user
+C: STAT
+S: \+OK 0 0
+C: QUIT
+S: \+OK Apache James POP3 Server signing off.
Added: james/server/trunk/spring-deployment/src/mpt/smtp.mpt
URL:
http://svn.apache.org/viewvc/james/server/trunk/spring-deployment/src/mpt/smtp.mpt?rev=897022&view=auto
==============================================================================
--- james/server/trunk/spring-deployment/src/mpt/smtp.mpt (added)
+++ james/server/trunk/spring-deployment/src/mpt/smtp.mpt Thu Jan 7 21:39:49
2010
@@ -0,0 +1,38 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one #
+# or more contributor license agreements. See the NOTICE file #
+# distributed with this work for additional information #
+# regarding copyright ownership. The ASF licenses this file #
+# to you under the Apache License, Version 2.0 (the #
+# "License"); you may not use this file except in compliance #
+# with the License. You may obtain a copy of the License at #
+# #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+# #
+# Unless required by applicable law or agreed to in writing, #
+# software distributed under the License is distributed on an #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY #
+# KIND, either express or implied. See the License for the #
+# specific language governing permissions and limitations #
+# under the License. #
+################################################################
+S: 220 .* SMTP Server \(JAMES SMTP Server .*
+C: HELO example.org
+S: 250 .* Hello example.org .*
+C: MAIL FROM:<[email protected]>
+S: 250 2.1.0 Sender <[email protected]> OK
+C: RCPT TO:<u...@localhost>
+S: 250 2.1.5 Recipient <u...@localhost> OK
+C: DATA
+S: 354 Ok Send data ending with <CRLF>.<CRLF>
+C: Date: 12 Dec 2008 GMT
+C: From: <[email protected]>
+C: To: <u...@localhost>
+C: Subject: A Test Message
+C:
+C: Simple plain mail content
+C:
+C: .
+S: 250 2.6.0 Message received
+C: QUIT
+S: 221 2.0.0 .* Service closing transmission channel
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]