Skip to main content

Thread: "-r" flag for mailx not working?


hey everyone.

set email server @ work on ubuntu box, running exim4. seems working fine, when try change "from" header in message, not letting me.

wanted send message root user "admin".

assumed easy as:

code:
 mailx -r admin recepientname
but reason mailx program claiming "-r" not legitimate tag, when try tells me:

code:
 mail: invalid option -- r  usage: mail [-eiinv] [-a header] [-b bcc-addr] [-c cc-addr] [-s subject] to-addr ...              [-- sendmail-options ...]         mail [-eiinnv] -f [name]         mail [-eiinnv] [-u user]
i'm pretty new ubuntu , unix in general, beginner-level appreciated!

there several packages provide mailx command. 10.04 lucid:
code:
bsd-mailx - simple mail user agent heirloom-mailx - feature-rich bsd mail(1) mailutils - gnu mailutils utilities handling mail
you have bsd-mailx package installed, not support -r option. replace heirloom-mailx package support -r option. (or use sendmail -r (or -f) directly.)


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] "-r" flag for mailx not working?


Ubuntu

Comments

Popular posts from this blog

Joomla site hacked, cant see front and - Joomla! Forum - community, help and support

Christian Home School Programs - Joomla! Forum - community, help and support

Trouble with PF_OutFlag_I_USE_AUDIO and PF_CHECKOUT_LAYER_AUDIO