Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion SMTP settings for action mailer
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
NAYAK  
View profile  
 More options Jan 8 2009, 4:33 am
From: NAYAK <nay...@gmail.com>
Date: Thu, 8 Jan 2009 15:03:37 +0530
Local: Thurs, Jan 8 2009 4:33 am
Subject: Re: [Rails] Re: SMTP settings for action mailer

Hi,

I am not sure of using multiple host/domain at a time there
Try just

127.0.0.1 smtp.mydomain.com

NAYAK

On Thu, Jan 8, 2009 at 2:57 PM, Tan YL <tyli...@gmail.com> wrote:
>  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.

> *From:* rubyonrails-talk@googlegroups.com [mailto:
> rubyonrails-talk@googlegroups.com] *On Behalf Of *NAYAK
> *Sent:* Thursday, January 08, 2009 4:24 PM
> *To:* rubyonrails-talk@googlegroups.com
> *Subject:* [Rails] Re: SMTP settings for action mailer

> Hi,

> In your server's host file map the address smtp.mydomain.com to IP
> 127.0.0.1 so that it is not routed externally.

> -NAYAK

> On Thu, Jan 8, 2009 at 1:45 PM, tyliong <tyli...@gmail.com> wrote:

> with rails 2.2.2 action mailer requires a valid ssl certificate
> i have a question about routing

> my smtp settings for my postfix are now

> ActionMailer::Base.smtp_settings = {
> :address => "smtp.mydomain.com",
> :port => 25,
> :domain => "mydomain.com",
> :authentication => :plain,
> :user_name => "mydomain_mai...@mydomain.com",
> :password => "password"
> }

> both the email server and the rails app are on the same machine
> if i don't have the address as 127.0.0.1
> is it routing information through the internet instead of internally
> in the machine?
> if i use 127.0.0.1 i will get the ssl error because the host does not
> match up.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.