Hello everybody,
I deliver mails to my Postfix through smtpd. Postfix then takes it and sends it out to the recipient. Now I'm trying to change the queue_id for each email in Postfix 2.9 source code so that it is equal to the Message-ID (it is unique, don't worry) that I set in the email header when passing the email to Postfix through smtpd. I've looked in the source code for hours but cannot find the first time queue_id is set. In smtpd.c that (in my understanding) handles incoming mail through smtpd the variable state->queue_id is already used and only read but not written. I would really appreciate any tips where I can find the initial setting and on how I can set state->queue_id to Message-ID Thanks, Steffen