Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

from(1b) [opensolaris man page]

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.11 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)
Man Page

15 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

READING mail from /var/mail/user

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)
Discussion started by: petoSVK
21 Replies

2. UNIX for Dummies Questions & Answers

How to empty a file without removing it.

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)
Discussion started by: jxh461
8 Replies

3. Shell Programming and Scripting

mail log parsing script in need of makeover

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)
Discussion started by: jjamd64
7 Replies

4. Shell Programming and Scripting

how to send mail automatically in unix

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)
Discussion started by: rajan_ka1
7 Replies

5. UNIX for Dummies Questions & Answers

recover smtp mail text files

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)
Discussion started by: tmware
12 Replies

6. AIX

Cannot send mail to root@localhost but can externally

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)
Discussion started by: pobman
14 Replies

7. Shell Programming and Scripting

mail from header

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)
Discussion started by: shantanuo
6 Replies

8. Shell Programming and Scripting

change mail sender in unix aix

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)
Discussion started by: Arunprasad
7 Replies

9. Shell Programming and Scripting

mail script to automate

Hi, Here below the logs from the mail server: less /var/log/messages: Sep 6 04:03:31 server-59 out: 1252227811|webmaster@zilia.com|antonino.granata@gmail.com|2175|success|1 Sep 6 04:03:33 server-59 in: 1252227813|news@tarot.com|junk@thess.com|30376|success|1 Sep 6 04:03:35 server-59... (8 Replies)
Discussion started by: gsiva
8 Replies

10. Solaris

Web gui for mail?

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)
Discussion started by: ippy98
8 Replies

11. Red Hat

Problem with mail utility on linux

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)
Discussion started by: shriashishpatil
7 Replies

12. Shell Programming and Scripting

Send mail

OS: SunOS I want to send mail to my email id abc@gmail.com using mail command. How can i achieve it ? (12 Replies)
Discussion started by: rafa_fed2
12 Replies

13. Shell Programming and Scripting

E-mail Output Merge Lines for Some Text..

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)
Discussion started by: aimy
9 Replies

14. UNIX for Dummies Questions & Answers

How to Troubleshoot the mail sending problem?

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)
Discussion started by: kannansoft1985
15 Replies

15. Shell Programming and Scripting

awk command with if & mail

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)
Discussion started by: dravi_laxmi
12 Replies