Just to let everyone know how easy it really was (especially once
I got pointers about correctly naming the .qmail file):

To create system-wide mailbox to catch pager requests:

# cat ~alias/.qmail-page-default

  # Attempt to send a page to sendpage.  Assumes sendpage recipient
  # contains no hypens.

  # Bounce if this is not a valid pager recipient.
  | echo $EXT2 | /usr/local/bin/sendpage -bv | grep 'no expansion' && echo
  "invalid pager recipient: ($EXT2)" && exit 100 ; exit 0

  # Otherwise, send off to sendpage.
  | /usr/local/bin/sendpage -B -S -c Subject: $EXT2

(Long lines do not wrap.)

Now <[EMAIL PROTECTED]> works in a useful way...

Three cheers for qmail for making it simple!  And I hate Bourne
Shell!  Thank you very much...

-- 
Brian 'you Bastard' Reichert            [EMAIL PROTECTED]
37 Crystal Ave. #303                    Daytime number: (781) 899-7484 x704
Derry NH 03038-1713 USA                 Intel architecture: the left-hand path

Reply via email to