|
I just installed OSQA at qa.iggsandbox.com and everything seems to be working properly, but it won't send emails. I've configured the email settings in the admin dashboard (same settings as we use in our email clients), checked and double-checked them, even tried configuring a Gmail account there instead. The test email button doesn't report an error, but no emails are ever received. django.osqa.log says:
I've read through the other questions & answers on this board regarding email configuration and haven't turned up any useful information. I have debugging turned on; is there some way I can at least get more information about the problem? Any help would be appreciated here, thanks. We're running CentOS 5 with Python 2.7, Django 1.3.1, and OSQA Fantasy Island Beta 3. |
|
From your Administrator control panel, goto 'Email Settings' and check your settings. If you are using localhost, then make sure your CentOS server is running the SMTP sendmail service and the port 25 is open. Step 1. Check if Sendmail is Running for which execute the following command :
If you get the output something like this
Great Your Copy of Sendmail is Running OR Type the command in the terminal
You can see Sendmail Starting
Step 2. Next Step is to check Sendmail Listening IP:port. Listening IP:Port is nothing but the IP address and port number on which sendmail has started and will accept mails other than which connection would be refused. To Check enter the following:
If You Get the resultant as this
Good !!! Your sendmail is ready to accept connection on all the interfaces of your machine. Here “0.0.0.0:587” is Sendmail Mail Submission Port and “0.0.0.0:25” is used to Send mail to External SMTP Source. IF You Need to make sendmail listen on specific port you need to change the sendmail.mc and Build a new Sendmail.cf which we would cover in the Sendmail Configuration Part.
BY Default Sendmail Does not allow mails to be relayed to external sources. We need to make sendmail configuration to perform such tasks. In this example we’ll send mail to local user which is “root” Step 3. Now the Final Steps is to check if Mail are sent properly We’ll use Telnet if you are not familiar with telnet don’t worry just copy the code and it will do the magic for you.
Once You receive the final Message accepted for delivery. Now the sendmail works. Again check if the OSQA is sending out emails. It should. Thanks, this is very helpful. As it turns out, sendmail is not installed at all; our server uses exim instead. Is there any way to have OSQA use exim, or do I need to figure out how to configure sendmail to run alongside exim? Update: I continued with your directions, substituting exim for sendmail, and I was able to connect to the mail server via telnet and send a message. I used the same connection settings that OSQA has, but OSQA is still unable to send emails. Any further thoughts?
(02 Feb, 13:35)
igg_jon
|

We're having the same problem on our server. Has anybody been able to configure this successfully and can share how to?