I can't setup email.. Followed tutorial but still not setup properly


I have been powering through the tutorials and setting things up. I’m pretty much a newb, but managed to get the server up and running. I thought I could do the emails by just following the tutorials and doing research as well, but after a couple of days of trying, I am pretty lost.

Running: Ubuntu 14.04 x64

I followed this tutorial

I followed everything, but I didn’t do the signed SSL certificate, as shown here:

So I’m not sure if off the bat that makes the first tutorial void, but that’s where I’m at.

I was sending myself emails and they were coming back undeliverable, but now they don’t anymore, so I think emails are at least getting received (I think).

In fact, I thought I was doing everything right, right up until the last step (before installing spam assassin, which I haven’t) where it says to enter:

telnet 993

I get the following error: telnet: Unable to connect to remote host: Connection refused

Then I tried to setup the email on mac mail with these details:

And then I used port 993 for secure IMAP with SSL authentication required, for both outgoing and incoming servers, but nothing happens.

I tried checking my email from the terminal by switching to the user $ ssh user@ipaddress

and then I installed the program “mail”

apt-get install mailutils

and entered

$ mail

but I get

Cannot open mailbox /var/mail/myusername: Permission denied No mail for myusername

So to be honest I’m not even sure if this is the right way to check my email trough the terminal, or if it’s even setup properly, but after a couple of days I thought maybe someone could share some of their genius with me to help get my mail at least through mac mail.

NOTE: Once mail is working I will pay the $5 for google apps and try to install the emails so they are accessible there for myself and my company members. Not sure if that’s relevant but thought I should mention it.

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

This question was answered by @sierracircle:

If you are going to pay the monthly fee for Google Apps, then there is no need to set up a mail server…you can just direct your MX records to Google and they will take care of the rest.

View the original comment