diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2001-11-12 13:04:55 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2001-11-12 13:04:55 +0000 |
commit | b1b6fda270d7bff800d497ce5948cafda99edad2 (patch) | |
tree | 10ee794a15f124deae1830d89d20d75d28c0710f /examples/dot.biffrc | |
parent | c190d7c5378fe13aa3f0248ba49d60d4fb1e7f88 (diff) | |
download | mailutils-b1b6fda270d7bff800d497ce5948cafda99edad2.tar.gz mailutils-b1b6fda270d7bff800d497ce5948cafda99edad2.tar.bz2 |
A sample per-user biff configuration file.
Diffstat (limited to 'examples/dot.biffrc')
-rw-r--r-- | examples/dot.biffrc | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/examples/dot.biffrc b/examples/dot.biffrc new file mode 100644 index 000000000..755cc8f68 --- /dev/null +++ b/examples/dot.biffrc @@ -0,0 +1,27 @@ +# A sample per-user biff configuration file. It should be stored +# in user home directory and named .biffrc. It must be owned by +# the user and have permissions 0600 +# Each line specifies an action to be taken upon arrival of +# a message. A backslash can be used to escape the newlines. +# Actions could be: +# beep -- Produce audible signal +# echo STRING -- Output STRING to the user's tty +# exec PROG ARGS... -- Execute given program +# + +# This is the default action +echo "Mail to \a$u@$h\a\n---\n\ +From: $H{from}\n\ +Subject: $H{Subject}\n\ +---\n\ +$B(,5)\n\ +---\n" + +# For users of X windows system: produce a bell and open an xmessage window +beep +exec /usr/X11R6/bin/xmessage -display :0.0 -timeout 10 "Mail to $u@$h \n---\n\ +From: $H{from}\n\ +Subject: $H{Subject}\n\ +---\n\ +$B(,5)\n\ +---\n" |