Hi,
DSpace has two different error messages that it can show when trying to
register new users:
"The configuration of this DSpace site does not allow you to register
yourself". This message is shown if authentication.password.domain.valid
is set, and a user outside of the configured setting tries to register.
"The email address you entered was invalid". This message is shown if
your email server refuses to send an email to that user. This may be
cause you have relaying disabled on your server, or you may need to
provide login credentials (mail.server.username and mail.server.password
in dspace.cfg).
So the error message is not being caused by your email server, rather
than the authentication.password.domain.valid setting.
Thanks,
Stuart Lewis
IT Innovations Analyst and Developer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: 64 9 373-7599 x81928
http://www.library.auckland.ac.nz <http://www.library.auckland.ac.nz/> /
From: [email protected]
[mailto:[email protected]] On Behalf Of Nguyen Hung Thanh
Sent: Monday, 27 July 2009 11:31 p.m.
To: [email protected]; [email protected]
Subject: [Dspace-general] How to Config Dspace allow only some Email
addresscan register
Hi!
I'm using Dspace 1.52. I config Dspace allow only Email address in the
format <username>@gmail.com.
And I config in Dspace.cfg
#### PasswordAuthentication options ####
# Only emails ending in the following domains are allowed to
self-register
# Example - example.com domain : @example.com
# Example - MIT domain and all .ac.uk domains: @mit.edu, .ac.uk
authentication.password.domain.valid = @gmail.com
But when I register with E-mail address [email protected] Dspace
can validate the address
This is the error
User Registration
The e-mail address you entered was invalid. Please try again.
If you've never logged on to DSpace before, please enter your e-mail
address in the box below and click "Register".
Any body help me!
Thanks
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech