Difference between revisions of "SUNScholar/Prepare Ubuntu/S07/Alternatives"
Jump to navigation
Jump to search
(Created page with "<center> '''Back to Step 07''' </center> You can use any email server to facilitate email messaging, however if your campus does not have a...") |
|||
| (5 intermediate revisions by the same user not shown) | |||
| Line 5: | Line 5: | ||
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. | 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. | 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 | http://blog.stuartlewis.com/2009/09/05/using-gmail-with-dspace | ||
<font color="red">'''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 [[SUNScholar/Firewall|relevant ports are open]] on your local server.'''</font> | <font color="red">'''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 [[SUNScholar/Firewall|relevant ports are open]] on your local server.'''</font> | ||
| − | + | ===Gmail Help=== | |
* https://support.google.com/mail/answer/78775?hl=en | * https://support.google.com/mail/answer/78775?hl=en | ||
| − | == | + | ==Example "dspace.cfg" config== |
| − | + | Contributed by: ilari.pablo@gmail.com | |
| + | <pre> | ||
| + | ##### 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 | ||
| + | |||
| + | </pre> | ||
| + | UNCOMMENT THE LAST 3 LINES | ||
Latest revision as of 09:26, 16 November 2016
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