Question
I can't get emails to work :(
Hello i have been trying all day to get emails to work and I am totally lost.
PLEASE PLEASE PLEASE could some one help me.
I have set up a domain which is my own name rickyspires.co.uk and i would like to have an email address for that domain like mail@ or info@.
I have set up the domain and that all works.
My droplet is called spangler1 and my login name has changed from root to rickyspires.
This is what i have tried.
I have followed this tutorial http://www.youtube.com/watch?v=kdio_MMNqUE
First login to the server
rickyspires@spangler1:install postfix
sudo apt-get update
sudo apt-get install postfixconfig the main.cf file
cd /etc/postfix/
sudo nano main.cf
myhostname = rickyspires.co.uk
virtualaliasmaps = hash:/etc/postfix/virtual
aliasdatabase = hash:/etc/aliases
mydestination = rickyspires.co.uk, spangler1, ricky-spiress-MacBook-Pro.local, localhost
relayhost =
mynetworks = 127.0.0.0/8 10.0.0.0/8
mailboxsizelimit = 0
recipientdelimiter = +
inet_interfaces = all
sudo service postfix restart
- try sending a test email
rickyspires@spangler1:/etc/postfix$ telnet 127.0.0.1 25
Trying 127.0.0.1…
Connected to 127.0.0.1.
Escape character is ’^]’.
220 rickyspires.co.uk ESMTP Postfix (Ubuntu)
mail to: spangler1@rickyspires.co.uk
501 5.5.4 Syntax: MAIL FROM:<address>
mail from: rickyspires@rickyspires.co.uk (root@rickyspires.co.uk)
250 2.1.0 Ok
rcpt to: spangler1@rickyspires.co.uk
550 5.1.1 spangler1@rickyspires.co.uk: Recipient address rejected: User unknown in local recipient table
!!!!! I GET AN ERROR HERE - the error wasnt there before ? But even when i didnt get the error at this point the emails would not send.
I get this..... for example
From MAILER-DAEMON Sun Oct 21 07:17:27 2012
X-Original-To: rickyspires@ricky-spiress-MacBook-Pro.local
Delivered-To: rickyspires@ricky-spiress-MacBook-Pro.local
Date: Sun, 21 Oct 2012 07:17:27 +0100 (BST)
From: MAILER-DAEMON@ricky-spiress-MacBook-Pro.local (Mail Delivery System)
Subject: Undelivered Mail Returned to Sender
To: rickyspires@ricky-spiress-MacBook-Pro.local
Auto-Submitted: auto-replied
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary=“DDE412BC182.1350800247/ricky-spiress-MacBook-Pro.local”
Content-Transfer-Encoding: 8bit
ANY IDEAS ?
Thanks Ricky
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×