• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question Qmail code modifying is not reflecting after replacing qmail binaries

visu_byahatti

New Pleskian
This is regarding the qmail code compilation and usage. I have done some changes in 'newfield.c' part of qmail code say 'msgidfmt' function.
I replaced qmail-inject and qmail-send binaries after compiling the code.

The changes done in file 'newfield.c' is not reflecting or working, not sure what is the reason.
But the changes done in qmail-send.c is reflecting. I am sure its not the compilation issue.

Can anyone let me know what binaries I have to use after building it, to get it work?

Changes done as below:
Appending a random number to the original format of 'Message-ID'.
Original Format:
<timestamp.processid.qmail@local-host>

Appended Format:
<timestamp.processid.<random_number>.qmail@local-host>

Example:
Message-ID: <20010603110559.7877.<335>.qmail@[10.198.162.99]>
 
Back
Top