When someone sends email to one of a list of a few hundred email aliases, we would like to add some headers to help drive some of our internal processes associated with those aliases. These would only be added fot those specific aliases, not for every email.
We looked at a large PCRE table generated by a cron job that would match on the To: /RCPT_TO address from the header but that only supports one action per match and only single line replacements. We need to add multiple headers for that match. We have the attributes that would be needed for the extra headers in LDAP, so an ideal solution would be a way to use an LDAP match table that then triggers something else that can actually get the attributes from LDAP to use for substitution. But that doesn't appear to be possible either. Would the only way to really do this be a filter module that processes every email ? I've tried to read up as much as possible on the various documentation on mail filtering and processing before asking here. _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org