Good day. May I ask how to setup the server to send email? My test server is Ubuntu Linux 20.04 and I have setup Gibbon by installing the softwares below. What other softwares do I need to install and setup so that the Gibbon server can send email? I don’t have access to Google G Suite integration but please let me know what other details I need to provide. Thank you
- apt install apache2 php mariadb-server php-gd php-mysql php-zip php-curl
#unsure about this one because docs said php-gettext but apt’s message is this doesn’t exist
2. apt install gettext
apt install php-pdo
apt install unzip
apt install php-mbstring php-xml
In order to dispatch your mail, Ubuntu needs to have a mail transfer agent (MTA) installed. Popular MTAs on Ubuntu include Postfix and Sendmail. If you search Google for these, in relation to Ubuntu, you should be able to find instructions on how to proceed.
With a basic MTA setup I’ve found that mail is often flagged as spam, impacting on delivery. As such, we tend to use Admin > System Admin > Third Party Settings to enabled SMTP, which passes your mail to a third party server for dispatch. As a Google school, we use our Google-provided SMTP server/account for this…but there are many SMTP servers you could use.
Hope this helps!
Thank you Ross. May I ask for follow-on questions:
If we will implement MTA, will that mean the actual mail will reside on our system, so that we will have to assign a computer to be our mail server?
What are your thoughts on postfix and sendmail concerning ease of setup?
Thank you Ross for the information.