Thanks to all. Im getting closer. At least the command is trying to run. I get
   Unable to retrieve quota.  In my httpd/error_log:
quota: dhottinger (uid 3548): Permission denied
sudo: sorry, you must have a tty to run sudo

I made apache the owner of /usr/bin/quota and I added :
apache  ALL = NOPASSWD: /usr/bin/quota
apache ALL = NOPASSWD: /bin/grep
to my sudoers file.  Im so close I can see it working.  Thanks Guys.

ddh


Quoting Jason Clifton <[EMAIL PROTECTED]>:

Im using the command driver, here are the relevant settings in servers.php
$servers['imap'] = array(
    'name' => 'IMAP Server',
    'server' => 'xxxxx',
    'hordeauth' => true,
    'protocol' => 'imap/notls',
    'port' => 143,
    'maildomain' => 'xxxxxxxx',
    'smtphost' => 'xxxxxxxxx',
    'smtpport' => 25,
    'realm' => '',
    'preferred' => '',
        'quota' => array(
            'driver' => 'command',
                     'params' => array(
                              'quota_path' => 'sudo /usr/bin/quota',
                              'grep_path'  => '/usr/bin/grep',
                              'partition'  => '/dev/sda7'
),
        ),

);

Quoting [EMAIL PROTECTED]:

I got nothing. No error code either. I get the last login when you initially login to imp. Nothing else. How do you have your servers.php etc setup?

Quoting Jason Clifton <[EMAIL PROTECTED]>:

Imp on my server gives a running total % and bytes of how much space
you have used and total on every imp page...

Quoting [EMAIL PROTECTED]:

Well,
It looks like if the user is overquota they get a message from Imp when trying to move or delete messages saying they are over quota. Is this the only quota message that IMP provices? I would like user's to have a way to check their quota, like in the older version of accounts that had a quota tab that they clicked on. My mail server sends an email daily to users that are over quota. They have 14 days to get under quota and then their accounts are locked. If I cant get some means for them to check quota I will have to disable it on the server, and that could get real ugly.

thanks,

ddh


--
Dwayne Hottinger
Network Administrator
Harrisonburg City Public Schools

--
IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [EMAIL PROTECTED]



--
Jason Clifton
City Diesel
www.citydiesel.net
--
IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [EMAIL PROTECTED]



--
Dwayne Hottinger
Network Administrator
Harrisonburg City Public Schools

--
IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [EMAIL PROTECTED]



--
Jason Clifton
City Diesel
www.citydiesel.net
--
IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [EMAIL PROTECTED]



--
Dwayne Hottinger
Network Administrator
Harrisonburg City Public Schools

--
IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [EMAIL PROTECTED]

Reply via email to