Hello all, Is there a way to prepend a header in the received emails, according to the FROM and TO email address, with a script?
I have a list of email addresses in a text file, which has to be different for each user. Is there an option, for instance in header_checks, to use something like pcre:/etc/postfix/$recipient/headers_check.cf Or maybe an SQLite database would be enough. With a custom SQL query, I should be able to return the header to add, but how? Otherwise, I will start writing a custom milter. Thanks for your help. André