setup local mail on ubuntu 12.04 not to the outside world just internally and use the
hello I am trying to do a simple local mail setup for ubuntu ver12.04 the tutorial I am following along with is using the mail command. I will install the other clients at a later date, just want to get this default working. I found a post that walked through installing
apt-get install exim4-daemon-light mailutils
then
dpkg-reconfigure exim4-config
which brought up a mail server setup I stepped through it and ran a test mail but every time I send and check I get no mail for ubuntuuser1 my setup info
local delivery only; not on a network
fqdn ubuntu.dev.local
ip addresses to listen for incoming smtp 127.0.0.1 ; ::1
other destinations ubuntu.dev.local
Keep number of DNS-queries minimal no
Delivery method for local mail: mbox format in /var/mail/
I tested my hostname user1@ubuntu:~# hostname ubuntu
user1@ubuntu:~# hostname -f ubuntu.dev.local
what am I missing?
ok disregard figured it out had to edit the
:~# vi /etc/hosts
Last edited by linuxarco1; 12-12-2014 at 03:19 AM.
|