SUNScholar/Prepare Ubuntu/S07/Alternatives
Jump to navigation
Jump to search
Back to Step 07
You can use any email server to facilitate email messaging, however if your campus does not have an email server then you can use gmail as an email gateway. See below for more details.
Using offsite Gmail server gateway
If you do not have a campus email server to use, then try using GMail as your email gateway server. See the link below for instructions.
http://blog.stuartlewis.com/2009/09/05/using-gmail-with-dspace
Please note: For this to work, you will have to make sure the local repository server has unrestricted access to the GMail server via your campus firewall and that all the relevant ports are open on your local server.
Gmail Help
Example "dspace.cfg" config
Contributed by: ilari.pablo@gmail.com
##### Email settings ######
# SMTP mail server
mail.server = smtp.gmail.com
# SMTP mail server authentication username and password (if required)
mail.server.username = xxxxxx@gmail.com
mail.server.password = xxxxxxxx
# SMTP mail server alternate port (defaults to 25) - CHANGED PORT FROM 25 TO 465
mail.server.port = 465
# 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
UNCOMMENT THE LAST 3 LINES