Matus UHLAR - fantomas:
I was curious if I could do a script that would do the same, with the same
possible issues.
I can do perl, but it looks neither python nor perl have interface to postfix
what could e.g. expand maps without calling external commands.
Among other things, it mainly acted as a proxy between Postfix and
Dovecot's quota-status to make sure that the quota query was done for a
real user instead of an alias.
One solution is when the table is in a real database (sql, etc.)
then you could use perl/pythobn/etc bindings.
Accessing Berkeley DB from perl or python may be possible but they
should adhere to the locking protocols that Postfix uses, typically
FCNTL-style shared locks for reading.
Wietse
I was told it will be migrated to a real database but since it is used
only internally it wasn't high on the priorities list :) .
Cheers,
K.