That's not how things work at all.
For context, I'm the author of Haraka, a popular open source SMTP server.
SMTP servers don't necessarily store anything. They have two responsibilities: Receiving and delivering email. What they do with the emails they receive is up to the configuration.