Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

comsat(8) [freebsd man page]

COMSAT(8)						    BSD System Manager's Manual 						 COMSAT(8)

NAME
comsat -- biff server SYNOPSIS
comsat DESCRIPTION
The comsat utility is the server process which receives reports of incoming mail and notifies users if they have requested this service. The comsat utility receives messages on a datagram port associated with the ``biff'' service specification (see services(5) and inetd(8)). The one line messages are of the form: user@mailbox-offset[:mailbox-name] If the user specified is logged in to the system and the associated terminal has the owner execute bit turned on (by a ``biff y''), the offset is used as a seek offset into the appropriate mailbox file and the first 7 lines or 560 characters of the message are printed on the user's terminal. Lines which appear to be part of the message header other than the ``From'', ``To'', ``Date'', or ``Subject'' lines are not included in the displayed message. If the user specified is logged in to the system and the associated terminal has the group execute bit turned on (by a ``biff b''), two bell characters (ASCII 07) are printed on the user's terminal. If mailbox-name omitted, standard mailbox assumed. FILES
/var/run/utx.active to find out who is logged on and on what terminals /var/mail/user standard mailbox SEE ALSO
biff(1), inetd(8) HISTORY
The comsat utility appeared in 4.2BSD. BUGS
The message header filtering is prone to error. The density of the information presented is near the theoretical minimum. Users should be notified of mail which arrives on other machines than the one to which they are currently logged in. The notification should appear in a separate window so it does not mess up the screen. BSD
January 21, 2010 BSD

Check Out this Related Man Page

COMSAT(8)						    BSD System Manager's Manual 						 COMSAT(8)

NAME
comsat -- biff server SYNOPSIS
comsat [-l] DESCRIPTION
comsat is the server process which receives reports of incoming mail and notifies users if they have requested this service. comsat receives messages on a datagram port associated with the ``biff'' service specification (see services(5) and inetd(8)). The one line messages are of the form: user@mailbox-offset If the user specified is logged in to the system and the associated terminal has the owner execute bit turned on (by a ``biff y''), the offset is used as a seek offset into the appropriate mailbox file and the first 7 lines or 560 characters of the message are printed on the user's terminal. Lines which appear to be part of the message header other than the ``From'', ``To'', ``Date'', or ``Subject'' lines are not included in the displayed message. OPTIONS
The comsat program supports this option: -l The -l option turns on syslogd(8) log messages. FILES
/var/run/utmpx to find out who's logged on and on what terminals SEE ALSO
biff(1), inetd(8), syslogd(8). BUGS
The message header filtering is prone to error. The density of the information presented is near the theoretical minimum. Users should be notified of mail which arrives on other machines than the one to which they are currently logged in. The notification should appear in a separate window so it does not mess up the screen. comsat runs as root so that it can open the users maildrop. HISTORY
The comsat command appeared in 4.2BSD. 4.2 Berkeley Distribution June 4, 1993 4.2 Berkeley Distribution
Man Page

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

biff

Hello all, I want a substitute for biff n. On my HP-UX i don't have biff.i got a substitute for biff (newmail).but don't know how to set biff n.pls help. thanks in advance, shilpa (5 Replies)
Discussion started by: informshilpa
5 Replies

2. UNIX for Dummies Questions & Answers

Paranoid about hackers

Hi all I noted something strange on my server. The get mesages on my terminal even when I am not logged on. What does this mean? I don;t remember the excact message but it looked like messages from my /var/log/messages. "Can't locate mod probe!" or something like that. I am trying to get the... (4 Replies)
Discussion started by: skotapal
4 Replies

3. UNIX for Dummies Questions & Answers

know who logged and logged out with their timings

being ordinary user (not having any administrative rights) can avail myself a facility to know who logged and logged out with their timings get popped onto my terminal as if it get echo 'ed... (3 Replies)
Discussion started by: vkandati
3 Replies

4. UNIX for Dummies Questions & Answers

Hostname lost when changing user

Hello to all, Does anyone have a clue for the following problem? When I enter into a terminal console window logged as axadmin user, what I find in the prompt is: “axadmin@sunhost$”. But, when I switch to root user, with the command “su -“ and enter the correct password, user root is... (4 Replies)
Discussion started by: Pablo_BR
4 Replies

5. Shell Programming and Scripting

Reading a mailbox and sending new messages to a text file

I'm new to scripting and have been tasked with creating a script that will read a mailbox, such as /var/mail/user1, scan it for new messages, then send those new messages to another file. It also has to be looped to run almost continuously. Any help would be greatly appreciated (1 Reply)
Discussion started by: rsw626
1 Replies

6. Shell Programming and Scripting

Script to check users logged out

Hi, Here is the script that I have written to check if a particular user is has logged out, and if yes, then a mail needs to be sent to the management the details of whatever has been captured by the script command. echo "The current users are:" who | awk '{print $1}' | sort > temp1 cp... (1 Reply)
Discussion started by: ggayathri
1 Replies

7. UNIX for Dummies Questions & Answers

User name on?

Hi! I need a script that does: Accepts a username as an argument; if one is not provided, asks for it; Checks to see if that user is logged on; Displays to the screen a message: either “ is logged on.” or “ is not logged on.” #!/bin/sh # Checks if user is online #... (2 Replies)
Discussion started by: JudoMan
2 Replies

8. BSD

Unable to process from lines (envelopes)

Hi, Some of the users on my freebsd server are getting the "unable to process from lines" error when accessing their mailbox. I've checked their mailbox and found that there was a blank line at the top of the mailbox. Everytime i remove it, it appears again sometime later. I've tried... (1 Reply)
Discussion started by: sc_king
1 Replies

9. UNIX for Advanced & Expert Users

Need to see what ther Root users are doing while logged in to terminal

I have a server that i need to monitor what the .bash_history file for the root user already logged in to the server I am logged in as root and have another person logged on as root and i want to monitor what they are doing: root ? :0 2010-10-19 11:54 root + pts/1 ... (1 Reply)
Discussion started by: calicowboy54
1 Replies