WebFaction
Community site: login faq

I'm trying to setup OSQA to send emails @ WebFaction. The instruction at Webfaction assume the mail settings come from settings.py so they don't for for OSQA because these setting are pulled from osqa/forum/settings.

I have the correct data as in forum/settings/email.py I've run into a couple of problems.

1 If you change the email settings from /admin/settings/email/# should forum/settings/email.py change? Mine doesn't change. Maybe it updates mail.pyc.

2 Webfaction seems to need settings.SERVER_EMAIL for their mailbox to work. I placed this in

forum/settings/email.py 
SERVER_EMAIL = 'myname@gmail.com'

I"m not sure if that's the correct way to do that, or how that would be sent to the Webfaction SMPT server.

3 I can't seem to authenticate to my mail server, I think the password is not being rendered to String. link

asked 12 Oct '11, 14:56

mrB
1111
accept rate: 0%


Our OSQA installer guide https://wiki.webfaction.com/wiki/OSQATrunkInstall#InstallscriptforOSQAv.0.9.0Beta3 has some instructions on how to set it up for E-mail. Have you already done that?

Here is an excerpt from those docs:

In order to enable OSQA to send email messages out, you will need to edit your settings file (~/webapps/<app_name>/osqa/settings_local.py) and add the following configuration lines: http://docs.webfaction.com/software/django/getting-started.html#configuring-django-to-send-email-messages

You must use valid mailbox username and password in the appropriate fields.

permanent link

answered 12 Oct '11, 15:31

bmeyer71 ♦♦
1.5k3613
accept rate: 33%

I have tried that, but that's not where the settings come from to send a test email:

osqa/forum/utils/mail.py imports the mail settings from: osqa/forum/settings/email.py

I'm also using SVN release 1174

(13 Oct '11, 11:21) mrB

I have only found one location in their docs and they point to settings_local.py to configure your e-mail settings.

http://wiki.osqa.net/display/docs/OSQA+Installation+and+Upgrade+Guides

http://wiki.osqa.net/display/docs/OSQA+Administrator%27s+Guide#OSQAAdministrator%27sGuide-EmailSettings

(13 Oct '11, 13:59) bmeyer71 ♦♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×70
×43
×16

question asked: 12 Oct '11, 14:56

question was seen: 26,125 times

last updated: 13 Oct '11, 13:59

                              
WEBFACTION
REACH US
SUPPORT
LEGAL
© COPYRIGHT 2003-2020 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM