Ok thanks for the answer I imagined.
I didn't trust putting the start in rc.local because it's quite delicate and could influence the router start. I preferred to create a script in /etc/init.d and start my script as a service.
Strange because I had installed and configured postfix and when I upgraded I lost the postfix installation but the configuration under /etc/postfix remained.