1INNMAIL(1) InterNetNews Documentation INNMAIL(1)
2
3
4
6 innmail - Simple mail-sending program
7
9 innmail [-h] [-s subject] address [address ...]
10
12 innmail is a Perl script intended to provide the non-interactive mail-
13 sending functionality of mail(1) while avoiding nasty security
14 problems. It takes the body of a mail message on standard input and
15 sends it to the specified addresses by invoking the value of mta in
16 inn.conf.
17
18 At least one address (formatted for the MTA specified in inn.conf, if
19 it matters) is required. innmail will sanitize the addresses so that
20 they contain only alphanumerics and the symbols "@", ".", "-", "+",
21 "_", and "%".
22
23 innmail was written to be suitable for the mailcmd setting in inn.conf.
24
26 -h Gives usage information.
27
28 -s subject
29 Sets the Subject: header of the message. A warning is issued if
30 this option is omitted.
31
33 This sends a one-line message to the local user "joe":
34
35 echo "A one-line message." | innmail -s "Simple message" joe
36
37 innmail by default is used by INN for sending nightly reports and
38 control message reports.
39
41 innmail fails on addresses that begin with "-", although one might hope
42 that the news server will not need to contact any such addresses.
43
44 There are many "correct" addresses that will be silently modified by
45 the sanitization process. A news administrator should be careful to
46 use particularly sane addresses if they may be passed to innmail.
47
49 innmail was written by James Brister <brister@vix.com> for
50 InterNetNews. This manual page was originally written by Jeffrey M.
51 Vinocur.
52
53 $Id: innmail.pod 7851 2008-05-26 19:33:08Z iulius $
54
56 inn.conf(5), mail(1).
57
58
59
60INN 2.6.3 2015-09-12 INNMAIL(1)