[Dspace-general] How to Config Dspace allow only some Email addresscan register

Stuart Lewis s.lewis at auckland.ac.nz
Mon Jul 27 18:16:39 EDT 2009


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: dspace-general-bounces at mit.edu
[mailto:dspace-general-bounces at mit.edu] On Behalf Of Nguyen Hung Thanh
Sent: Monday, 27 July 2009 11:31 p.m.
To: dspace-tech at lists.sourceforge.net; dspace-general at mit.edu
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 nghungthanh at gmail.com  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

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/dspace-general/attachments/20090728/d296a009/attachment.htm


More information about the Dspace-general mailing list