Hello all,
I have two problems and could someone help me to fix them? I tested my email server by using command, mail to [email protected] <[email protected]>. I got the mail. I can not figure out the reasons why feedback and register do not work.
Thanks a lot.
Feedback
An error has occurred
Go to DSpace home
org.dspace.authorize.AuthorizeException: The feedback mail page may only be invoked from another DSpace page
Cocoon stacktrace [show]
Java stacktrace [show]
Java full stacktrace [show]
The Manakin / DSpace digital repository software.
Login
New user registration
Login
New user registration
![]()
# DSpace installation directory
dspace.dir = /dspace
# DSpace host name - should match base URL. Do not include port number
dspace.hostname = localhost
# DSpace base host URL. Include port number etc.
dspace.baseUrl = http://localhost:8080
# DSpace base URL. Include port number etc., but NOT trailing slash
# Change to xmlui if you wish to use the xmlui as the default, or remove
# "/jspui" and set webapp of your choice as the "ROOT" webapp in
# the servlet engine.
dspace.url = "">
# Name of the site
dspace.name = DSpace at My University
##### Database settings #####
# Database name ("oracle", or "postgres")
db.name = postgres
#db.name = postgres
#db.name = oracle
# URL for connecting to database
db.url = "">
#db.url = "">
# JDBC Driver
db.driver = org.postgresql.Driver
#db.driver = org.postgresql.Driver
# Database username and password
db.username = dspace
db.password = dspace
#db.username = dspace
#db.password = dspace
# Schema name - if your database contains multiple schemas, you can
avoid problems with
# retrieving the definitions of duplicate object names by specifying
# the schema name here that is used for DSpace by uncommenting the
following entry
# db.schema =
# Connection pool parameters
# Maximum number of DB connections in pool
db.maxconnections = 30
# Maximum time to wait before giving up if all connections in pool are
busy (milliseconds)
db.maxwait = 5000
# Maximum number of idle connections in pool (-1 = unlimited)
db.maxidle = -1
# Determine if prepared statement should be cached. (default is true)
db.statementpool = true
# Specify a name for the connection pool (useful if you have multiple
applications sharing Tomcat's dbcp)
# If not specified, defaults to 'dspacepool'
# db.poolname = dspacepool
##### 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 = 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-address-here
# Recipient for new user registration emails
# registration.notify = email-address-here
# 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 = 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.
#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 functionality.
#mail.server.disabled = false
# Default language for metadata values
default.language = en_US
##### File Storage ######
# Asset (bitstream) store number 0 (zero)
assetstore.dir = ${dspace.dir}/assetstore
# Specify extra asset stores like this, counting from 1 upwards:
# assetstore.dir.1 = /second/assetstore
# assetstore.dir.2 = /third/assetstore
# Specify the number of the store to use for new bitstreams with this
property
# The default is 0 (zero) which corresponds to the 'assetstore.dir' above
# assetstore.incoming = 1