superuser access to aliases database file

Michael Surette msurette at
Wed Nov 26 21:34:04 CET 2003

I have written a python milter which needs to read the email aliases
database (a dbhash file).  Unfortunately this file is owned by root.  I
assume that this is for security reasons.  I am told that I shouldn't run
my milter as root, also for security reasons.

Is there a simple, secure way to read this file?

More information about the Python-list mailing list