X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=doc%2Fintegration%2Fexim.texi;h=70557bb2ec7b723a453fe0c659c00e6bbe5d8479;hb=bb7fe5e770586be9f44a8a7f3321a3139d5345bb;hp=26472ea46291ce907881daa971eaa9fac558c088;hpb=666cb88f87341bc9ecce23550641c843027acca3;p=nncp.git diff --git a/doc/integration/exim.texi b/doc/integration/exim.texi index 26472ea..70557bb 100644 --- a/doc/integration/exim.texi +++ b/doc/integration/exim.texi @@ -1,4 +1,5 @@ @node Exim +@cindex Exim integration @section Integration with Exim This section is unaltered copy-paste of @@ -17,6 +18,8 @@ eventual delivery (over the Internet, LAN, whatever). This is fairly simple in Exim. +@pindex bsmtp +@pindex rmail We actually have two choices for how to do this: @command{bsmtp} or @command{rmail} mode. bsmtp (batch SMTP) is the more modern way, and is essentially a derivative of SMTP that explicitly can be queued @@ -58,8 +61,8 @@ nncp: .endif @end example -This is pretty straightforward. We pipe to @command{nncp-exec}, run it -as the nncp user. @command{nncp-exec} sends it to a target node and runs +This is pretty straightforward. We pipe to @command{@ref{nncp-exec}}, run it +as the nncp user. @command{@ref{nncp-exec}} sends it to a target node and runs whatever that node has called @command{rsmtp} (the command to receive bsmtp data). When the target node processes the request, it will run the configured command and pipe the data in to it. @@ -96,6 +99,7 @@ exec: @{ The @option{-bS} option is what tells Exim to receive BSMTP on @code{stdin}. +@vindex MAIN_TRUSTED_USERS Now, you need to tell Exim that nncp is a trusted user (able to set From headers arbitrarily). Assuming you are running NNCP as the @code{nncp} user, then add @code{MAIN_TRUSTED_USERS = nncp} to a file such as