What is the best practice when one has to implement this sort of ruleset in postfix?
- Email sent to
a@example.com
,b@example.com
, etc ought to be relayed tosmtp.a.example.com
. - Email sent to
[everyone else]@example.com
ought to be relayed tosmtp.b.example.com
.
Ideally this shouldn't depend on the content of the message - just the RCPT TO
SMTP command.