⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 admin.rf

📁 早期freebsd实现
💻 RF
📖 第 1 页 / 共 2 页
字号:
If you want more information on the Post Office Protocol used by \fIMH\fR,consult the files \fBsupport/pop/rfc1081.txt\fP and\fBsupport/pop/rfc1082.txt\fP which describe the \fIMH\fP version ofthe POP: POP3..ppFor POP service hosts,you need to run a daemon, \fIpopd\fR\0(8).The daemon should start at multi\-user boot time,so adding the lines:.sp.nf.in +.5iif [ \-f /etc/popd ]; then    /etc/popd & echo \-n ' pop'			>/dev/consolefi.in \-.5i.fi.spto the \fB/etc/rc.local\fR file is sufficient..ppThe port assigned to the POP3 protocol is \*(lq110\*(rq.For historical reasons, many sites are using port \*(lq109\*(rqwhich is the port assigned to the \*(lqPOP\*(rq (version 1 and 2) protocol.The configuration option \*(lqPOPSERVICE\*(rq is the name of theport number that \fIMH\fP POP will try to use, and defaults to thename \*(lqpop\*(rq..ppTo generate \fIMH\fP to use newer assigned port number,in your \fIMH\fP config file, add:.sp.ti +.5ioptions	POPSERVICE='\*(lqpop3\*(rq'.spAnd on both the POP client and service hosts,you need to define the port that the POP service uses.Add the line:.sp.nf.in +.5ipop3		110/tcp.in \-.5i.fi.spto the \fB/etc/services\fR file (if it's not already there)..ppThere are two ways to administer POP:In \*(lqnaive\*(rq mode,each user-id in the \fIpasswd\fR\0(5) file is considered a POP subscriber.No changes are required for the mailsystem on the POP service host.However,this method requires that each POP subscriber have an entry in the passwordfile.The POP server will fetch the user's mail from wherever maildrops are kept onthe POP service host.This means that if maildrops are kept in the user's home directory,then each POP subscriber must have a home directory..ppIn \*(lqsmart\*(rq mode(enabled via \*(lqDPOP\*(rq being given as a configuration option),the list of POP subscribers and the list oflogin users are completely separate name spaces.A separate database (simple file similar to the \fIBBoards\fR\0(5) file)is used to record information about each POP subscriber.Unfortunately,the local mailsystem must be changed to reflect this.This requires two changes (both of which are simple):First,the aliasing mechanism is augmented so that POP subscriber addressesare diverted to a special delivery mechanism.\fIMH\fR comes with a program, \fIpopaka\fR\0(8),which generates the additional information to be put in the mailsystem'salias file.Second,a special POP channel (for MMDF-II) or POP mailer (for SendMail)performs the actual delivery (\fImh.6\fR supplies both).All it really does is just place the mail in the POP spool area..ppThese two different philosophies are not compatible on the same POP servicehost: one or the other, but not both may be run.Clever mailsystem people will note thatthe POP mechanism is really a special case of the more generalBBoards mechanism..ppIn addition, there is one user-visible difference,which the administrator controls the availability of.The difference is whether the POP subscriber must supply a password to the POPserver:The first method uses the standard ARPA technique of sending a username and apassword.The appropriate programs (\fIinc\fR, \fImsgchk\fR, and possibly \fIbbc\fR\0)will prompt the user for this information..ppThe second method(which is enabled via \*(lqRPOP\*(rq being given as a configuration option)uses the Berkeley UNIX reserved port method for authentication.This requires that the two or three mentioned above programs be\fIsetuid\fR to root.(There are no known holes in any of these programs.).ppTo add a POP subscriber,for the first method, one simply follows the usual procedures for adding anew user, which eventually results in adding a line to the \fIpasswd\fR\0(5)file;for the second method, one must edit the POP database file(kept in the home directory of the POP user),and then run the \fIpopaka\fR program.The output of this program is placed in the aliases file for the transportsystem (e.g., \fB/usr/lib/aliases\fR for SendMail)..ppAuthentication for POP subscribers differsdepending on the two methods.When the user supplies a password for the POP session:under the first method,the contents of the password field for the user's entry in the\fIpasswd\fR\0(5) is consulted;under the second method,the contents of the password field for the subscriber's entry in the\fIpop\fR\0(5) file is consulted.(To set this field, the \fIpopwrd\fR\0(8) program is used.).ppIf you are allowing RPOP,under the first method,the user's \fI\&.rhosts\fR file is consulted;under the second method,the contents of the network address field for the subscriber's entryin the \fIpop\fR\0(5) file is consulted..ppIn addition,a third authentication scheme is available.When the APOP configuration option is given,e.g.,.sp.ti +.5ioptions	APOP='\*(lq/etc/pop.auth\*(rq'.spIn this case,the server also allows a client to supply authenticationcredentials to provide for origin authentication and reply protection,but which do not involve sending a password in the clear over the network.A POP authorization DB,having as its name the value of APOP configuration option,is used to keep track of this information.This file is created and manipulated by the \fIpopauth\fR\0(8) program.Because this file contains secret information,it must be protected mode 0600 and owned by the super-user.Hence,your first step after installing the software is to issue.sp.ti +.5i# popauth -init.spwhich creates and initalizes the POP authorization DB..if t \{.ll 6.5i.lt 6.5i\}.fo '@(MHLEFTFOOT)'@(MHCENTERFOOT)'UCI version'.po -.50i.so pop5.me.so pop8.me.so popaka.me.so popauth.me.so popd.me.so popwrd.me.po +.50i.he ''-%-''.fo ''''.br.if t \{.ll 32P.lt 32P\}.+c "MAIL FILTERING".ppThere was a time when users on a UNIX host might have had two maildrops:one from \fIMMDF\fR and the other from \fIUUCP\fR.This was really a bad problem since it prevented using a singleuser\-interface on all of your mail.Furthermore,if you wanted to send a message to addresses on different mailsystems,you couldn't send just one message.To solve all these problems,the notion of \fImail filtering\fR was developed that allowed sophisticatedmunging and relaying between the two pseudo\-domains..pp\fIMH\fR will perform mail filtering, transparently, if given the MFconfiguration option.However,with the advent of \fISendMail\fR and further maturation of \fIMMDF\fR,\fIMH\fR doesn't really need to do this anymore,since these message transport agents handle it..ppThe mail\-filtering stuff is too complicated.It should be simpler, but, protocol translation really \fIis\fR difficult..if t \{.ll 6.5i.lt 6.5i\}.fo '@(MHLEFTFOOT)'@(MHCENTERFOOT)'UCI version'.po -.50i.so mf.me.so rmail.me.po +.50i.he ''-%-''.fo ''''.br.if t \{.ll 32P.lt 32P\}.+c "MH HACKING".ppFinally, here's a little information on modifying the \fIMH\fR sources.A word of advice however:.sp 2.ce.b \s+4DON'T\s0.sp 2.lpIf you really want new \fIMH\fR capabilities,write a shell script instead.After all, that's what UNIX is all about, isn't it?.ppHere's the organization of the \fIMH\fR source tree..sp.nf.in +.5i.ta \w'miscellany/  'u +\w'sendmail/  'uconf/	configurator treeconfig/	compiled configuration constantsdist/	distributordoc/	manual entriesh/	include filesmiscellany/	various sundriesmts/	MTS\-specific areas	mh/	standalone delivery	mmdf/	MMDF\-I, MMDF\-II	sendmail/	SendMail, SMTPpapers/	papers about \fIMH\fRsbr/	subroutinessupport/	support programs and files	bboards/	UCI BBoards facility	general/	templates	pop/	POP facilitytma/	Trusted Mail Agent (not present in all distributions)uip/	programszotnet/	MTS\-independent areas	bboards/	UCI BBoards facility	mf/	Mail Filtering	mts/	MTS constants	tws/	date routines.re.in -.5i.fi.if t \{.ll 6.5i.lt 6.5i\}.fo '@(MHLEFTFOOT)'@(MHCENTERFOOT)'UCI version'.po -.50i.so mh-hack.me.po +.50i.he ''-%-''.fo ''''.br.if t \{.ll 32P.lt 32P\}.+c "HIDDEN FEATURES".ppThe capabilities discussed here should not be used on a production basis,as they are either experimental, are useful for debugging \fIMH\fR, orare otherwise not recommended..uh "Debug Facilities".ppThe \fImark\fR command has a `\-debug' switch which essentially prints outall the internal \fIMH\fR data structures for the folder you're looking at..ppThe \fIpost\fR command has a `\-debug' switch which does everything butactually post the message for you.Instead of posting the draft, it sends it to the standard output.Similarly,\fIsend\fR has a `\-debug' switch which gets passed to \fIpost\fR..ppSome \fIMH\fR commands look at envariables to determine debug\-mode operationof certain new facilities.The current list of envariables is:.sp.nf.in +.5i.ta \w'MHLPOPDEBUG  'u^MHFDEBUG~^OVERHEAD facility^MHLDEBUG~^mhl^MHPDEBUG~^pick^MHPOPDEBUG~^POP transactions^MHVDEBUG~^window management transactions^MHWDEBUG~^alternate\-mailboxes.re.in -.5i.fi.uh "Forwarding Mail".ppThe \fIforw\fR and \fImhl\fR commands have two switches,`\-dashmunging' and `\-nodashmunging' which enable or disablethe prepending of `\-\ ' in forwarded messages.  To use `\-nodashmunging', you must use an \fImhl\fR filter file..uh "Send".ppThe \fIsend\fR command has two switches, `\-unique' and `\-nounique',which are useful to certain individuals who, for obscure reasons,do not use draft\-folders..pp\*(lqDistribution Carbon Copy\*(rq addresses may be specified inthe \fIDcc:\fR header.  This header is removed before posting the message,and a copy of the messageis distributed to each listed address.This could be considered a form of BlindCarbon Copy which is best used for sending to an address which would never reply (such as an auto\-archiver)..uh "Posting Mail".ppIf you're running a version of \fIMH\fR which talks directly to an\fISMTP\fR server (or perhaps an advanced \fIMMDF\fR submit process),there are lots of interesting switches for your amusement which \fIsend\fRand \fIpost\fR understand:.nf.in +.5i.ta \w'-server host  'u^-mail~^Use the \fIMAIL\fR command (default)^-saml~^Use the \fISAML\fR command^-send~^Use the \fISEND\fR command^-soml~^Use the \fISOML\fR command^-snoop~^Watch the \fISMTP\fR transaction^-client host~^Claim to be \*(lqhost\*(rq when posting mail^-server host~^Post mail with \*(lqhost\*(rq.re.in -.5i.fi.ppThe last switch is to be useful when \fIMH\fR resides on smallworkstations (or PC:s) in a network\-\-they can post their outgoing mail witha local relay,and reduce the load on the local system.On POP client hosts,the `\-server\ host' switch is defaulted appropriately using the SMTPsearch\-list mechanism.The \fIwhom\fR command understands the last three switches.@BEGIN: TMA.+c "TRUSTED MAIL".ppIf you are licensed to run the TTI Trusted Mail Agent (TMA),here are three utility programs to manage the Key Distribution Server (KDS):\fIkdsc\fR, \fIkdsd\fR, and \fIkdser\fR..if t \{.ll 6.5i.lt 6.5i\}.fo '@(MHLEFTFOOT)'@(MHCENTERFOOT)'UCI version'.po -.50i.so kdsc.me.so kdsd.me.so kdser.me.po +.50i.he ''-%-''.fo ''''.br.if t \{.ll 32P.lt 32P\}@END: TMA.+c "CONFIGURATION OPTIONS".ppThis manual was generated with the following configuration options ineffect:.sp 2.hl.nf.in +1.25i.ta \w'BBoards Home Directory      'u^Generation Date~^\*(td^Primary Directory~^@(MHBINPATH)/^Secondary Directory~^@(MHETCPATH)/^Maildrop Location~^@(MHDROPLOC)@BEGIN: BBSERVER^BBoards Support~^Enabled^BBoards Home Directory~^@(BBHOME)@END: BBSERVER@BEGIN: POP^POP Support~^Enabled@END: POP@BEGIN: BPOP^BBoards on POP~^Enabled@END: BPOP@BEGIN: NNTP^BBoards using NNTP~^Enabled@END: NNTP@BEGIN: TMA^Trusted Mail Support~^Enabled@END: TMA@BEGIN: SMTP.ds SM with SMTP@END: SMTP@BEGIN: MMDFIMTS^Transport System~^MMDF-I \*(SM@END: MMDFIMTS@BEGIN: MMDFIIMTS^Transport System~^MMDF-II \*(SM@END: MMDFIIMTS@BEGIN: SENDMTS^Transport System~^SendMail \*(SM@END: SENDMTS@BEGIN: MHMTS^Transport System~^Stand\-Alone Delivery@END: MHMTS.re.in -1.5i.fi.hl.\"	table of contents.he ''''.fo ''''.bp.ce.b \\s12CONTENTS\\s0.sp 3.xp y.xp x.bp.\"	And now the COVER sheet.po +.325i.ll 32P.nf .sp 1.5in.ps 24.vs 32.ft B.ce 4THE RAND MHMESSAGE HANDLINGSYSTEM:ADMINISTRATOR'S GUIDE.ft R.sp .8i.ps 20.vs 24.ceUCI Version.sp 0.7i.ce 2Marshall T. Rose.sp 0.5i.ft I.ce 3First Edition:MH Classic\s-2(Not to be confused with a well\-known soft drink)\s+2.ft R.vs.sp 1i.ps 18.vs 22.ce 2\*(td\*(MH

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -