I would like to configure Postfix in out dev and stage environment to only save the emails like Papercut and Neptune?
It's very important that the actual emails are not sent but only saved, to be able to check them as part of the QA work.
I would like to configure Postfix in out dev and stage environment to only save the emails like Papercut and Neptune?
It's very important that the actual emails are not sent but only saved, to be able to check them as part of the QA work.
Use a regular expression map to rewrite all recipients. As long as your email is submitted via SMTP, this will suffice.
In main.cf
In /etc/postfix/recipients
Why setup a fully fledged mail server you could just use python to do that.