WebFaction
Community site: login faq

I know that WF provides mail boxes etc. but my client would like to use he's existing mail host. Now my app (django) sends email to his host, but since it's trying to send the emails during requests, it means there are a lot of timeouts because the remote host is taking too long to respond.

I have the option of using something like Celery to send emails in the background, but another option is to make use of a SMTP smarthost that will not deliver the email directly, but will relay it to another server. [1]

Is there any way to set up something like this on WF mailboxes, or am I better off just using something like Celery?

1 - http://stackful-dev.com/django-email-tricks-part-2.html

asked 25 Dec '13, 07:02

andre
1139
accept rate: 0%

edited 25 Dec '13, 07:03


I'm not sure that it's possible to build postfix as a non-root user, so I don't think you'd be able to use the smart host technique described in your link. I think you'd be better off using celery or some other task queue.

permanent link

answered 25 Dec '13, 13:35

seanf
12.2k41836
accept rate: 37%

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:

×909
×69
×38

question asked: 25 Dec '13, 07:02

question was seen: 2,260 times

last updated: 25 Dec '13, 13:35

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 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