Configuring Fulcrum without Heroku

194 views
Skip to first unread message

Adam Logghe

unread,
Apr 23, 2012, 8:09:26 PM4/23/12
to fulcru...@googlegroups.com
I've made pretty good progress but I'm stuck on the user email registration.

I'm getting
"""
Completed 500 Internal Server Error in 528ms

Net::SMTPFatalError (550 5.1.1 <us...@changedtoprotecttheguilty.com>: Recipient address rejected: changedtoprotecttheguilty.com
):
"""
Given that tcpdump shows no smtp or smtps traffic (also a trivial script sends mail from the same box) I'm guessing I'm not actually using smtp in the config somewhere? sendgrid.rb seems to have no effect.

Adam

Malcolm Locke

unread,
Apr 23, 2012, 8:23:10 PM4/23/12
to fulcru...@googlegroups.com

Is this for the development or production environment? You'll need to
configure actionmailer appropriately for the given environment in
config/environments/${env}.rb

This stuff will be moving to a single config file, hopefully soon :/

Malc

Adam Logghe

unread,
Apr 24, 2012, 12:01:34 AM4/24/12
to fulcru...@googlegroups.com
Ok I actually just needed to dig into actionmailer's config more (not familiar with rails so I was slow to that).

It defaults to localhost as the mailer and that was my particular issue.

Adding -

config.action_mailer.smtp_settings ={ :address => "smtp.example.com" }

to the environments/production.rb file was all it took.

Thanks,

Adam


On Monday, April 23, 2012 5:23:10 PM UTC-7, malclocke wrote:
On Mon, Apr 23, 2012 at 05:09:26PM -0700, Adam Logghe wrote:
> I've made pretty good progress but I'm stuck on the user email registration.
>
> I'm getting
> """
> Sent mail to user@changedtoprotecttheguilty.com (116ms)

> Completed 500 Internal Server Error in 528ms
>
> Net::SMTPFatalError (550 5.1.1 <user@changedtoprotecttheguilty.com>:

Malcolm Locke

unread,
Apr 24, 2012, 12:59:56 AM4/24/12
to fulcru...@googlegroups.com
Cool, glad you could get it sorted Adam.

I'm afraid this stuff is a lot more complicated than it needs to be, and
I'm hoping that I can get all the configuration variables like these
that need to be tweaked per install into a single config file that will
be initialised as part of the setup process.

There's not much love for non Heroku hosted instances at the moment and
I need to work on that.

Thanks,

Malc

On Mon, Apr 23, 2012 at 09:01:34PM -0700, Adam Logghe wrote:
> Ok I actually just needed to dig into actionmailer's config more (not
> familiar with rails so I was slow to that).
>
> It defaults to localhost as the mailer and that was my particular issue.
>
> Adding -
>
> config.action_mailer.smtp_settings ={ :address => "smtp.example.com" }
>
> to the environments/production.rb file was all it took.
>
> Thanks,
>
> Adam
>
>
> On Monday, April 23, 2012 5:23:10 PM UTC-7, malclocke wrote:
> >
> > On Mon, Apr 23, 2012 at 05:09:26PM -0700, Adam Logghe wrote:
> > > I've made pretty good progress but I'm stuck on the user email
> > registration.
> > >
> > > I'm getting
> > > """

> > > Sent mail to us...@changedtoprotecttheguilty.com (116ms)


> > > Completed 500 Internal Server Error in 528ms
> > >

> > > Net::SMTPFatalError (550 5.1.1 <us...@changedtoprotecttheguilty.com>:

Reply all
Reply to author
Forward
0 new messages