I've a Linode server and I've just deployed my application.

A feature of my application is to send email notifications to users when an event is triggered. I want only send mail from my server, for receive I use Google Apps.

I've installed postfix: apt-get install postfix

and as Linode guide says, I should send email from my application. But it doesn't work.

I've forgotten some configuration or other things to do for sending email?

This in my settings.py:

EMAIL_HOST: 'localhost'

Might be better to use gmail for that.. you won't get tagged with spammy emails on some hosts


| improve this answer | |
  • It might be better. But how about the speed? If I send with gmail isn't more slow than if I send from my server? – Fred Collins May 1 '11 at 13:11
  • easy.. offload the sending of email using like django-tasks or something – Mike May 1 '11 at 14:38
  • Yeah, I send email asynchronously. Works well. – Fred Collins May 1 '11 at 20:26

I am not familiar with linode, but a number of distributions ship with the service disabled. Is the postfix master actually listening on either port 25 or 587?

| improve this answer | |

Although sendmail and not postfix oriented, it may help: mail hosted at Google, web server elsewhere.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.