I am porting scripts from Solaris to RHEL 5.x that contain mailx commands. It looks like Linux does not support the -r for return address?

On Solaris, mailx -r works, but on RHEL 5, it returns:
mailx: invalid option -- r

Is there an alternative for a return address in Linux? I would like to avoid changing all these scripts.