Sending email from rails app to Postfix remote mail server

Hi, I am running a rails app on my local development machine testing
email delivery with a remote mail server running Postfix at Slicehost.

I haven’t been able to configure ActionMailer to connect to the mail
server without a timeout. I’m using workling to send emails, and the
timeout error is:

WORKLING ERROR: runner could not invoke MailingsWorker:send_message with
…dump of hash sent to mailings worker…error was:
#<Timeout::Error: execution expired>

My ActionMailer configuration looks like:

ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.smtp_settings = {
:address => “11.22.33.253”,
:domain => “mail.example.com”,
:port => 25,
:authentication => :plain,
:user_name => “my_username”,
:password => “my_password”
}

I am able to send mail locally from the mail server, and can receive
email at the mail server sent with gmail and yahoo. I can also send
email from my rails app using gmail smtp settings.

Does postfix require specific configuration to act as a remote mail
server?

Thank you!,
John

I had problems setting up rails ActionMailer on a slicehost site and
contracted with rackspace for email. I would now like to use the
rackspace email server to handle my ActionMailer transactions. My
configuration is set up as follows:

ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.smtp_settings = {
:address => “11.22.33.253”,
:domain => “mail.example.com”,
:port => 25,
:authentication => :plain,
:user_name => “my_username”,
:password => “my_password”
}

How do I completed setup with my rackspace email account and my rails
project?

John