Hallo, Am Sat, 24 Apr 2004, Werner Merz schrieb:
David Haller wrote:
Am Sat, 24 Apr 2004, Werner Merz schrieb:
Der Schalter für Mail ist -r Also für dein Beispiel -r user@xy.ab
$ mail -r foo 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]
Come again?
Bei mir auf SuSE 9.0 kommt:
Usage: mail [-BFintv~] [-s subject] [-a attachment] [-c cc-addr] [-b bcc-addr] ------> [-r from-addr] [..] Daher mein Vorschlag.
Das ist bei mailx offenbar neu: $ rpm -qf `which mail` mailx-8.1.1-139
ABER Habe aber nun gemerkt, dass das gar nicht mail ist, sondern nail.
Frueher[tm] war 'mail' das eigentliche binary: $ ls -l `which mail` /usr/bin/mail{,x} lrwxrwxrwx [..] 15 Mar 21 2002 /bin/mail -> ../usr/bin/mail -rwxr-xr-x [..] 72992 Mar 24 2000 /usr/bin/mail lrwxrwxrwx [..] 4 Mar 21 2002 /usr/bin/mailx -> mail (die gehoeren alle zum o.g. mailx. -dnh -- If you haven't got time to RTFM, you haven't got time to whine on this mailing list.