[ILUG-BOM] Different sender name in messages send by mail

Bilal Ahmed Mazhar bilal@[EMAIL-PROTECTED]
Sat Jan 1 09:38:54 IST 2005

Dear Amish Munshi

You may be using mailx instead of mail command. I get following error (i.e
syntax of mail command) when it is run as you suggested
#cat email.txt | mail -s "subject" -r sender at domain1.com
receiver at domain2.com
mail: invalid option -- r
Usage: mail [-iInv] [-s subject] [-c cc-addr] [-b bcc-addr] to-addr ...
                  [- sendmail-options ...]
            mail [-iInNv] -f [name]
            mail [-iInNv] [-u user]


More information about the Linuxers mailing list