For development purpose we want to set up a mail server (postfix) which directs all mails which are sent via a specific SMTP account to this same account.
edit: The mail shall no longer be sent to the original address.
So we would create different accounts for different projects, and all mail of one project goes to one mailbox.
We currently use this solution: Rewrite recipient of all (except one recipient) outgoing e-mail
But how can we adapt this to different destination addresses based on the SMTP AUTH account?