#100 Perl execution error in mail forwarding module


First of all, I think this is a bug because of the Perl
execution error. If this is a user/configuration error
please enlighten me...

If I login into usermin and go to the mail forwarding
module, I get this error:

Error - Perl execution failed
Undefined subroutine &mailbox::mailbox_file called
at ./forward-lib.pl line 11.
Compilation failed in require at /root/webmin/usermin-
1.021/forward/index.cgi line 5.

I tried usermin 1.010, 1.012 and the development version
1.021 in combination with webmin version 1.080 and

I looked at the code and saw that the mailbox object is
required from mailbox-lib.pl. So I searched for the sub
mailbox_file in mailbox-lib.pl and it was there (at line
224), so it's a bit strange to me.


  • Jamie Cameron

    Jamie Cameron - 2003-05-30

    Logged In: YES

    It looks like a bug in usermin , but oddly it doesn't happen
    on my systems!
    One possible cause could be incorrect permissions on the
    usermin-1.021 directory or its parents. Make sure that
    normal users (such as the user you are logging in as) can
    enter and read the mailbox/ subdirectory.
    This may not be the case if you have installed under /root
    instead of /usr/local .

  • Leon Schrijvers

    Leon Schrijvers - 2003-05-30

    Logged In: YES

    Argh I feel very stupid now.. I didn't think it would be a
    permission problem because all other modules were working
    fine. But I moved the usermin-1.021 directory to /usr/local and
    edited the miniserv.conf and it works great now.

    Well, thanks for your quick response and good luck with
    further development. :)

  • Leon Schrijvers

    Leon Schrijvers - 2003-05-30
    • status: open --> open-accepted
  • Jamie Cameron

    Jamie Cameron - 2003-05-31
    • status: open-accepted --> closed-accepted

Log in to post a comment.

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

Sign up for the SourceForge newsletter:

No, thanks