Acho que você está procurando por dpkg-divert .
A partir dos documentos: 11.8 Como faço para substituir um arquivo instalado por um pacote? , de modo que uma versão diferente possa ser usada? .
trecho de documentos
Suppose a sysadmin or local user wishes to use a program "login-local" rather than the program "login" provided by the Debian login package.
Do not:
Overwrite
/bin/loginwithlogin-local.The package management system will not know about this change, and will simply overwrite your custom
/bin/loginwheneverlogin(or any package that provides/bin/login) is installed or updated.Rather, do
Execute:
$ sudo dpkg-divert --divert /bin/login.debian /bin/loginin order to cause all future installations of the Debian
loginpackage to write the file/bin/loginto/bin/login.debianinstead.Then execute:
$ sudo cp login-local /bin/loginto move your own locally-built program into place.
Run
dpkg-divert --listto see which diversions are currently active on your system.Details are given in the manual page
dpkg-divert(8).
Eu determinaria qual pacote o script de inicialização original do Postfix era diferente e desviasse apenas esse arquivo com sua versão modificada.