Email: Help with settings and configurations
I'm setting up my rather new VPS here and I want to set up email. I've configured a shorewall using this link
Then afterwards I set up email using this link
It took me around 3 times running back and forth over this link to make it work (or at least I think I made it work), and some other links provided by support (and friends) to make the email working.
Now, I'm setting up the email client (Mac's Mail) and I've successfully configured the Incoming to receive messages. I knew it was receiving by sending mail (using telnet) to send to self (
Now there are two things left for me to con-figure out. When I'm setting up Outgoing, I can't get it to work. It's only asking me for the "Outgoing Mail Server (SMTP)" and when I enter surescene.com and tried sending an email it gives me a message
-- Message --
Cannot send message using the server surescene.com:
Connections to the server “surescene.com” on the default ports timed out.
Select a different outgoing mail server from the list below or click Try Later to leave the message in your Outbox until it can be sent.
Sending from: Alec <
-- End of Message --
and I don't get any feedback while tailing mail.log.
I also tried sending from my system which uses ruby. I first started with one on the server already and used this configs:
Mail.defaults do
delivery_method :smtp, {
:address => 'localhost',
:port => 25,
:domain => 'locahost.localdomain',
:user_name => '
:password => 'email_password',
:authentication => 'plain',
:enablestarttlsauto => true
}
end
and I when I try sending, I get this message on the logs:
Jun 23 16:08:57 li121-224 postfix/smtpd[11017]: connect from localhost[127.0.0.1]
Jun 23 16:08:57 li121-224 postfix/smtpd[11017]: lost connection after STARTTLS from localhost[127.0.0.1]
Jun 23 16:08:57 li121-224 postfix/smtpd[11017]: disconnect from localhost[127.0.0.1]
Thanks so much guys! Help is really much appreciated.
Alec
6 Replies
Also ask your self this question "Do I really need to host my own email service?" if the answer is no then visit here
Yes I have done telnet using the VPS. I have tried this one actually
Yes I think I have read that link as well on one of the posts here. It is this one right
Thanks!
Alec
They "sell it" as a club/family, etc type service, but I know of (and have done so myself) several small businesses that use it with no problems.
Worse case, set it up, give it a good test, and if it doesn't work, change to something else (email is very easy to move around, you're basically just changing DNS records for your domain).
That's the best thing about free/open source apps, you can really test/try them before passing them over for something that costs money.
But what about sending from an application? Say a website I am making? Can I also use the gmail app to do that?
Maybe I'll check it out later, so far I've seen group, nonprofit and business links.
Also if it happens that I can use gmail to start off, would I need to delete and remove all the settings I made with the VPS (pertaining to the first post of this post)?
The 50 users is the number of inboxes, you can set up "mailing lists" which are aliases to accounts i.e.
You have address
Sending from an application, google msmtp.
You should delete your postfix settings an apt-get purge postfix courier will toast postfix & courier and the config files.
And I have deleted most of what has been installed on the first part of this link