##
##  fsl.dbmail -- OSSP fsl configuration
##

ident (dbmail/imap4d)/.+ q{
    prefix(
        prefix="%b %d %H:%M:%S %N <%L> $1[%P]: "
    )
    -> {
        debug: file(
            path="@l_prefix@/var/dbmail/log/dbmail-imapd.log",
            perm=0600
        )
    }
};

ident (dbmail/lmtpd)/.+ q{
    prefix(
        prefix="%b %d %H:%M:%S %N <%L> $1[%P]: "
    )
    -> {
        debug: file(
            path="@l_prefix@/var/dbmail/log/dbmail-lmtpd.log",
            perm=0600
        )
    }
};

ident (dbmail/pop3d)/.+ q{
    prefix(
        prefix="%b %d %H:%M:%S %N <%L> $1[%P]: "
    )
    -> {
        debug: file(
            path="@l_prefix@/var/dbmail/log/dbmail-pop3d.log",
            perm=0600
        )
    }
};

ident (dbmail/timsieved)/.+ q{
    prefix(
        prefix="%b %d %H:%M:%S %N <%L> $1[%P]: "
    )
    -> {
        debug: file(
            path="@l_prefix@/var/dbmail/log/dbmail-timsieved.log",
            perm=0600
        )
    }
};

ident (dbmail/smtp)/.+ q{
    prefix(
        prefix="%b %d %H:%M:%S %N <%L> $1[%P]: "
    )
    -> {
        debug: file(
            path="@l_prefix@/var/dbmail/log/dbmail-smtp.log",
            perm=0600
        )
    }
};

ident (dbmail/sievecmd)/.+ q{
    prefix(
        prefix="%b %d %H:%M:%S %N <%L> $1[%P]: "
    )
    -> {
        debug: file(
            path="@l_prefix@/var/dbmail/log/dbmail-sievecmd.log",
            perm=0600
        )
    }
};

ident (dbmail/adduser)/.+ q{
    prefix(
        prefix="%b %d %H:%M:%S %N <%L> $1[%P]: "
    )
    -> {
        debug: file(
            path="@l_prefix@/var/dbmail/log/dbmail-adduser.log",
            perm=0600
        )
    }
};

ident (dbmail/maintenance)/.+ q{
    prefix(
        prefix="%b %d %H:%M:%S %N <%L> $1[%P]: "
    )
    -> {
        debug: file(
            path="@l_prefix@/var/dbmail/log/dbmail-maint.log",
            perm=0600
        )
    }
};

ident (dbmail/.+)/.+ q{
    prefix(
        prefix="%b %d %H:%M:%S %N <%L> $1[%P]: "
    )
    -> {
        debug: file(
            path="@l_prefix@/var/dbmail/log/dbmail-misc.log",
            perm=0600
        )
    }
};

