Ralf Hildebrandt via Postfix-users:
> Hi!
> 
> I wonder if this is possible:
> 
> If a PCRE/regexp style map is triggering, it can be quite hard to
> find out WHICH pattern actually caused the action.
> 
> So maybe postmap (when invoked with "-b", "-h" or "-q key") could emit
> which regular expression (or which line it was in) actually matched.
> 
> Yes, I could give all my regular expressions patterns a unique RHS or
> find the regular expressions by divide-et-impera, but I'm being lazy.

After a rule is compiled, Postfix no longer has access to source
information, especially when information is stored externally such
as indexed files and LDAP or SQL databases.

Source information could be maintained with the en-memory tables
but that would add some bloat, and maybe disappoitment when some
tables have source info some don't.

        Wietse
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to