#2746 Missing dependency in sendmail/index.cgi

1.330
closed
Jamie Cameron
5
2007-03-02
2007-03-02
Anonymous
No

If a webmin user views the Sendmail queue, and has a filtered view of addresses in the queue (regex), and the queue is not empty, the user receives a "Perl execution failed" page:

"Undefined subroutine &main::mail_from_queue called at /usr/local/lib/webmin-1.330/sendmail/index.cgi line 63."

Fix seems to be to add:
require './boxes-lib.pl';
at line 6 of sendmail/index.cgi

Discussion

  • Jamie Cameron
    Jamie Cameron
    2007-03-02

    • status: open --> closed
     
  • Jamie Cameron
    Jamie Cameron
    2007-03-02

    Logged In: YES
    user_id=129364
    Originator: NO

    Thanks - your diagnosis was spot on. This will be fixed in the next Webmin release.