Hallo, 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?
Wie bringe ich sendmail das bcc/cc bei ?
cc geht mit dem Schalter -c bcc geht mit dem Schalter -b Subject mit dem Schalter -s
Jetzt hast du aber mail und sendmail _GRUENDLICH_ durcheinander- gebracht. Das eine ist ein MUA, das andere ein MTA. $ man -Tascii sendmail | grep -- '-b\|-c\|-s' -ba Go into ARPANET mode. All input lines must end with a CR-LF, -bd Run as a daemon. This requires Berkeley IPC. Sendmail will -bD Same as -bd except runs in foreground. -bh Print the persistent host status database. -bH Purge the persistent host status database. -bi Initialize the alias database. -bm Deliver mail in the usual way (default). -bp Print a listing of the queue. -bs Use the SMTP protocol as described in RFC821 on standard in- -ba flag that are compatible with SMTP. -bt Run in address test mode. This mode reads addresses and -bv Verify names only - do not try to collect or deliver a mes- in background. This option can be used safely with -bd. to servers that support DSNs and is returned in DSN-compliant Save UNIX-style From lines at the front of messages. to mode: m (mimefy) will convert to seven-bit MIME format, p Sets the default character set used to label 8-bit data that with the envelope recipients, add-bcc adds an empty Bcc: msgs: "|/usr/bin/msgs -s"
In 'man mail' findest Du weitere Infos.
Fascles Programm. -dnh -- If you haven't got time to RTFM, you haven't got time to whine on this mailing list.