https://bugs.contribs.org/show_bug.cgi?id=6020

Jean-Philippe Pialasse <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #21 from Jean-Philippe Pialasse <[email protected]> ---
sorry for getting this from ages.


looking at the script, it looks likes to me this is related to the way it is
sending the message :


sub send_reply()
{
    if (-f "$message_file")
    {
        open(MSG, "$message_file");
        undef $/;                       # Read in the entire file
        $vacation_msg = <MSG>;
        close(MSG);
    }
    else
    {
        # Do not generate a reply if the user doesn't have a message file
        # and -n was supplied on the command line.

        exit(0) if ($no_msg_no_reply);
    }

    my $type = ($vacation_msg =~ m/^<html/ && $vacation_msg =~ m/<\/html>/  ) ?
'html':'plain';

    $vacation_msg =~ s/\$SUBJECT/$subject/g;

    $mailprog = "/var/qmail/bin/datemail -t";

    open(MAILPROG, "| $mailprog");

    print MAILPROG << "EOF";
To: $sender
Precedence: junk
Content-Type: text/$type; charset="UTF-8"
EOF

    print MAILPROG $vacation_msg;

    close(MAILPROG);
}



could it be possible taht the datemail jsut hang if the concurrency limit of
qmail has been reached ?
do you see a way to check it before or to fail after x minutes ?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to