I tried changing it to this :
127.0.0.1 localhost.localdomain localhost smtp.mydomain.com smtp
::1 localhost6.localdomain6 localhost6
210.193.49.222 ns1.mydomain.com ns1 localhost smtp.mydomain.com smtp
But it didn’t work
Restarted postfix and mongrel gave ssl error again.
I got it to work with the multiple domain names
ActionMailer::Base.smtp_settings = {
:address => "smtp.mydomain.com",
:port => 25,
:domain => "mydomain.com",
:authentication => :plain,
:user_name => "mydomai...@mydomain.com",
:password => "password"
}
I have the address as smtp.mydomain.com and it gives 127.0.0.1 in my mail error log. Instead of ns1.mydomain.com .
Is it working internally now?