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:
but reason mailx program claiming "-r" not legitimate tag, when try tells me:code:mailx -r admin recepientname
i'm pretty new ubuntu , unix in general, beginner-level appreciated!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]
there several packages provide mailx command. 10.04 lucid:
you have bsd-mailx package installed, not support -r option. replace heirloom-mailx package support -r option. (or use sendmail -r (or -f) directly.)code:bsd-mailx - simple mail user agent heirloom-mailx - feature-rich bsd mail(1) mailutils - gnu mailutils utilities handling mail
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] "-r" flag for mailx not working?
Ubuntu
Comments
Post a Comment