superuser access to aliases database file

Michael Surette msurette at laframboise.net
Wed Nov 26 15:34:04 EST 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