Last active
August 29, 2015 14:27
-
-
Save johndaley-me/7bbc69f3ec7965c549c0 to your computer and use it in GitHub Desktop.
Exim On Linux with Yum
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add EPEL repository needed for exim | |
sudo curl -LO https://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm | |
sudo rpm -ivh epel-release-6-8.noarch.rpm | |
sudo rm -f epel-release-6-8.noarch.rpm | |
sudo yum -y install exim | |
# Edit the configuration file at /etc/exim/exim.conf | |
# Do something like the following for small, automated configuration tweaks: | |
# sed -ie 's/domainlist relay_to_domains =/domainlist relay_to_domains = example.com/' /etc/exim/exim.conf | |
# test | |
sudo yum -y install mail | |
echo "test" |mail -s "test subject" -r [email protected] [email protected] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment