from(1B) SunOS/BSD Compatibility Package Commands from(1B)NAME
from - display the sender and date of newly-arrived mail messages
SYNOPSIS
/usr/ucb/from [-s sender] [username]
DESCRIPTION
The from utility prints out the mail header lines in your mailbox file to show you who your mail is from. If username is specified, user-
name's mailbox is examined instead of your own.
OPTIONS
The following option is supported:
-s sender Only display headers for mail sent by sender.
USAGE
See largefile(5) for the description of the behavior of from when encountering files greater than or equal to 2 Gbyte ( 2**31 bytes).
FILES
/var/mail/*
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWscpu |
+-----------------------------+-----------------------------+
SEE ALSO biff(1B), mail(1B), attributes(5), largefile(5)SunOS 5.10 28 Jan 2004 from(1B)
Check Out this Related Man Page
mail(1B) SunOS/BSD Compatibility Package Commands mail(1B)NAME
mail, Mail - interactive message processing system
SYNOPSIS
/usr/ucb/mail ...
/usr/ucb/Mail ...
DESCRIPTION
/usr/ucb/mail and /usr/ucb/Mail are provided as links to /usr/bin/mailx. See mailx(1) for more information on the usage of these commands.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
/usr/ucb/mail
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWscpu |
+-----------------------------+-----------------------------+
/usr/ucb/Mail
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWscpu |
+-----------------------------+-----------------------------+
SEE ALSO mailx(1),attributes(5)SunOS 5.11 19 Aug 1998 mail(1B)
Hello guys,
I'm in desperate need. I need to write a script that behaves like a "mail" shell program.
I've a base of the program -menu and so on, but what I cannot do is how to read messages from /var/mail/user. I would like to separate them as "mail" program does, but I;m just a newbie and... (21 Replies)
I used to be able to do the following command on HP while largefile was being written to.
> echo " " > largefile
When I try the same on Solaris I get a message that the file already exists.
Is there a parameter that I need to setup in my env ?
Thanks in advance (8 Replies)
Dear unix forum members,
I'm working on a script that will parse a mail machine's logs and print a list of email addresses in this format:
sender@domain,recipient@domain
The logs look something like this:
06:50:04 0048317AC863: client=localhost.com
06:50:04 0048317AC863:... (7 Replies)
Dear friends,
I am storing daily some data in a tape disk. and numbering it from 1 2 3 like this.
I want to get alert mail automatically when ever data is greater than or equal to 600.
to my yahoo mail.
i want to put that mail script in crontab so it will check the data daily at... (7 Replies)
i need to send 2 diff mail in a single script:Below the script
#!/bin/ksh
echo "enter the number"
read num
if
then
mail -s "test" unix@yahoo.com
mail -s "test" 9886767000@nma.vodafone.in,9916138003@nma.vodafone.in
else
echo "test again"
fi... (5 Replies)
Hi All
I was wondering if anyone knows how to recover smtp mail text files back into a mail client. I only have the smtp mail text files (eg named 999. etc) and I need to get them visable for the user in his mail client. I can see his other smtp files in his user area on the server but just... (12 Replies)
hello,
I need to configure our AIX 5.3 to relay mail to exchange.
I have got this working with no issues yet, I can not send mail to root@localhost.
# uname -a
AIX Blade1 3 5 0000E6DAD400
# oslevel -s
5300-07-01-0748
# mailq
/var/spool/mqueue (2 requests)... (14 Replies)
Hi,
How do I change the "From" email address from the header?
It shows
root@localhost.localdomain
as from and I want to change it to something meaningful. (6 Replies)
Hi All,
I have a ksh script, in which it sends mail successfully but from root id(root@system.com). I want it to be sent as customid@system.com.
I verified man pages of mail, and found '-u userid' option. But it is failing.
code snippet below:
mail -s "subject" -u $customid... (7 Replies)
I am using Solaris 10, and would like a web gui for mail or can replace the mail server if needed, it doesnt need to be anything elaborate, just something where i can view mail via a web browser rather than command line and hitting 'd' a 1000 times to delete all my cron job mails etc :p
I've... (8 Replies)
Hi,
I am facing problem with "mail" utility on redhat linux.
If I use ~c in a file and use that file as imput to mail, the mail is not sent to the adrress after ~c. Instead ~c apears in the mail content itself.
$ mail a@mycompany.com < temp
$ cat temp
~c abc@mycompany.com
this is... (7 Replies)
Hi all.
This is the content of the text file used for the e-mail:
TM ICP-EDW BILLING REGISTER USAGE BREAKDOWN_01062014.csv
TM_ICP_EDWH_FICL_13062014.TXT
TM_ICP_EDWH_FICL_16062014.TXT
TM_ICP_EDW_Detailed Payment Journal Report_13062014.txt
TM_ICP_EDW_Detailed Payment Journal... (9 Replies)
I am trying to send a mail through terminal from last week still now I can't able to send it.If there is any resolution Please help me out of this problem.It is very urgent .
mail -s "check" upload.xxx@example.com < /root/mail.txt
# tail -15 /var/log/maillog
Sep 19 16:52:04 edms032... (15 Replies)
Hi Experts,
I want to check in table that if third column value is "bhu" & if it is greater than 500 it will send mail
other wise there will be no mail. but as per my script mails are still coming even value is below 500 with one blank mail(without any content) with subject line"test mail".
I... (12 Replies)