Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
How to configure nginx to serve mail for django
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Chris Pagnutti  
View profile  
 More options Nov 12 2012, 1:22 pm
From: Chris Pagnutti <chris.pagnu...@gmail.com>
Date: Mon, 12 Nov 2012 10:22:38 -0800 (PST)
Local: Mon, Nov 12 2012 1:22 pm
Subject: How to configure nginx to serve mail for django

Hi.  I'm using nginx+uwsgi to serve a django app.  I'd like to configure it
to be able to send mail with django's send_mail() and send_mass_mail()
functions.  I've played with the nginx configuration files using the
examples here
http://wiki.nginx.org/Configuration#Mail_examples

I have a very simple view that just does

from django.core.mail import send_mail
send_mail('Subject here', 'Here is the message.', 'f...@example.com',
    ['...@example.com'], fail_silently=False)

but with my email addresses in there of course.  The view doesn't throw any
exceptions, but it also doesn't send the email (or do anything else for
that matter).  Can someone help me with getting nginx to serve email for
django, or at least point me in the right direction?  Thanks to all.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nikolas Stevenson-Molnar  
View profile  
 More options Nov 12 2012, 1:47 pm
From: Nikolas Stevenson-Molnar <nik.mol...@consbio.org>
Date: Mon, 12 Nov 2012 10:46:03 -0800
Local: Mon, Nov 12 2012 1:46 pm
Subject: Re: How to configure nginx to serve mail for django

The nginx configuration examples you link to are all POP3 or IMAP.
Sending mail is SMTP. But even then, you need an SMTP server to proxy
/to/. In these examples, nginx is simply acting as a proxy, not as an
actual mail server. I would recommend using a bona fide SMTP server. Or
use one already available to you from your mail provider (e.g., if you
use GMail, you can configure Django to use GMail's mail servers to send
email).

_Nik

On 11/12/2012 10:22 AM, Chris Pagnutti wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Pagnutti  
View profile  
 More options Nov 12 2012, 3:51 pm
From: Chris Pagnutti <chris.pagnu...@gmail.com>
Date: Mon, 12 Nov 2012 12:51:57 -0800 (PST)
Local: Mon, Nov 12 2012 3:51 pm
Subject: Re: How to configure nginx to serve mail for django

Yeah.  Makes good sense.  I guess that Postfix is one of the more popular
options.  Is there any reason why I should NOT use postfix.

On Monday, November 12, 2012 1:47:03 PM UTC-5, Nikolas Stevenson-Molnar
wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Pagnutti  
View profile  
 More options Nov 12 2012, 8:48 pm
From: Chris Pagnutti <chris.pagnu...@gmail.com>
Date: Mon, 12 Nov 2012 20:48:04 -0500
Local: Mon, Nov 12 2012 8:48 pm
Subject: Re: How to configure nginx to serve mail for django

Not sure.  It's VPS and I was handed a Debian install with practically
nothing on it.  I even had to install make to be able to compile nginx.
 I'm looking into setting up Postfix+Dovecot+Roundcube (or SquirrelMail)

On Mon, Nov 12, 2012 at 8:37 PM, Dennis Lee Bieber <wlfr...@ix.netcom.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Pagnutti  
View profile  
 More options Nov 14 2012, 2:41 pm
From: Chris Pagnutti <chris.pagnu...@gmail.com>
Date: Wed, 14 Nov 2012 11:41:11 -0800 (PST)
Local: Wed, Nov 14 2012 2:41 pm
Subject: Re: How to configure nginx to serve mail for django

Good point.  At the moment, sending mail is my priority, but eventually
I'll want to receive and view mail as well.  Most guides I can find relate
to setting up both sides of the story, so I figure I might as well just do
it all at once.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Pagnutti  
View profile  
 More options Nov 14 2012, 7:19 pm
From: Chris Pagnutti <chris.pagnu...@gmail.com>
Date: Wed, 14 Nov 2012 19:18:21 -0500
Local: Wed, Nov 14 2012 7:18 pm
Subject: Re: How to configure nginx to serve mail for django

Webmail function as a django application = Totally awesome idea.

I'll probably need some other email addresses for non-administrator users,
so a friendly client would be nice.  Roundcube should do the trick for now,
but integrating the webmail into the django app itself would be rad.

On Wed, Nov 14, 2012 at 4:37 PM, Dennis Lee Bieber <wlfr...@ix.netcom.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »