Sample Header Ad - 728x90

Can msmtp rewrite *all* recipient addresses?

1 vote
1 answer
991 views
I'm using msmtp to deliver system email from an Ubuntu server via an SMTP account. Can I somehow configure this setup to rewrite **all** emails to one specific **recipient address**? If so, how? Or put differently, I don't want any arbitrary PHP script or otherwise to be able to send email to anybody that is not me. I should be the only person that receives any email generated by any script on the server. All while only using msmtp (not using postfix or some other server).
Asked by chmac (140 rep)
Sep 15, 2021, 10:43 AM
Last activity: Jun 29, 2022, 06:03 AM