0

I set up from scratch an Ubuntu Server 16.04 and there I setup a Moodle site with Apache2. The problem is that all the email notifications from the Moodle don't work.

When I was installing Ubuntu, I choose to install the mail server:

I chose Internet Site

enter image description here

and then I filled the input with my site name mysite.com

enter image description here

Am I filled something wrong here? Should I contact with the administrator of the computer room to ask him?

yaylitzis
  • 253
  • 3
  • 8

1 Answers1

0

In order to diagnose why emails are not being sent, in your situation (full control over the system), it is especially important to distinguish whether this is at application or system/email level.

You gave us very little details about your issue.

Consider:

  • What application logs says (Moodle)
  • What is happening in /var/log/mail.log when you expect email should be sent
  • Is your email server able to send any email, anywhere
  • Is your email server able to send locally (i.e. to system user)
  • Is your public IP address listed on DNS blacklists (check here)? If so, it is unlikely that you will be able to send emails externally.

As you see, there is a lot to check and eliminate as possible cause. By the way "System mail name" should not be mysite.com but somehostname.mysite.com - check the facts about fully qualified domain name.

Miloš Đakonović
  • 640
  • 3
  • 9
  • 28