Virtual Users And Domains With Postfix, Courier And MySQL

Discussion in 'HOWTO-Related Questions' started by merrsh1, Jul 21, 2007.

  1. merrsh1

    merrsh1 New Member

    Hi All,

    My setup works fine and I've now moved on to sorting out quota alerts for the postmaster.

    After setting up the script:

    /usr/local/sbin/quota_notify

    I now get daily emails but without any user details or usage stats. I have dived into the script and although my Perl is rusty I believe the error is that it is looking for a directory which does not exist, maildirsize inside of each users mail directory.

    i.e. "/home/vmail/domain/user/maildirsize"

    foreach my $user (keys %$href)
    {
    my $quotafile = "$href->{$user}/maildirsize";
    }


    The thing is this file wouldnt exist anyway as quota is handled via mysql. Can anyone shed some light on this problem?

    Cheers.
     

Share This Page