Hi guys,
I'm setting up my rather new VPS here and I want to set up email. I've configured a shorewall using this link
http://www.cyberdogtech.com/firewalls/t ... hp?page=fw.
Then afterwards I set up email using this link
http://library.linode.com/email/postfix ... an-5-lenny.
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 (
admin@surescene.com) and also from sending from gmail to
admin@surescene.com and I managed to get them all.
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:admin@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 <admin@surescene.com>
-- 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 =>
'admin@surescene.com',
:password => 'email_password',
:authentication => 'plain',
:enable_starttls_auto => 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