I uninstalled postfix and installed sendmail; now, for the first time, a
password reset email went through.


Thanks,

On Tue, Jun 7, 2016 at 6:05 AM, C.J.S. Hayward <
christos.jonathan.hayw...@gmail.com> wrote:

> I have a Pinax installation where a classic Django "python manage.py
> send_mail doesn't seem to be working.
>
> I have a Debian server (Linux www 4.5.0-x86_64-linode65 #2 SMP Mon Mar 14
> 18:01:58 EDT 2016 x86_64 GNU/Linux), and postfix is installed.
>
> It is working at least far enough that if, from the command line, I type
> "echo foo | Mail ______________", it behaves predictably well and I receive
> the test email without problems.
>
> *However, the Django mail service on my Pinax installation seems to be a
> noop.* I have the following one-minute cron entry:
>
> * * * * * /home/cjsh/bin/______________-mail
>
> The referenced script is:
>
> #!/bin/bash
> source /home/cjsh/______________-env/bin/activate
> cd /home/cjsh/______________
> python manage.py send_mail >> /tmp/______________-mail.out 2>&1
>
> When I do a tail -f on the output file, and I do not do anything to
> generate a new email, the output makes sense:
>
> ------------------------------------------------------------------------
> acquiring lock...
> acquired.
> releasing lock...
> released.
>
> 0 sent; 0 deferred;
> done in 0.01 seconds
>
> And if I request a password reset to trigger sending a test email, the
> output looks like *that* is being handled appropriately, too:
>
> ------------------------------------------------------------------------
> acquiring lock...
> acquired.
> sending message 'Password reset e-mail sent' to _________________
> releasing lock...
> released.
>
> 1 sent; 0 deferred;
> done in 0.15 seconds
>
> But here's the problem. Although it reports an email is successfully sent,
> I have never seen an email sent by Pinax, including Gmail searches for
> "in:anywhere".
>
> What, if anything, can I do to either:
>
>    1. Install packages so that Pinax will have everything it needs for
>    routine Django "python manage.py send_mail" invocations to work, or
>    2. Configure Pinax to go through my pobox or gmail account, or
>    3. Do something else so that routine email notifications from Pinax go
>    out?
>
> Thanks,
>
>
> --
> [image: Christos Jonathan Seth Hayward] <https://cjshayward.com/>
> *C.J.S. Hayward <https://cjshayward.com/>*, a User Experience
> professional.
>
> Email <c...@cjshayward.com> • Flagship Website <https://cjshayward.com/>
>  • Github <https://github.com/jonathanhayward> • *LinkedIn
> <http://www.linkedin.com/in/jonathanhayward>* • Portfolio + More
> <http://jonathanhayward.com/> • *Recent Title
> <https://www.packtpub.com/application-development/reactive-programming-javascript>*
>  • Skills <http://jsh.name/>
>
> Loads of talent and a thorough grounding in all major academic disciplines
> supporting User Experience.
>



-- 
[image: Christos Jonathan Seth Hayward] <https://cjshayward.com/>
*C.J.S. Hayward <https://cjshayward.com/>*, a User Experience professional.

Email <c...@cjshayward.com> • Flagship Website <https://cjshayward.com/> •
Github <https://github.com/jonathanhayward> • *LinkedIn
<http://www.linkedin.com/in/jonathanhayward>* • Portfolio + More
<http://jonathanhayward.com/> • *Recent Title
<https://www.packtpub.com/application-development/reactive-programming-javascript>*
 • Skills <http://jsh.name/>

Loads of talent and a thorough grounding in all major academic disciplines
supporting User Experience.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAE6_B5SKVRzRJeaka%2BrDh8o%2BLikPXdn%3DAkMwuu6Nr8mJR%2BGVxw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to