*hi guys how are you?. I write you  newly  because I have this problem and 
some Doubts.*

*I want do sel-register new users .I configured  my files in my  server 
test dspace 5.4 with jspui.*


*first I configured my dspace.cfg with gmail*

##### Email settings ######

# SMTP mail server
mail.server = smtp.gmail.com

# SMTP mail server authentication username and password (if required)
mail.server.username = [email protected]
mail.server.password = yyyy

# SMTP mail server alternate port (defaults to 25)
mail.server.port = 25

# From address for mail
mail.from.address = [email protected]

# Name of a pre-configured Session object to be fetched from a directory.
# This overrides the Session settings above.  If none can be found, then 
DSpace
# will use the above settings to create a Session.
#mail.session.name = Session
# Currently limited to one recipient!
feedback.recipient [email protected]

# General site administration (Webmaster) e-mail
mail.admin [email protected]

# Recipient for server errors and alerts
alert.recipient [email protected]

# Recipient for new user registration emails
registration.notify [email protected]

# Set the default mail character set. This may be overridden by providing a 
line
# inside the email template "charset: <encoding>", otherwise this default 
is used.

mail.charset = UTF-8

# A comma-separated list of hostnames that are allowed to refer browsers to 
email forms.
# Default behaviour is to accept referrals only from dspace.hostname
 mail.allowed.referrers = localhost






*# Pass extra settings to the Java mail library. Comma-separated, equals 
sign between# the key and the value. For example: mail.extraproperties = 
mail.smtp.socketFactory.port=465, \                       
mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory, 
\                       mail.smtp.socketFactory.fallback=false*




*good after I configured my authentication-password.cfg*






#---------------------------------------------------------------#
#----------PASSWORD AUTHENTICATION CONFIGURATIONS---------------#
#---------------------------------------------------------------#
# Configuration properties used by the Password                 #
# Authentication plugin, when it is enabled.                    #
#---------------------------------------------------------------#
#
# In order to enable Password Authentication, you must first ensure the
# 'org.dspace.authenticate.PasswordAuthentication' class is added to the
# list of enabled AuthenticationMethods in 'authenticate.cfg'.
# See 'authenticate.cfg' for more info.
#

# 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 cambio 
victoria$

 domain.valid = @gmail.com <http://gmail.com.com/>, @otherdomain.ve

##### Password users group #####

# If required, a group name can be given here, and all users who log in
# using the DSpace password system will automatically become members of
# this group. This is useful if you want a group made up of all internal
# authenticated users. victoria grupo original group-name y comentado
# login.specialgroup = group-name

##### Password hashing algorithm #####

# You may select any digest algorithm available through
# java.security.MessageDigest on your system.  At least MD2, MD5, SHA-1,
# SHA-256, SHA-384, and SHA-512 should be available, but you may have
# installed others.  If not set, SHA-512 will be used.
# digestAlgorithm = SHA-512


*my dspace actually give me a error_emailing.I will attach my log. also I 
have some doubts.I was reading that gmail work with port 465. I enabled 
port 465 in my dspace.cfg*


# Pass extra settings to the Java mail library. Comma-separated, equals 
sign between
# the key and the value. For example:
 mail.extraproperties = mail.smtp.socketFactory.port=465, \
                       mail.smtp.socketFactory.class=
javax.net.ssl.SSLSocketFactory, \
                       mail.smtp.socketFactory.fallback=false


*when I do nmap localhost . It show me a list of ports enabled. I can't see 
in this list  port 465. then I wiil need open this port 465 with iptables?*

*other thing I have ssl port enabled 8443. I need to do some aditional 
configuration in my email setting ?*

*other thing gmail really work with port 465 or with default port 25?*

*I tryed with port 25 and it don't work*

*I changed in my dspace.cfg and my build.properties  do that *

*dspace.url=https://localhost:8443/jspui*

*also*

*dspace.url=http://localhost:8080/jspui*


*and nothing*

*Thank you for all help than you can give me*

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Attachment: dspace.log.2016-07-04
Description: Binary data

Reply via email to