Re: notification of mail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/29/03  7:37 PM -0500, Jude DaShiell wrote:
> Probably need to find the biff script or command and modify it if you want
> sounds.  I'll look around on the system and see what I can find.  Even if
> biff is a command, it should be possible to rename it and write a wrapper
> script with its original name containing the renamed biff command and a
> command to play a sound.

Biff is rather more complicated than that, the biff command with either
y or n just sets and unsets the user execute bit on the current tty. The
comsat daemon listens to udp port 512 waiting for packets sent by your
MTA be it postfix, exim, or sendmail. When it receives one of these it
checks the permissions of the tty and if it is executable it puts a ^g
and the first part of the message out to standard error.. Solutions with
procmail are likely to work much better than hacking around with biff
and comsat, but if you are really interested in getting it changed I
have modified a version for myself that just displays the new mail
message, and the from and subject. If you are interested i can send you
a diff against the debian sources, but as usual YMMV.

- -- 
Clarke's Corollary:
Any technology distinguishable from magic is insufficiently advanced.
Thomas Stivers	e-mail: stivers_t@xxxxxxxxxxxxxxxxx
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/8a+E5JK61UXLur0RAkccAJ9S5Ju8CUOHkqdKZhXxOpffsX7GBgCdGUUS
iwCdIFOoyX3e2rur0U6iDbY=
=ian7
-----END PGP SIGNATURE-----


_______________________________________________

Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list

[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]