problem with mailx using -r and -s

From: Ken Cooke <kjc_at_nv.doe.gov>
Date: Fri, 08 Dec 2000 09:09:18 -0800

I'm trying to setup a cron job to send mail out after the job is completed.
But I want the mail to come with a different reply to address. I have tried
the following mailx commands:

mailx -r cookekj -s "Test job finished" users

The above job sends the mail message with the correct reply to address but
no subject.

mailx -s "Test job finished" users

This command sends the mail message with the correct subject but not the
correct reply to.

mailx -r cookekj users

Sends the mail message with the correct reply to address but no subject.

Is it possible to use both the -r and -s options on the same mailx command
line?

I am running DUX 4.0f.

Thanks in advance

Ken Cooke
cookekj_at_nv.doe.gov
Bechtel Nevada
Las Vegas NV 89193
Received on Fri Dec 08 2000 - 17:10:30 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:41 NZDT