Home › Forums › OS X Server and Client Discussion › Mail › Invalid method in request error when sending webmail
- This topic has 2 replies, 1 voice, and was last updated 22 years, 8 months ago by
MadMan.
-
AuthorPosts
-
March 1, 2004 at 2:45 pm #357536
MadMan
ParticipantHi All,
The problem is this:
When WebMail (SquirrelMail) works fine and actually does send the message even when this error occurs, however the web page just sits there like nothing happened (in Safari). This error shows up in the web log:
[Mon Mar 1 08:56:37 2004] [error] [client xxx.xxx.xxx.xxx] Invalid method in request \x80m\x01\x03\x01
This happens on 2 different servers.
It get more interesting when you try it in IE 5.2.x. An alert message box pops up with this error:
“Security Failure. Data Decryption error.”
Any ideas? I’m not sure if it’s related to the other problem I posted because it happens if I login to web mail with either the long user name or the short user name
TIA,
MadMan
March 2, 2004 at 10:30 pm #357550MadMan
ParticipantOk, I tried this both on my test server and my production box and it fixed it.
Follow the instructions from the OSX Server Help files on configuring WebMail. I think it caused by not having the server/domain name set. Here are the instructions:
—–
You can configure these and other settings–such as which mail server provides mail service for WebMail–by running an interactive Perl script in a Terminal window, with root privileges. The script operates by reading original values from the config.php file and writing new values back to config.php.Important:?? If you use the interactive configuration script to change any SquirrelMail settings, you must also use the script to enter your server’s domain name. If you fail to do this, WebMail will be unable to send messages.
The WebMail configuration settings apply to all websites hosted by your web service.
In the Terminal application, type the following command and press Return:
sudo /etc/squirrelmail/config/conf.pl
Follow the instructions displayed in the Terminal window to change SquirrelMail settings as desired.
Change the domain name to your server’s real domain name, such as example.com.The domain name is the first item on the SquirrelMail script’s Server Settings menu.
The script operates by reading original values from config.php and writing new values back to config.php.
If you don’t enter the server’s actual domain name correctly, the interactive script replaces the original value, getenv(SERVER_NAME), with the same value but enclosed in single quotes. The quoted value no longer works as a function call to retrieve the domain name, and as a result WebMail can’t send messages.
WebMail configuration changes do not require restarting web service unless users are logged in to WebMail.
To further customize the appearance (for example, to provide a specific appearance for each of your websites), you need to know how to write PHP scripts. In addition, you need to become familiar with the SquirrelMail plug-in architecture and write your own SquirrelMail plug-ins.
—–Please me know if this works for you!
Best,
Steve MacLean
March 3, 2004 at 4:34 am #357555MadMan
ParticipantYes, the host name is correctly set on the server and shows up properly using that command.
I’m thinking that it might not have been set properly for the config of WebMail and by running the config program and setting it, it fixes the problem.
This happened on both my test server and my production box, which were both clean installs of Panther.
Best,
Steve
-
AuthorPosts
- You must be logged in to reply to this topic.