[translate-pootle] Error sending mail: All recipients refused
Hello, everyone. 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? 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: 2007-12-04 23:01:08: Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/Pootle/users.py", line 235, in handle page = self.getpage(pathwords, session, argdict) File "/usr/lib/python2.4/site-packages/Pootle/pootle.py", line 399, in getpage self.changeusers(session, argdict) File "/usr/lib/python2.4/site-packages/Pootle/users.py", line 321, in changeusers raise NotImplementedError("Can't remove users") NotImplementedError: Can't remove users 2007-12-04 23:02:40: Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/Pootle/users.py", line 235, in handle page = self.getpage(pathwords, session, argdict) File "/usr/lib/python2.4/site-packages/Pootle/pootle.py", line 399, in getpage self.changeusers(session, argdict) File "/usr/lib/python2.4/site-packages/Pootle/users.py", line 321, in changeusers raise NotImplementedError("Can't remove users") NotImplementedError: Can't remove users 2007-12-04 23:03:20: Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/Pootle/users.py", line 235, in handle page = self.getpage(pathwords, session, argdict) File "/usr/lib/python2.4/site-packages/Pootle/pootle.py", line 399, in getpage self.changeusers(session, argdict) File "/usr/lib/python2.4/site-packages/Pootle/users.py", line 321, in changeusers raise NotImplementedError("Can't remove users") NotImplementedError: Can't remove users Thanks in advance! - 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
Re: [translate-pootle] Error sending mail: All recipients refused
Hello, Friedel! On 12/5/07, F Wolff <[EMAIL PROTECTED]> wrote: > > 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? 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). > 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. I think it probably requires a password depending on the email server configuration. How could I get a backtrace in Pootle to debug this problem? > > 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. OK. Thank you very much, Friedel! > 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 > - 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
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
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
Hello. I'm sorry for answering this email so late; I didn't have enough time to try to fix it. Lars, I've installed ssmtp and it works fine; however, I'm still getting the same error in Pootle when someone tries to create an account; do I have to do something else? Anyways, /usr/bin/mail is a softlink to /usr/sbin/ssmtp Thanks in advance. On 12/9/07, Lars Kruse <[EMAIL PROTECTED]> wrote: > 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 > - 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, > Lars, I've installed ssmtp and it works fine; however, I'm still > getting the same error in Pootle when someone tries to create an > account; do I have to do something else? > > Anyways, /usr/bin/mail is a softlink to /usr/sbin/ssmtp just to make sure, that I understand you correctly: 1) did you configure "AuthUser" and "AuthPass" in ssmtp.conf? (otherwise your real mail server would (?) still refuse to relay mails for other domains) 2) did you manually try to send a mail to an external domain (not managed by your mailserver) via ssmtp? e.g.: echo foo | ssmtp -s "subject bar" [EMAIL PROTECTED] 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
Re: [translate-pootle] Error sending mail: All recipients refused
Hello, Lars. I configured AuthUser and AuthPass, and I could send emails after configuring ssmtp. Cheers! On 1/12/08, Lars Kruse <[EMAIL PROTECTED]> wrote: > Hi Gustavo, > > > Lars, I've installed ssmtp and it works fine; however, I'm still > > getting the same error in Pootle when someone tries to create an > > account; do I have to do something else? > > > > Anyways, /usr/bin/mail is a softlink to /usr/sbin/ssmtp > > just to make sure, that I understand you correctly: > > 1) did you configure "AuthUser" and "AuthPass" in ssmtp.conf? (otherwise > your > real mail server would (?) still refuse to relay mails for other domains) > > 2) did you manually try to send a mail to an external domain (not managed by > your mailserver) via ssmtp? > e.g.: echo foo | ssmtp -s "subject bar" [EMAIL PROTECTED] > > > 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
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
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, > > 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
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