zmailnotify1
Retrieve mail headers from post office and transmit via zephyr
Usage
zmailnotify
Overview
zmailnotify connects to the invoking user's POP post office and retrieves the From, To, and Subject fields of waiting messages, and then sends one Zephyr notice per message to class MAIL, instance POPRET, recipient <user@realm>, where <user@realm> is the invoking user's username concatenated with the local Zephyr realm (e.g. [email protected]).
zmailnotify is intended to be executed by zwgc(1) when notifications of spooled mail (such as those generated by zpopnotify(8)) are delivered. By default, these notifications are not delivered, nor are they acted upon. To receive the notices, you must subscribe to class MAIL, instance POP, recipient username@realm (see zctl(1)). Once you subscribe to these notices, by default they will be simply displayed on your display or terminal by zwgc(1). To have zmailnotify executed when they are delivered, you must copy the system default windowgram description file (/usr/athena/lib/zephyr/zwgc.desc) to your home directory as filename ~/.zwgc.desc and follow the directions contained in that file pertaining to MAIL NOTIFICATION.
zmailnotify only retrieves four headers at one time in order to reduce the competition for the mailbox lock on the post office. If more than four mail messages are waiting, zmailnotify will only retrieve the four most recent mail headers.
To check for mail already waiting when you log in, use the standard MH program msgchk(1).
Files
$HOME/.maillock
Restrictions
Copyright (c) 1987,1988 by the Massachusetts Institute of Technology. All Rights Reserved.
zephyr(1) specifies the terms and conditions for redistribution.
Releases
6 releases since Debian 2.1 (Slink); the text changed 1 time.