/usr/bin/sendmail2snpp is in sendpage-client 1.0.3-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | #!/bin/sh
#
# quick script for sending pages through sendmail
#
# $Id: sendmail2snpp 316 2008-01-03 20:21:19Z keescook $
#
# Copyright (C) 2000-2004 Kees Cook
# kees@outflux.net, http://outflux.net/
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
# http://www.gnu.org/copyleft/gpl.html
email2page | snpp -- "$@"
exit $?
cat >/dev/null <<EOF
=head1 NAME
sendmail2snpp - converts sendmail messages into a page
=head1 SYNOPSIS
sendmail2snpp recipient
=head1 DESCRIPTION
This tool takes a message body and sends it to the "snpp" client, essentially
performing the same as 'email2page | snpp -- "$@"'.
=head1 AUTHOR
Kees Cook <kees@outflux.net>
=head1 COPYRIGHT
sendmail2snpp is free software; it can be used under the terms of the GNU
General Public License.
=head1 SEE ALSO
perl(1), sendpage(1), Mail::Internet(3), email2page(1p)
=cut
EOF
|