You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "davide.bz (JIRA)" <se...@james.apache.org> on 2006/09/20 11:36:22 UTC

[jira] Created: (JAMES-625) an emoty mbox will cause an error at pop3 login

an emoty mbox will cause an error at pop3 login
-----------------------------------------------

                 Key: JAMES-625
                 URL: http://issues.apache.org/jira/browse/JAMES-625
             Project: James
          Issue Type: Bug
          Components: POP3Server
         Environment: linux jdk1.5
            Reporter: davide.bz
            Priority: Critical


I tried to use mbox as inboxRepository even with an empty file or deleting all emails, pop3 will give an error at login after the password (maybe triing to open the repository)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: User creation with James

Posted by Stefano Bagnara <ap...@bago.org>.
Hi,

you may also be interested in Stephan Sann's yaJamesManager.
He posted a news here few days ago about the availability of a new 
version of his "manager".
It is a servlet application (war) that manage James via RemoteManager: I 
never tested it, but it seems to do what you need.

---------------
There's a new version of yaJamesManager on Sourceforge.
It now has an error-handling for all kind of problems that may could appear.

Sourceforge:
http://sourceforge.net/projects/yajamesmanager

Testride:
http://www.nameservice.biz/yajamesmanager/
-------------

Stefano

Raghavendra Setty wrote:
> Hi all,
> 
> I want info on below:
> 
> 1) As of now i am creating the users through 
> 	telnet 4555 ...... adduser username userpassword. 
> I want to create the users through web-interface. Please guide how can i
> do?
> 
> 2) I want to know how the user passwords are encrypted. If answer to
> question 1 is not there, then i am planning to insert directly the
> encrypted data in to the database. Please let me know the api or piece
> of code in James doing this.
> 
> Thanks in advance,
> Rag Setty



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


User creation with James

Posted by Raghavendra Setty <ra...@tarangtech.com>.
Hi all,

I want info on below:

1) As of now i am creating the users through 
	telnet 4555 ...... adduser username userpassword. 
I want to create the users through web-interface. Please guide how can i
do?

2) I want to know how the user passwords are encrypted. If answer to
question 1 is not there, then i am planning to insert directly the
encrypted data in to the database. Please let me know the api or piece
of code in James doing this.

Thanks in advance,
Rag Setty




This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient or received it in error, please contact the sender by reply e-mail and destroy all copies of the original message. Please do not copy it for any purpose or disclose its contents.

Copyright Tarang Software Technologies Pvt. Ltd. 2004. All rights Reserved

Re: User creation with James

Posted by Norman Maurer <nm...@byteaction.de>.
Raghavendra Setty schrieb:
> Hi all,
>
> I want info on below:
>
> 1) As of now i am creating the users through 
> 	telnet 4555 ...... adduser username userpassword. 
> I want to create the users through web-interface. Please guide how can i
> do?
>   
If you want to focus on james-2.3 you should "use sockets" for that. In 
the next james release such actions are aviable via JMX. So if you can 
life with trunk version you should better try this.
> 2) I want to know how the user passwords are encrypted. If answer to
> question 1 is not there, then i am planning to insert directly the
> encrypted data in to the database. Please let me know the api or piece
> of code in James doing this.
>
>   
Its incrypted via SHA. Have a look at 
"org.apache.james.userrepository.DefaultUser"
> Thanks in advance,
> Rag Setty
>
>   


bye
Norman


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Resolved: (JAMES-625) an emoty mbox will cause an error at pop3 login

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
     [ http://issues.apache.org/jira/browse/JAMES-625?page=all ]

Norman Maurer resolved JAMES-625.
---------------------------------

    Resolution: Fixed

thx for reporting!

> an emoty mbox will cause an error at pop3 login
> -----------------------------------------------
>
>                 Key: JAMES-625
>                 URL: http://issues.apache.org/jira/browse/JAMES-625
>             Project: James
>          Issue Type: Bug
>          Components: POP3Server
>         Environment: linux jdk1.5
>            Reporter: davide.bz
>         Assigned To: Norman Maurer
>            Priority: Critical
>             Fix For: 2.3.0
>
>
> I tried to use mbox as inboxRepository even with an empty file or deleting all emails, pop3 will give an error at login after the password (maybe triing to open the repository)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Updated: (JAMES-625) an emoty mbox will cause an error at pop3 login

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
     [ http://issues.apache.org/jira/browse/JAMES-625?page=all ]

Norman Maurer updated JAMES-625:
--------------------------------

    Fix Version/s: 2.3.0

just test it with 2.3rc4. Same here!

> an emoty mbox will cause an error at pop3 login
> -----------------------------------------------
>
>                 Key: JAMES-625
>                 URL: http://issues.apache.org/jira/browse/JAMES-625
>             Project: James
>          Issue Type: Bug
>          Components: POP3Server
>         Environment: linux jdk1.5
>            Reporter: davide.bz
>            Priority: Critical
>             Fix For: 2.3.0
>
>
> I tried to use mbox as inboxRepository even with an empty file or deleting all emails, pop3 will give an error at login after the password (maybe triing to open the repository)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Commented: (JAMES-625) an emoty mbox will cause an error at pop3 login

Posted by "Stefano Bagnara (JIRA)" <se...@james.apache.org>.
    [ http://issues.apache.org/jira/browse/JAMES-625?page=comments#action_12436196 ] 
            
Stefano Bagnara commented on JAMES-625:
---------------------------------------

What version of James are you testing? James 2.2.0 ? 2.3.0rc3 ? trunk? 

> an emoty mbox will cause an error at pop3 login
> -----------------------------------------------
>
>                 Key: JAMES-625
>                 URL: http://issues.apache.org/jira/browse/JAMES-625
>             Project: James
>          Issue Type: Bug
>          Components: POP3Server
>         Environment: linux jdk1.5
>            Reporter: davide.bz
>            Priority: Critical
>
> I tried to use mbox as inboxRepository even with an empty file or deleting all emails, pop3 will give an error at login after the password (maybe triing to open the repository)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Assigned: (JAMES-625) an emoty mbox will cause an error at pop3 login

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
     [ http://issues.apache.org/jira/browse/JAMES-625?page=all ]

Norman Maurer reassigned JAMES-625:
-----------------------------------

    Assignee: Norman Maurer

Here is the stacktrace:

06/10/06 18:40:28 ERROR pop3server: Exception during connection from localhost (127.0.0.1) : null
java.lang.NullPointerException
	at org.apache.james.mailrepository.MBoxMailRepository.list(MBoxMailRepository.java:546)
	at org.apache.james.pop3server.POP3Handler.stat(POP3Handler.java:395)
	at org.apache.james.pop3server.POP3Handler.doPASS(POP3Handler.java:545)
	at org.apache.james.pop3server.POP3Handler.parseCommand(POP3Handler.java:477)
	at org.apache.james.pop3server.POP3Handler.handleConnection(POP3Handler.java:275)
	at org.apache.james.util.connection.ServerConnection$ClientConnectionRunner.run(ServerConnection.java:422)
	at org.apache.excalibur.thread.impl.ExecutableRunnable.execute(ExecutableRunnable.java:55)
	at org.apache.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:116)

> an emoty mbox will cause an error at pop3 login
> -----------------------------------------------
>
>                 Key: JAMES-625
>                 URL: http://issues.apache.org/jira/browse/JAMES-625
>             Project: James
>          Issue Type: Bug
>          Components: POP3Server
>         Environment: linux jdk1.5
>            Reporter: davide.bz
>         Assigned To: Norman Maurer
>            Priority: Critical
>             Fix For: 2.3.0
>
>
> I tried to use mbox as inboxRepository even with an empty file or deleting all emails, pop3 will give an error at login after the password (maybe triing to open the repository)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Commented: (JAMES-625) an emoty mbox will cause an error at pop3 login

Posted by "davide.bz (JIRA)" <se...@james.apache.org>.
    [ http://issues.apache.org/jira/browse/JAMES-625?page=comments#action_12436198 ] 
            
davide.bz commented on JAMES-625:
---------------------------------

James 2.2.0

> an emoty mbox will cause an error at pop3 login
> -----------------------------------------------
>
>                 Key: JAMES-625
>                 URL: http://issues.apache.org/jira/browse/JAMES-625
>             Project: James
>          Issue Type: Bug
>          Components: POP3Server
>         Environment: linux jdk1.5
>            Reporter: davide.bz
>            Priority: Critical
>
> I tried to use mbox as inboxRepository even with an empty file or deleting all emails, pop3 will give an error at login after the password (maybe triing to open the repository)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Commented: (JAMES-625) an emoty mbox will cause an error at pop3 login

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
    [ http://issues.apache.org/jira/browse/JAMES-625?page=comments#action_12438209 ] 
            
Norman Maurer commented on JAMES-625:
-------------------------------------

Please test it with latest 2.3.0 release and report if the problem still exits. 2.3.0 will be released soon. You can get the latest "release canidat" from: http://people.apache.org/dist/james/

Im almost sure this bug is fixed in 2.3.0.


> an emoty mbox will cause an error at pop3 login
> -----------------------------------------------
>
>                 Key: JAMES-625
>                 URL: http://issues.apache.org/jira/browse/JAMES-625
>             Project: James
>          Issue Type: Bug
>          Components: POP3Server
>         Environment: linux jdk1.5
>            Reporter: davide.bz
>            Priority: Critical
>
> I tried to use mbox as inboxRepository even with an empty file or deleting all emails, pop3 will give an error at login after the password (maybe triing to open the repository)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org