AFP548 Changing the world one server at a time.

MadMan

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Invalid method in request error when sending webmail #357555
    MadMan
    Participant

    Yes, 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

    in reply to: Invalid method in request error when sending webmail #357550
    MadMan
    Participant

    Ok, 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

    in reply to: Authentication Errors with SMTP (Sending from Mail) #357539
    MadMan
    Participant

    MacTroll wrote:

    make them a second short name with the full e-mail address in it.

    It’s best if you ignore the long name except for something easy for you to look at since it is a bit of a crap shoot as to what services will understand it.

    Joel

    Thanks Joel!!! Works like a charm 😀

    One down, one to go 😉

Viewing 3 posts - 1 through 3 (of 3 total)