Hello,

I'd like to create a mysql lookup table for header_checks.
I think the following should do the trick:

header_checks = mysql:/etc/posfix/header_checks.cf

header_checks.cf might look like:

user = someone
password = some_password
dbname = customer_database
query = some query here


However, I'm stuck with specifying the database. My task is to let
the dbname be the local part of the rcpt to envelope address:

eg. "dbname = user1" for user1@mydomain

The used environment can guarantee that there's only one single
recipient specified for one smtp transaction.

Is it possible to setup such configuration?

Bela

Reply via email to