Sponsored Content
Top Forums Shell Programming and Scripting Run a script when I receive an email Post 302598461 by gary_w on Tuesday 14th of February 2012 01:39:24 PM
Old 02-14-2012
I am reminded of an anecdote I read about years ago. There is a program called biff that will notify you when you receive mail. So what does the name "biff" have to do with receiving mail? The girlfriend of the guy that wrote it had a dog that would bark at the mailman, so they knew when the mail arrived. The dog's name? Biff of course. :-)
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

run a script from incoming email

hi I have a bit of a problem i need help with. I have a script that runs no problems when i run it manually. as soon as i stick in tester: /app/scripts/run.pl into /etc/aliases & try to run it by sending a mail it doesnt work. the output files are owned by daemon, which i dont like & think... (7 Replies)
Discussion started by: jojo77
7 Replies

2. UNIX for Dummies Questions & Answers

Can send but not receive email

Hi, One of the users in our company can send but not receive email. We are using SENDMAIL in conjunction with procmail. The funny thing is that all his sent email is in his /var/spool/mail but the email client does not pick anything up! He is using IMAP. Anyone see have any ideas? (2 Replies)
Discussion started by: mojoman
2 Replies

3. Shell Programming and Scripting

email to group-id is failing to receive

Hi all, The below is the program i used to send a mail. #!/bin/ksh mailaddress=$(cat $HOME/email.txt) (cat | mail -s "TESTING LOAD STATUS on `date`" "$mailaddress") <<EOD ignore. this is a test mail EOD email.txt contains, like below GrouptID@mail.com,IndividualID@mail.com The... (5 Replies)
Discussion started by: Arunprasad
5 Replies

4. Shell Programming and Scripting

UNIX Script to query Active Directory: give cn (NT login name) and receive mail (Email address)

Hi folks I need to write UNIX script (with ldapsearch) to query Active Directory. Input is NT login name and output is Email address. Attached a screenshot of Sysinternals "AD Explorer". I need to do the same in CLI. http://i.imgur.com/4s6FB.png I am absolute LDAP/ldapsearch noob. (0 Replies)
Discussion started by: slashdotweenie
0 Replies

5. Forum Support Area for Unregistered Users & Account Problems

Have yet to receive activation email

Good Afternoon, I attempted to register on this forum yesterday using the username 'DBirks', however I have yet to receive the required activation email. I have checked both my inbox and junk e-mail folder on my email client as well as on owa, but I have not seen any sign of it. I have... (1 Reply)
Discussion started by: Unregistered
1 Replies

6. HP-UX

Unable to receive mails from email relay server

Hi, I have reports that are generated in one server (10.61.1.108), hostname l28bi01. These reports are supposedly sent to a group of email addresses hourly via an email relay server. However, this is not happening. In sendmail.cf in bi01, the DS Smart Relay Host ip address is: ... (3 Replies)
Discussion started by: anaigini45
3 Replies

7. Shell Programming and Scripting

Check email successful sent and receive

We have a unix/linux server , that send mass email from it , the emails will pass the smtp gateway , email server and sent to the client , but sometimes the client do not receive the mail , we do not know the reason and when it will happen . We would like to have a script that check when the... (2 Replies)
Discussion started by: ust4
2 Replies
BIFF(1) 						    BSD General Commands Manual 						   BIFF(1)

NAME
biff -- be notified if mail arrives and who it is from SYNOPSIS
biff [n | y | b] DESCRIPTION
The biff utility informs the system whether you want to be notified on your terminal when mail arrives. Affected is the first terminal associated with the standard input, standard output or standard error file descriptor, in that order. Thus, it is possible to use the redirection facilities of a shell to toggle the notification for other terminals than the one biff runs on. The following options are available: n Disable notification. y Enable header notification. b Enable bell notification. When header notification is enabled, the header and first few lines of the message will be printed on your terminal whenever mail arrives. A ``biff y'' command is often included in the file .login or .profile to be executed at each login. When bell notification is enabled, only two bell characters (ASCII 07) will be printed on your terminal whenever mail arrives. If no arguments are given, biff displays the present notification status of the terminal to the standard output. The biff utility operates asynchronously. For synchronous notification use the MAIL variable of sh(1) or the mail variable of csh(1). EXIT STATUS
The biff utility exits with one of the following values: 0 Notification was enabled at the time of invocation. 1 Notification was disabled at the time of invocation. >1 An error occurred. COMPATIBILITY
Previous versions of the biff utility affected the terminal attached to standard error without first trying the standard input or output devices. SEE ALSO
csh(1), mail(1), sh(1), comsat(8) HISTORY
The biff command appeared in 4.0BSD. It was named after the dog of Heidi Stettner. He died in August 1993, at 15. BSD
April 28, 2013 BSD
All times are GMT -4. The time now is 03:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy