Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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'
share|improve this question
add comment

3 Answers 3

up vote 1 down vote accepted

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

http://www.mangoorange.com/2008/09/15/sending-email-via-gmail-in-django/

share|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
add comment

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?

share|improve this answer
add comment

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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