I've been trying unsuccessfully  for a week now to setup the email server
for dspace.  Originally, I was using 1.5.2 but someone mentioned the dspace
test-email function that was only in 1.6.0.  For this reason I intalled a
fresh version of 1.6.0.  I'm now attempting to get the email working but am
only getting errors.  There are two main errors I get but I'm not sure what
they mean.  Also, I've censored my domain name and user-name/password for
security purposes, but they are correct in my configuration.

*Here is my dspace.cfg mail configuration:*
*##### Email settings ######

# SMTP mail server
mail.server=mail.mydomain.org

# SMTP mail server authentication username and password (if required)
mail.server.username = myusername
mail.server.password = mypassword

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

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

# 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 over ridden by providing a
line
# inside the email template "charset: <encoding>", otherwise this default is
used.
#mail.charset = UTF8

# 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.
# mail.extraproperties = mail.smtp.socketFactory.port=465, \
#
mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory, \
#                       mail.smtp.socketFactory.fallback=false

# An option is added to disable the mailserver. By default, this property is
set to false
# By setting mail.server.disabled = true, DSpace will not send out emails.
# It will instead log the subject of the email which should have been sent
# This is especially useful for development and test environments where
production data is used when testing fun$
#mail.server.disabled = false

# Default language for metadata values
default.language = en_US
*
*Here is the error I receive with this configuration when running dspace
test-email:*
*About to send test email:
- To: [email protected]
- Subject: DSpace test email
- Server: mail.mydomain.org

Error sending email:
- Error: javax.mail.SendFailedException: Invalid Addresses;
 nested exception is:
       com.sun.mail.smtp.SMTPAddressFailedException: 451 Temporary local
problem - please try later


Please see the DSpace documentation for assistance.*

*I*'*ve tried changing the port to 465 and this changes the error message
to:*
*About to send test email:
- To: [email protected]
- Subject: DSpace test email
- Server: mail.mydomain.org

Error sending email:
- Error: javax.mail.MessagingException: Could not connect to SMTP host:
mail.mydomain.org, port: 465, response: -1

Please see the DSpace documentation for assistance.
*

Is one of these closer to the right configuration? What does the error
message indicate and what can I do to fix it?

Thanks for your help.
------------------------------------------------------------------------------
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to