Man page - innmail(1)
Packages contains this manual
- inn-radius.conf(5)
- localgroups(5)
- innreport(8)
- getlist(1)
- convdate(1)
- ident(8)
- innwatch(8)
- expire(8)
- nntpsend(8)
- wildmat(3)
- motd.innd(5)
- innd(8)
- perl-nocem(8)
- tdx-util(8)
- batcher(8)
- ckpasswd(8)
- nnrpd(8)
- innfeed(8)
- innwatch.ctl(5)
- delayer(8)
- cnfsstat(8)
- shrinkfile(1)
- innreport.conf(5)
- send-ihave(8)
- prunehistory(8)
- ovdb_monitor(8)
- active(5)
- procbatch(8)
- actsync(8)
- incoming.conf(5)
- actsyncd(8)
- imapfeed(8)
- controlchan(8)
- innfeed.conf(5)
- grephistory(1)
- nnrpd.track(5)
- docheckgroups(8)
- send-nntp(8)
- ovsqlite-util(8)
- pgpverify(1)
- tinyleaf(8)
- auth_krb5(8)
- news.daily(8)
- innxmit(8)
- expireover(8)
- domain(8)
- motd.nnrpd(5)
- makedbz(8)
- innupgrade(8)
- readers.conf(5)
- gencancel(1)
- fastrm(1)
- ovdb_server(8)
- motd.news(5)
- scanlogs(8)
- shlock(8)
- ctlinnd(8)
- libinn_uwildmat(3)
- archive(8)
- innxbatch(8)
- rc.news(8)
- send-uucp(8)
- sendinpaths(8)
- news2mail(8)
- buffindexed.conf(5)
- inn-secrets.conf(5)
- newsgroups(5)
- inncheck(8)
- ovdb_stat(8)
- ovsqlite(5)
- history(5)
- cvtbatch(8)
- ovdb_init(8)
- inpaths(8)
- ovdb(5)
- tally.control(8)
- storage.conf(5)
- makehistory(8)
- buffchan(8)
- innmail(1)
- distributions(5)
- innstat(8)
- radius(8)
- mailpost(8)
- subscriptions(5)
- scanspool(8)
- nocem.ctl(5)
- nntpsend.ctl(5)
- inndf(8)
- sendxbatches(8)
- expirerm(8)
- nntpget(1)
- active.times(5)
- cnfsheadconf(8)
- writelog(8)
- control.ctl(5)
- ovsqlite-server(8)
- cycbuff.conf(5)
- expire.ctl(5)
- newsfeeds(5)
- overchan(8)
- innconfval(1)
- sm(8)
- mod-active(8)
- pullnews(1)
- newslog(5)
- ninpaths(8)
- innbind(8)
apt-get install inn2
Manual
INNMAIL
NAMESYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
BUGS
HISTORY
SEE ALSO
NAME
innmail - Simple mail-sending program
SYNOPSIS
innmail [ -h ] [ -a header ] [ -s subject ] address [ address ...]
DESCRIPTION
innmail is a Perl script intended to provide the non-interactive mail-sending functionality of mail(1) while avoiding nasty security problems. It takes the body of a mail message on standard input and sends it to the specified addresses by invoking the value of mta in inn.conf .
At least one address (formatted for the MTA specified in inn.conf , if it matters) is required. innmail will sanitize the addresses so that they contain only alphanumerics and the symbols "@", ".", "-", "+", "_", and "%".
innmail was written to be suitable for the mailcmd setting in inn.conf .
OPTIONS
-a header
Specifies an additional header field to add in the headers of the message. It should be a well-formed header field surrounded by quotes, consisting of a name and a body separated with a colon and a space. For instance, "Auto-Submitted: auto-generated" is used by some programs invoking innmail .
You may provide more than one header field if header is a multi-line string, which can for instance be done with these commands:
HEADERS=$(echo
-e "Hdr1: Body1\nHdr2: Body2")
echo "test" | innmail -a "$HEADERS" -s
Test joe
|
-h |
Gives usage information. |
-s subject
Sets the Subject header field body of the message. A warning is issued if this option is omitted.
EXAMPLES
This sends a one-line message to the local user "joe":
echo "A one-line message." | innmail -s "Simple message" joe
innmail by default is used by INN for sending nightly reports to the news administrator, as well as errors during the execution of a few programs.
BUGS
innmail fails on addresses that begin with "-", although one might hope that the news server will not need to contact any such addresses.
There are many "correct" addresses that will be silently modified by the sanitization process. A news administrator should be careful to use particularly sane addresses if they may be passed to innmail .
HISTORY
innmail was written by James Brister <brister@vix.com> for InterNetNews. This manual page was originally written by Jeffrey M. Vinocur.
SEE ALSO
inn.conf(5), mail(1).