Question
I can run
BulkResetPassword for users with e-mail addresses on other servers, but it fails for e-mail addresses on the same domain as my TWiki server.
Note that I have an MX record set on the TWiki server to forward mail to another server.
Here's the log entry corresponding to the error:
[Tue Feb 13 00:38:48 2007] [error] [client 24.163.126.255] mod_security: Access denied with code 406. Error normalising REQUEST_URI: Invalid URL encoding detected: invalid characters used [hostname "wakechristianacademy.com"] [uri "/cgi-bin/twiki/bin/oops/TWiki/TWikiUsers?template=oopsattention;def=reset_ok;param1=%0a%0a%0a%3cspan%20class%3d'twikiAlert'%3e%0a%20%20%20%20%20%20%20%20%20%20%20%20ERROR:%20Can't%20send%20mail%20using%20Net::SMTP.%20%22The%20recipient%20cannot%20be%20verified.%20%20Please%20check%20all%20recipients%20of%20this%0amessage%20to%20verify%20they%20are%20valid.%22%0a%20at%20/usr/lib/perl5/5.8.5/CGI/Carp.pm%20line%20319%0a%09CGI::Carp::realdie('ERROR:%20Can%5c't%20send%20mail%20using%20Net::SMTP.%20%22The%20recipient%20canno...')%20called%20at%20/usr/lib/perl5/5.8.5/CGI/Carp.pm%20line%20396%0a%09CGI::Carp::die('ERROR:%20Can%5c't%20send%20mail%20using%20Net::SMTP.%20%22The%20recipient%20canno...')%20called%20at%20/home/webadmin/public_html/cgi-bin/twiki/lib/TWiki/Net.pm%20line%20366%0a%09TWiki::Net::_sendEmailByNetSMTP('TWiki::Net%3dHASH(0x12fd110)'%2c%20'Date:%20Tue%2c%2013%20Feb%202007%2005:38:46%20GMT%5cx%7ba%7dFrom:%20WCA%20TWiki%20Administr...')%20called%20at%20/home/webadmin/public_html/cgi-bin/twiki/lib/TWiki/Net.pm%20line%20244%0a%09TWiki::Net::__ANON__()%20called%20at%20/home/webadmin/public_html/cgi-bin/twiki/lib/CPAN/lib//Error.pm%20line%20379%0a%09eval%20%7b...%7d%20called%20at%20/home/webadmin/public_html/cgi-bin/twiki/lib/CPAN/lib//Error.pm%20line%20371%0a%09Error::subs::try('CODE(0x16c7de0)'%2c%20'HASH(0x1861ca0)')%20called%20at%20/home/webadmin/public_html/cgi-bin/twiki/lib/TWiki/Net.pm%20line%20260%0a%09TWiki::Net::sendEmail('TWiki::Net%3dHASH(0x12fd110)'%2c%20'From:%20WCA%20TWiki%20Administrator%20%3csteve_ims%40yahoo.com%3e%5cx%7ba%7dTo:%20LucyB...')%20called%20at%20/home/webadmin/public_html/cgi-bin/twiki/lib/TWiki/UI/Register.pm%20line%201178%0a%09TWiki::UI::Register::_sendEmail('TWiki%3dHASH(0x506160)'%2c%20'mailresetpassword'%2c%20'HASH(0x16c0b50)')%20called%20at%20/home/webadmin/public_html/cgi-bin/twiki/lib/TWiki/UI/Register.pm%20line%20562%0a%09TWiki::UI::Register::_resetUsersPassword('TWiki%3dHASH(0x506160)'%2c%20'LucyBrock'%2c%20'Welcome!%20The%20site%20is%20ready%20for%20your%20use.%20Please%20use%20the%20login...'%2c%20'SCALAR(0x1281c20)')%20called%20at%20/home/webadmin/public_html/cgi-bin/twiki/lib/TWiki/UI/Register.pm%20line%20510%0a%09TWiki::UI::Register::resetPassword('TWiki%3dHASH(0x506160)')%20called%20at%20/home/webadmin/public_html/cgi-bin/twiki/lib/TWiki/UI.pm%20line%20157%0a%09TWiki::UI::__ANON__()%20called%20at%20/home/webadmin/public_html/cgi-bin/twiki/lib/CPAN/lib//Error.pm%20line%20379%0a%09eval%20%7b...%7d%20called%20at%20/home/webadmin/public_html/cgi-bin/twiki/lib/CPAN/lib//Error.pm%20line%20371%0a%09Error::subs::try('CODE(0x506410)'%2c%20'HASH(0x16b3b90)')%20called%20at%20/home/webadmin/public_html/cgi-bin/twiki/lib/TWiki/UI.pm%20line%20197%0a%09TWiki::UI::run('CODE(0x127ded0)')%20called%0a%0aToo%20many%20failures%20sending%20mail%20%PARAM2%%20%PARAM3%%20%PARAM4%%3cbr%20/%3e%20%0a%3c/span%3e%0a%0a%0a%0a%3cspan%20class%3d'twikiAlert'%3e%0a%20%20%20%20%20%20%20A%20new%20*system-generated*%20password%20for%20your%20login%20name%20LucyBrock%20(%3cnop%3eWikiName%20Main.LucyBrock)%20has%20been%20sent%20to%20your%20registered%20e-mail%20address.%20If%20your%20e-mail%20address%20is%20no%20longer%20valid%2c%20please%20contact%20%3ca%20href%3d%22mailto:steve_ims%40yahoo.com%3fsubject%3dReset%20password%20request%20for%20%3cnop%3eLucyBrock/%3cnop%3eLucyBrock%22%3esteve_ims%40yahoo.com%3c/a%3e%3cbr%20/%3e%20%0a%3c/span%3e%0a"]
Thanks in advance.
Environment
--
SteveIms - 13 Feb 2007
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
The problem was in our hoster's DNS configuration.
I ran into another interesting problem: Our hoster filters 'echr' on CGI-BIN requests; 'echr' is a substring within our domain name. This causes a problem in redirects to templates where our domain name is part of the message (e.g. e-mail confirmations).
--
SteveIms - 17 Feb 2007