Your question can be expressed by this pseudocode
if (client == dev1 OR client == dev2)
if recipient == admin
pass it
else
redirect to devbox
else
pass it
Unfortunately, postfix doesn't have generic language (example vcl for varnish configuration) for handle the restriction and forwarding. So, we can try to solve it with hash table feature from postfix. I have two idea how to solve this problem.
Multiple ports solution
I assume, (by default) your dev and prod servers connect to smtp.example.com with same port (port 25). If you can modify the code and adjust firewall restriction, so dev1 and dev2 should connect to smtp.example.com with different port than 25(for example port 2525), then you can go with simple solution. If this scenario doesn't possible, you can skip this idea and go to solution 2.
To allow dev server connect to postfix via port 2525, set another smtpd instance with add this line in master.cf
2525 inet n - n - - smtpd -o smtpd_client_restrictions=check_recipient_access,pcre:/etc/postfix/devbox
Now, the content of /etc/postfix/devbox
/admin@example\.com/ OK
/devbox@example\.com/ OK
/.*/ REDIRECT devbox@example.com
Now, the prod server won't get the filter like above because they are connect to postfix via port 25. So, it can go through postfix like before.
Restriction Classes Solution
If scenario like first idea wasn't possible, then you can achieve it with restriction class. To do this you can use postfix feature called restriction classes. See
In main.cf add this line
smtpd_restriction_classes = devbox
devbox = check_recipient_access pcre:/etc/postfix/devbox
smtpd_recipient_restrictions =
...
check_client_access hash:/etc/postfix/emailrouting,
...
Content of /etc/postfix/emailrouting
dev1.example.com devbox
dev2.example.com devbox
Content of /etc/postfix/devbox
/admin@example\.com/ OK
/devbox@example\.com/ OK
/.*/ REDIRECT devbox@example.com