Re: [translate-pootle] Error sending mail: All recipients refused
Hello, Lars. According to netstat, ssmtp was not running (I think it's not a daemon, though), but I was able to send emails from the command line. Anyways, I've installed postfix and it's now working like a charm. Thank you very much for your help and your patience! Cheers! On 1/13/08, Lars Kruse [EMAIL PROTECTED] wrote: Hi Gustavo, 1) you surely did not forget to reconfigure the smtp server in pootle to point to localhost? Oh, sorry, I didn't set it to localhost. However, I've corrected that entry, restarted Pootle, but it's not working yet: When I create an account, I get message shown in the attached screenshot, but I never receive the activation email. is this output of pootle different from the previous output (without using a local ssmtp)? 2) please try to run the attached python script (python mailtest.py) on the pootle host. You should change the sender and recipient mail address to some realistic values (the domains may not be the ones that are managed by your mail hub). What is the output? Does the mail arrive at its destination? I've attached the output and the email doesn't arrive at its destination. the output looks like ssmtp is not running. Can you check it with something like netstat -lpn? regards, Lars - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Translate-pootle mailing list Translate-pootle@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/translate-pootle - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Translate-pootle mailing list Translate-pootle@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/translate-pootle
Re: [translate-pootle] Error sending mail: All recipients refused
Hello, Lars. On 1/13/08, Lars Kruse [EMAIL PROTECTED] wrote: Hi Gustavo, I configured AuthUser and AuthPass, and I could send emails after configuring ssmtp. hm - it looks, like I will run out of ideas quite soon ... just another two questions: 1) you surely did not forget to reconfigure the smtp server in pootle to point to localhost? Oh, sorry, I didn't set it to localhost. However, I've corrected that entry, restarted Pootle, but it's not working yet: When I create an account, I get message shown in the attached screenshot, but I never receive the activation email. 2) please try to run the attached python script (python mailtest.py) on the pootle host. You should change the sender and recipient mail address to some realistic values (the domains may not be the ones that are managed by your mail hub). What is the output? Does the mail arrive at its destination? I've attached the output and the email doesn't arrive at its destination. Thank you! - Gustavo. translate ~: python test.py Traceback (most recent call last): File test.py, line 5, in ? smtp.connect(localhost) File /usr/lib/python2.4/smtplib.py, line 310, in connect raise socket.error, msg socket.error: (111, 'Connection refused')- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ Translate-pootle mailing list Translate-pootle@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/translate-pootle
Re: [translate-pootle] Error sending mail: All recipients refused
Hi Gustavo, I configured AuthUser and AuthPass, and I could send emails after configuring ssmtp. hm - it looks, like I will run out of ideas quite soon ... just another two questions: 1) you surely did not forget to reconfigure the smtp server in pootle to point to localhost? 2) please try to run the attached python script (python mailtest.py) on the pootle host. You should change the sender and recipient mail address to some realistic values (the domains may not be the ones that are managed by your mail hub). What is the output? Does the mail arrive at its destination? good luck, Lars import smtplib smtp = smtplib.SMTP() smtp.connect(localhost) refused = smtp.sendmail([EMAIL PROTECTED], [EMAIL PROTECTED], test) print Refused recipients: %s % (refused,) - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ Translate-pootle mailing list Translate-pootle@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/translate-pootle
Re: [translate-pootle] Error sending mail: All recipients refused
Hi, Both the smtp server and the from address are right. Does it require a password? I'm fairly sure that this is a configuration issue for your SMTP server. Is there anything else on your machine using that mail server that is able to send mail out? The SMTP server has been working fine. We have mailing lists and dynamic websites that use that server everyday. However, Pootle and our SMTP server run on different hosts... Is there any problem with this? All of our websites are hosted on a shared host, except our Pootle installation (which has its own server). as you pointed out later, this sounds like a mail server configuration issue. If the mail server and the pootle server are not part of a private subnet, then the mail server will surely require some authentication before relaying arbitrary mail. (otherwise I would call it an open relay, which would be bad) Maybe you want to try if the mail server accepts mails from the pootle host by opening a smtp session manually? Just do: telnet $mailserver 25 and then: MAIL From: $your_from_address and finally: RCPT To: $some_destination_address I assume that the mail server will reject the recipient, since it is not managing the destination domain. As far as I can tell, pootle does not support smtp authentication for these cases. So maybe you want to use something like ssmtp or estmp for relaying the mail to the mail server. These programs support smtp authentication and act as a local mailserver (relay only). hope that helps, Lars - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Translate-pootle mailing list Translate-pootle@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/translate-pootle
Re: [translate-pootle] Error sending mail: All recipients refused
Op Woensdag 2007-12-05 skryf Gustavo Narea: Hello, everyone. Hi Gustavo I've installed Pootle on http://translate.gnulinuxmatters.org/, but every time I try to register an account, I get this error message: Error sending mail: All recipients refused. Both the smtp server and the from address are right. Does it require a password? I'm fairly sure that this is a configuration issue for your SMTP server. Is there anything else on your machine using that mail server that is able to send mail out? If there is some specific configuration that is needed by Pootle, I'm not aware of it, and we should document it on the wiki. On the other hand, in the admin section I can't remove users. I get the error message: Can't remove users. This is the output of the error log today: Yes, unfortunately we haven't implemented this yet. Personally I haven't really ever needed to do this :-) Seriously though, currently you can remove the entries manually from the users.prefs file if you really need to remove people. Just make sure you restart the server before Pootle might overwrite it again (new user registration or someone editing user preferences). The easiest is to do this while the server is down. Keep well Friedel - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ___ Translate-pootle mailing list Translate-pootle@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/translate-pootle