#135 safe_mode + php-4.3.11 = messages not sent

closed-fixed
nobody
None
5
2006-08-01
2005-12-06
No

Well, with Safe mode = On I get messages do not really
sent, a copy of message appears in Sent but no error
warning say to me the message not really sent. With
Safe mode = Off all works fine.

I use rpm provide by Squirrelmail team and php from rpm
compiled by myself.

details:

Linux version 2.4.20-42.7.legacy

# rpm -qi squirrelmail-1.4.5-0.1.7.x
Name : squirrelmail Relocations:
(not relocateable)
Version : 1.4.5 Vendor:
squirrelmail.org

# rpm -qi php
Name : php Relocations:
(not relocateable)
Version : 4.3.11 Vendor:
RHX Apt Repository, http://open.rhx.it/apt

error_reporting = E_ALL & ~E_NOTICE

Discussion

  • Tomas Kuliavas
    Tomas Kuliavas
    2005-12-07

    Logged In: YES
    user_id=225877

    which method is used to send email?

    sendmail or smtp?

     
  • Tomas Kuliavas
    Tomas Kuliavas
    2005-12-08

    • assigned_to: nobody --> tokul
     
  • Tomas Kuliavas
    Tomas Kuliavas
    2005-12-08

    Logged In: YES
    user_id=225877

    Added pclose() status checks to sendmail delivery class
    finalizeStream() function.

     
  • Logged In: YES
    user_id=524021

    this is the configuration used

    $useSendmail = true;
    $smtpServerAddress = 'localhost';
    $smtpPort = 25;
    $sendmail_path = '/usr/sbin/sendmail';

    lrwxrwxrwx 1 root root 21 mar 28 2004
    /usr/sbin/sendmail -> /etc/alternatives/mta

    lrwxrwxrwx 1 root root 26 gen 28 2005
    /etc/alternatives/mta -> /usr/sbin/sendmail.postfix

    anyway is not very clear for me this option

    /**
    * Default send transport
    *
    * What should be used when sending email.
    * If it is set to false, SquirrelMail will use SMTP server
    settings.
    * If it is set to true, SquirrelMail will use program
    defined in
    * $sendmail_path
    * @global bool $useSendmail
    */

     
  • Tomas Kuliavas
    Tomas Kuliavas
    2005-12-08

    Logged In: YES
    user_id=225877

    SquirrelMail does not check pclose status in
    class/deliver/Deliver_SendMail.class.php

    Not sure if 1.5.1cvs fixes can be ported to 1.4.6. We need
    more testing in pclose() return values.

     
  • Tomas Kuliavas
    Tomas Kuliavas
    2006-02-19

    • assigned_to: tokul --> nobody
     
  • Tomas Kuliavas
    Tomas Kuliavas
    2006-08-01

    • status: open --> closed-fixed
     
  • Tomas Kuliavas
    Tomas Kuliavas
    2006-08-01

    Logged In: YES
    user_id=225877

    Fixed in 1.4.8cvs.