[Mimedefang] Compliance

Jan Pieter Cornet johnpc at xs4all.nl
Tue Apr 12 08:30:18 EDT 2005


On Tue, Apr 12, 2005 at 08:00:57PM +0900, Alan Premselaar wrote:
> >>How are you checking quota?  Sounds interesting.
> >
> >Using the perl interface to quotactl, the Quota module. The big
> 
> On what system do you have this implemented? (linux? kernel?)

On FreeBSD 4.10 clients and a few linux 2.6 clients, netapp fileserver.

Both FreeBSD and the linux are perfectly able to fetch quota usage
for other userids, even if not running as root, using the perl
interface (at least for the NFS storage).

The system "/usr/bin/quota" command indeed doesn't allow asking for
quotas of other users.
 
> I'm playing around with an implementation on RedHat ES 3.0 and the 
> problem I'm running into is that MIMEDefang runs as the defang user, 
> Quota::query is only allowed to get quota information for other users if 
> run as the superuser.
> 
> did you run into these kind of issues? do you have a work around?

You probably have direct attached storage on the linux box? Apparently
that makes a difference. As a workaround, you could either run the
mimedefang slaves as root (not recommended) or run a specialised "quota
daemon", as root, that can perform the quota queries for you.

-- 
#!perl -wpl # mmfppfmpmmpp mmpffm <pmmppfmfpppppfmmmf at fpffmm4mmmpmfpmf.ppppmf>
$p=3-2*/[^\W\dmpf_]/i;s.[a-z]{$p}.vec($f=join('',$p-1?chr(sub{$_[0]*9+$_[1]*3+
$_[2]}->(map{/p|f/i+/f/i}split//,$&)+97):qw(m p f)[map{((ord$&)%32-1)/$_%3}(9,
3,1)]),5,1)='`'lt$&;$f.eig;                                # Jan-Pieter Cornet



More information about the MIMEDefang mailing list