Depends on how you want to use this relay server. A simplest way is, add a normal mail user on iRedMail, then on other mail server, use this mail user account (with password) as relay authentication user.
Again, you'd better explain your use case in details.