Setting up an exim mail server

Write tutorials and howtos in here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Do not start a support topic here please. Before you post please read this

Setting up an exim mail server

Postby steveking on Fri Jun 15, 2012 6:36 am

ok first off we need to install exim with the follwing commands:

apt-get install exim && apt-get install system-switch-mail

After this run the command:

system-switch-mail

This will bring up a nice graphical box asking you if you want to use sendmail or exim, select exim.

After that we want to check that exim is automatically configured:

chkconfig exim on

The we need to add an alias to the exim mail client so run:

vi /etc/aliases

Then add in an alias for example:

root: me@example.com

From there we need to add a colon and type wq (this is for write and quit)

After this we need to restart exim:

service exim restart

Then we need to test that exim works! Otherwise we did something wrong:

echo “test”\mail -s “$HOSTNAME” me@example.com

This should print out something similar to this:

testmail -s “hostname” (where you sent the mail from) me@example.com

That is your exim mail client up and running!
2nd gen core i5 : 8Gb RAM : AMD Radeon HD 6770 1Gb GDDR5 : 1Tb 7500 SATA

cpanel Login - The Easy Way To Log Into Your cPanel Hosting
User avatar
steveking
Level 3
Level 3
 
Posts: 146
Joined: Thu Jun 07, 2012 8:53 am
Location: Shropshire, UK

Linux Mint is funded by ads and donations.
 

Return to Tutorials / Howtos

Who is online

Users browsing this forum: No registered users and 12 guests