Hi.

Finally made my copy of gitorious to work just fine. I had to do one
modification though: My setup cannot use the local sendmail for all
emails. I changed config/environments/production.rb to define

config.action_mailer.delivery_method = :smtp

config.action_mailer.smtp_settings = {
        :address => "myhost",
        :port => "25",
        :domain => "myhost",
        :authentication => :plain,
        :user_name => "theAccount",
        :password => "thePassword"
}

which worked fine for most cases (registration mail, forgot password
mail etc.), but failed to work for messages sent from user a to user
b. I cannot read ruby at all, but it seems that this happens in a
different way, submitting an event to the active messaging queue,
which results in the poller script sending out the message
asynchronously.

The problem? The poller script doesn't adhere to the rails
configuration above. I "fixed" it, being completely ignorant about the
language, by changing script/poller to include

require File.dirname(__FILE__) + '/../config/boot'

at the start, which among others seems to load the rails
environment...
Now - it obviously works now, but I'm sure I did something very nasty
here. What would be the _right_ way to configure the smtp settings for
the poller script/the message_forwarding_processor.rb?

Thanks in advance,
Ben

--

You received this message because you are subscribed to the Google Groups 
"Gitorious" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/gitorious?hl=en.


Reply via email to