On Wed, 21 Feb 2007 08:21:51 +0100, Jens Weibler <[EMAIL PROTECTED]> wrote:

> My wish would be: I can configure inside the plugins-config which
> plugins where used normally and which are used while relaying.


I have a patch to lib/Qpsmtpd.pm (not a plugin) that
allows configs per-host, per-role and per-client, with
inheritance.  Host=$(hostname). Role=mx or Role=submission.
Client=hosting_customer_name.

By inheritance, I mean the first entry for "file" found in this list
is used:

        config/PERHOST/$HOST/file
        config/PERHOST/$CLIENT/$ROLE/file
        config/PERHOST/$CLIENT/file
        config/PERHOST/$ROLE/file
        config/file

HOST, ROLE and CLIENT are stored in config/PERHOST/id.

I use this scheme to store configs for several separate qpsmtpd instances
in one svn+svk tree.


Is there interest?

My local branch is quite a bit out of sync with qpsmtpd's svn trunk,
so before I put in the effort to port this to trunk, tell me, is there
interest?

Brian

Reply via email to