Ask Your Question

How to set up outgoing email?

asked 2011-06-03 17:49:04 -0500

NoahY's avatar

One more question, that I can't find answers to either in the documentation or elsewhere.

How to set up outgoing email? I don't know what I need to do besides editing

EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'

I am using exim4 as my MTA. With the settings above, I am getting no emails, but I don't know how to find out what's wrong. Is there something I have to do with exim4? Otherwise exim4 is working fine.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2011-06-03 17:55:28 -0500

Evgeny's avatar

Are you sure your exim4 is listening on port 25 of localhost? Maybe the exim4 has some logging facility.

The easiest way to test emails is to send something through the feedback form.

edit flag offensive delete link more


Feedback form... didn't even know I had one of those... where is the link to that? I found it at mysite/feedback, but I don't see a link anywhere. The feedback is getting to exim4, the exim log says "no IP address found for host" and afaics, the feedback doesn't get sent. Where is it being sent to, the address under ADMINS?
NoahY's avatar NoahY  ( 2011-06-03 18:37:28 -0500 )edit
I know it should work, because mailman is able to use my exim4 setup. And yes, it is listening on port 25.
NoahY's avatar NoahY  ( 2011-06-03 18:38:22 -0500 )edit
Okay, I figured it out... I had to add my IP address to the list of internal IPs after `INTERNAL_IPS = ('',`
NoahY's avatar NoahY  ( 2011-06-03 19:04:17 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2011-06-03 17:49:04 -0500

Seen: 2,426 times

Last updated: Jun 03 '11