Shannon Adams
asked on
mailx -r not an option in Linux (return address)
I am porting scripts from Solaris to RHEL 5.x that contains mailx commands. It looks like Linux does not support the -r for return address in Linux?
On Solaris, this works:
mailx -r solaris@xyzcorp.com -s "solaris subject" sadams@xyzcorp.com
but on RHEL 5, it returns:
mailx: invalid option -- r
Is there an alternative for a return address in Linux using mailx? I would like to avoid changing all these scripts.
On Solaris, this works:
mailx -r solaris@xyzcorp.com -s "solaris subject" sadams@xyzcorp.com
but on RHEL 5, it returns:
mailx: invalid option -- r
Is there an alternative for a return address in Linux using mailx? I would like to avoid changing all these scripts.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.