how can I set the "from:" field when using the mail linux command
Alexandros Droseltis
droselti at mathematik.hu-berlin.de
Tue Mar 1 23:23:46 EET 2005
On Tue, Mar 01, 2005 at 08:44:36PM +0200, Steve Stavropoulos wrote:
> On Tue, 1 Mar 2005, Michael Iatrou wrote:
>
> > <wild guess>
> > Μήπως το στοιχειώδες:
> >
> > $ cat some_file | mail -r foo at bar.gr kapios at hol.gr
> >
> > σου κάνει;
> > </wild guess>
> >
>
> Kala, pou thn brhkes thn option -r sto mail(1)?
# ls -l `which mail`
lrwxrwxrwx 1 root root 4 2004-12-16 13:12 /usr/bin/mail -> nail
Από το man 1 nail:
-r address
Sets the From address. Overrides any from variable specified in
environment or startup files. Tilde escapes are disabled. The
-r address options are passed to the mail transfer agent unless
SMTP is used.
# nail -V
nail 11.4 8/29/04
Αλέξανδρος
More information about the Linux-greek-users
mailing list