Thank you Shaun,

That was it.

Evelthon


From: Shaun donovan <sha...@teqcle.co.za>
Date: Wednesday, 14 November 2018 at 2:13 PM
To: Evelthon Prodromou <prodromou.evelt...@ucy.ac.cy>, 
"dspace-tech@googlegroups.com" <dspace-tech@googlegroups.com>
Subject: Re: [dspace-tech] Error sending emails through O365 / DSpace v5.5


Hi Evelthon.

You certainly can. Just set your the SMTP settings in you dspace.cfg file 
(better in local.cfg if you are on version 6.x). These look like this:

# SMTP mail server (allows DSpace to send email notifications)
mail.server = smtp.example.com

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

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

Change your mail.server to localhost, add username and password if you have 
smtp authentication configured in your postfix, and change the port as needed. 
If you have SPF configured for the domain of the email addresses that you are 
sending from, you will have to add the IP address of your server to the DNS SPF 
record. Otherwise, all should work and you should see the emails flow in you 
email log file (/var/log/maillog on Centos).

Kind Regards.

Shaun.
On 2018/11/14 13:32, Evelthon Prodromou wrote:

Dear all,





Has anyone successfully sent emails through Office365? My problem occurs

with the mail settings in dspace.cfg.



The server itself uses postfix and has been successfully configured to

send emails through  O365. Can we configure email relaying through local

postfix?





Thank you,



Evelthon Prodromou


-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to