#1833 XP won't send mail

closed-works-for-me
nobody
Compose (426)
7
2006-10-08
2005-07-28
No

I"m having users unable to send mail on certain
platforms. They click the send button, then get a
Windows error page. I've confirmed this behaviour
with IE and Firefox on XP SP2. Oddly, Safari is
immune, and after some effort, I"ve got Netscape on
Irix to work - but more on that later.

Setup:

RH 7.3 with apache-1.3.27-6.legacy
php-4.1.2-7.3.17.legacy
mod_ssl-2.8.12-7.legacy
kernel-2.4.20-43.7.legacy
postfix-1.1.12-0.7
imap-2001a-10.1.legacy

PHP settings:

max_execution_time 30
memory_limit = 33M
file_uploads = On

Apache settings:

KeepAliveTimeout 64
Timeout 128

/var/spool/mail is drwxrwxrwt

There is free memory and disk space, and
apache,postfix and imap seem to spawn normally.
Squirrelmail (v1.45) sends mail via SMTP to localhost
as we're running in safe mode.

I tried some of the IMAP tuning tips from the SM
faq. No joy. Tried to use IE both in SSL and
cleartext modes. No joy. When I started playing round
with my Irix box I got some helpfull error messages,
compaining about invalid security certs (yup, we use
self-signed) on the "send" page. I got a similar
message with a Windows 95 emulator, so I disabled SSL
in httpd.conf. Now Netscape on Irix sends mail fine,
but I still have no way of sending mail via XP.

Any ideas?

John

Discussion

  • john perkins

    john perkins - 2005-07-28
    • priority: 5 --> 7
     
  • Tomas Kuliavas

    Tomas Kuliavas - 2005-07-28

    Logged In: YES
    user_id=225877

    What kind of error page?

    Which plugins you have enabled in your SquirrelMail install?

     
  • john perkins

    john perkins - 2005-07-28

    Logged In: YES
    user_id=1320119

    Originally the error page was along the lines of "cannot
    dispaly page. check your connections and try again". Really
    helpful. Now, post perfomance tuning, there is no error
    page, the progress bar increments, but no new page is
    displayed and no email is sent.

    Plugins: just calendar

     
  • Jonathan Angliss

    Logged In: YES
    user_id=620333

    I believe this comes up a bit from time to time on the users
    list. I think it has something to do with the SSL
    environmental variables. PHP is reporting that SSL is
    enabled, and that SM is running in an SSL environment, on
    port 80. SM attempts to redirect the compose page to
    https://site:80/src/compose.php (or the followup page
    src/right_main.php), and generates an error because it's
    attempting to access an SSL site, over an http port. This
    also behaves inversily as well, it attempts to use no SSL
    over port 443.

    Can you confirm if the email is sent or not? If it is sent,
    and you get the error message, could you do some tests for us?

    In functions/strings.php is a function get_location at line
    200. About half way through the function at around 223 you
    should see:

    $getEnvVar = .....

    Could you do the following after that line:

    if (isset($getEnvVar)) {
    echo 'Env Var [' . $getEnvVar . ']<br>';
    } else {
    echo 'No EnvVar<br>';
    }

    if (sqgetGlobalVar('HTTPS', $https_on, SQ_SERVER)) {
    echo 'https_on : [' . $https_on . ']<br>';
    } else {
    echo 'no https_on<br>';
    }

    if (sqgetGlobalVar('SERVER_PORT', $server_port, SQ_SERVER)) {
    echo 'server_port: [' . $server_port . ']<br>';
    } else {
    echo 'no server_port<br>';
    }

    When you next send your message, you should get output at
    the top of the screen. Paste the results here.

     
  • john perkins

    john perkins - 2005-08-11

    Logged In: YES
    user_id=1320119

    OK, I've added the debug code to strings.php. No joy, IE brings up a
    "Cannot find server or DNS Error" page still.

    That said, using Safari, sending mail was the same as usual, I didn't see
    any output from the debug code.

    The file looks as follows:
    ....

    $getEnvVar = getenv('HTTPS');

    if (isset($getEnvVar)) {
    echo 'Env Var [' . $getEnvVar . ']<br>';
    } else {
    echo 'No EnvVar<br>';
    }
    etc...

    Wrong place to have the debug code?

    Looking at the srtings.php code, there's some mention of SSLOptions
    +StdEnvVars in Apache config, which isn't in my httpd.conf. Is that an
    Apache 2.0x option?

     
  • john perkins

    john perkins - 2005-08-11

    Logged In: YES
    user_id=1320119

    Oh, just to confirm, no, XP can't send mail, nothing is saved in sent items,
    and nothing is sent. Just that darned unhelpfull Microsoft error page.

     
  • Tomas Kuliavas

    Tomas Kuliavas - 2005-08-11

    Logged In: YES
    user_id=225877

    can you check doc/ie_ssl.txt document. It is part of
    SquirrelMail package and provides some thoughs about IE SSL
    problems.

    can you try disabling use of http 1.1 in browser's options?

     
  • john perkins

    john perkins - 2005-08-11

    Logged In: YES
    user_id=1320119

    I already have:

    BrowserMatch "MSIE" nokeepalive downgrade-1.0 force-response-1.0

    in httpd.conf. Trying IE with http 1.0 and TLS/SSL disabled on the client
    gets the same Windows error page. (But I can still get the login page, even
    though it's on a virtualhost that shares an IP address using http 1.1. Is that
    in the http 1.0 spec? )

     
  • Tomas Kuliavas

    Tomas Kuliavas - 2005-08-11

    Logged In: YES
    user_id=225877

    attached modified configtest.php script.

    replace original squirrelmail src/configtest.php file, open
    it in IE
    (http://your-server/squirrelmail/src/configtest.php) and
    check three lines after Base URL detected as:

     
  • john perkins

    john perkins - 2005-08-11

    Logged In: YES
    user_id=1320119

    Thanks tokul.

    The URL is http://mail.ripserve.com/src
    Env Var []
    no https_on
    server_port:[80]

    Not looking good. I guess the next step is sniffing packets.

     
  • john perkins

    john perkins - 2005-08-11

    Logged In: YES
    user_id=1320119

    Just noticed the cofig file is from version 1.40, but the rest of SM is 1.45.
    Is that a problem?

     
  • Tomas Kuliavas

    Tomas Kuliavas - 2005-08-11

    Logged In: YES
    user_id=225877

    configuration file version indicates internal configuration
    file version. All SquirrelMail 1.4.x and 1.5.x versions use
    1.4.0. We might have to increase version in 1.5.1cvs due to
    some changes in $plugins configuration, but configuration
    file with 1.4.0 internal version should work without big
    problems in any SquirrelMail 1.4.x or 1.5.x version.

     
  • Nobody/Anonymous

    Logged In: NO

    Just encountered the same error. I'm using firefox on linux
    and have no problem, but a user has problems, using XP. The
    XP user cleared all temporary intenret files and after going
    online once, the problem returned. weird.

     
  • Tomas Kuliavas

    Tomas Kuliavas - 2006-10-08

    Logged In: YES
    user_id=225877

    Sorry. Can't reproduce it. Issue might be specific to your
    setup or some IE bug.

    We must reproduce bug in order to understand it. If we can't
    do that, we can't fix it.

     
  • Tomas Kuliavas

    Tomas Kuliavas - 2006-10-08
    • status: open --> closed-works-for-me
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks