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:
- Install packages so that Pinax will have everything it needs for routine Django "python manage.py send_mail" invocations to work, or
- Configure Pinax to go through my pobox or gmail account, or
- Do something else so that routine email notifications from Pinax go out?
Thanks,
![]() | C.J.S. Hayward, a User Experience professional. Email • Flagship Website • Github • LinkedIn • Portfolio + More • Recent Title • Skills 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+unsubscribe@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_B5Qe8Z-RAaN8rU05O9GE_f7RE6XbUALxrSsuFKS%3DuRpgqg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:
Post a Comment