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

📄 readme

📁 早期freebsd实现
💻
📖 第 1 页 / 共 4 页
字号:
of one's own subdomains (for example, it's unlikely that I wouldchoose to masquerade as an MIT site).The masquerade name is not normally canonified, so it is importantthat it be your One True Name, that is, fully qualified and not aCNAME.there are always users that need to be "exposed" -- that is, theirinternal site name should be displayed instead of the masquerade name.Root is an example.  You can add users to this list using	EXPOSED_USER(usernames)This adds users to class E; you could also use something like	FE/etc/sendmail.cEYou can also arrange to relay all unqualified names (that is, nameswithout @host) to a relay host.  For example, if you have a centralemail server, you might relay to that host so that users don't haveto have .forward files or aliases.  You can do this using	define(`LOCAL_RELAY', mailer:hostname)The ``mailer:'' can be omitted, in which case the mailer defaults to"smtp".  There are some user names that you don't want relayed, perhapsbecause of local aliases.  A common example is root, which may belocally aliased.  You can add entries to this list using	LOCAL_USER(usernames)This adds users to class L; you could also use something like	FL/etc/sendmail.cLIf you want all incoming mail sent to a centralized hub, as for ashared /var/spool/mail scheme, use	define(`MAIL_HUB', mailer:hostname)Again, ``mailer:'' defaults to "smtp".  If you define both LOCAL_RELAYand MAIL_HUB, unqualified names will be sent to the LOCAL_RELAY andother local names will be sent to MAIL_HUB.  Names in $=L will bedelivered locally, so you MUST have aliases or .forward files for them.For example, if are on machine mastodon.CS.Berkeley.EDU, the followingcombinations of settings will have the indicated effects:email sent to....	eric			  eric@mastodon.CS.Berkeley.EDULOCAL_RELAY set to	mail.CS.Berkeley.EDU	  (delivered locally)mail.CS.Berkeley.EDUMAIL_HUB set to		mammoth.CS.Berkeley.EDU	  mammoth.CS.Berkeley.EDUmammoth.CS.Berkeley.EDUBoth LOCAL_RELAY and	mail.CS.Berkeley.EDU	  mammoth.CS.Berkeley.EDUMAIL_HUB set as aboveIf you want all outgoing mail to go to a central relay site, defineSMART_HOST as well.  Briefly:	LOCAL_RELAY applies to unqualifed names (e.g., "eric").	MAIL_HUB applies to names qualified with the name of the		local host (e.g., "eric@mastodon.CS.Berkeley.EDU").	SMART_HOST applies to names qualified with other hosts.However, beware that other relays (e.g., UUCP_RELAY, BITNET_RELAY, andFAX_RELAY) take precedence over SMART_HOST, so if you really wantabsolutely everything to go to a single central site you will need tounset all the other relays -- or better yet, find or build a minimalconfig file that does this.+-------------------------------+| NON-SMTP BASED CONFIGURATIONS |+-------------------------------+These configuration files are designed primarily for use by SMTP-basedsites.  I don't pretend that they are well tuned for UUCP-only orUUCP-primarily nodes (the latter is defined as a small local netconnected to the rest of the world via UUCP).  However, there is onehook to handle some special cases.You can define a ``smart host'' that understands a richer address syntaxusing:	define(`SMART_HOST', mailer:hostname)In this case, the ``mailer:'' defaults to "relay".  Any messages thatcan't be handled using the usual UUCP rules are passed to this host.If you are on a local SMTP-based net that connects to the outsideworld via UUCP, you can use LOCAL_NET_CONFIG to add appropriate rules.For example:	define(`SMART_HOST', suucp:uunet)	LOCAL_NET_CONFIG	R$* < @ $* .$m. > $*	$#smtp $@ $2.$m. $: $1 < @ $2.$m. > $3This will cause all names that end in your domain name ($m) viaSMTP; anything else will be sent via suucp (smart UUCP) to uunet.If you have FEATURE(nocanonify), you may need to omit the dots afterthe $m.  If you are running a local DNS inside your domain which isnot otherwise connected to the outside world, you probably want touse:	define(`SMART_HOST', smtp:fire.wall.com)	LOCAL_NET_CONFIG	R$* < @ $* . > $*	$#smtp $@ $2. $: $1 < @ $2. > $3That is, send directly only to things you found in your DNS lookup;anything else goes through SMART_HOST.If you are not running DNS at all, it is important to useFEATURE(nodns) to avoid having sendmail queue everything waitingfor the name server to come up.+-----------+| WHO AM I? |+-----------+Normally, the $j macro is automatically defined to be your fullyqualified domain name (FQDN).  Sendmail does this by getting yourhost name using gethostname and then calling gethostbyname on theresult.  For example, in some environments gethostname returnsonly the root of the host name (such as "foo"); gethostbyname issupposed to return the FQDN ("foo.bar.com").  In some (fairly rare)cases, gethostbyname may fail to return the FQDN.  In this caseyou MUST define confDOMAIN_NAME to be your fully qualified domainname.  This is usually done using:	Dmbar.com	define(`confDOMAIN_NAME', `$w.$m')dnl+--------------------+| USING MAILERTABLES |+--------------------+To use FEATURE(mailertable), you will have to create an externaldatabase containing the routing information for various domains.For example, a mailertable file in text format might be:	.my.domain		xnet:%1.my.domain	uuhost1.my.domain	suucp:uuhost1	.bitnet			smtp:relay.bit.netThis should normally be stored in /etc/mailertable.  The actualdatabase version of the mailertable is built using:	makemap hash /etc/mailertable.db < /etc/mailertableThe semantics are simple.  Any LHS entry that does not begin witha dot matches the full host name indicated.  LHS entries beginningwith a dot match anything ending with that domain name -- that is,they can be thought of as having a leading "*" wildcard.  Matchingis done in order of most-to-least qualified -- for example, eventhough ".my.domain" is listed first in the above example, an entryof "uuhost1.my.domain" will match the second entry since it ismore explicit.The RHS should always be a "mailer:host" pair.  The mailer is theconfiguration name of a mailer (that is, an `M' line in thesendmail.cf file).  The "host" will be the hostname passed tothat mailer.  In domain-based matches (that is, those with leadingdots) the "%1" may be used to interpolate the wildcarded part ofthe host name.  For example, the first line above sends everythingaddressed to "anything.my.domain" to that same host name, but usingthe (presumably experimental) xnet mailer.+--------------------------------+| USING USERDB TO MAP FULL NAMES |+--------------------------------+The user database was not originally intended for mapping full namesto login names (e.g., Eric.Allman => eric), but some people are usingit that way.  (I would recommend that you set up aliases for thispurpose instead -- since you can specify multiple alias files, thisis fairly easy.)  The intent was to locate the default maildrop ata site, but allow you to override this by sending to a specific host.If you decide to set up the user database in this fashion, it isimperative that you also specify FEATURE(notsticky) -- otherwise,e-mail sent to Full.Name@local.host.name will be rejected.To build the internal form of the user databae, use:	makemap btree /usr/data/base.db < /usr/data/base.txt+------------------+| FlexFAX SOFTWARE |+------------------+Sam Leffler's FlexFAX software is still in beta test -- but he expects apublic version out "later this week" [as of 3/1/93].  The followingblurb is direct from Sam:	$Header: /usr/people/sam/fax/RCS/HOWTO,v 1.14 93/05/24 11:42:16 sam Exp $	How To Obtain This Software (in case all you get is this file)	--------------------------------------------------------------	The source code is available for public ftp on	    sgi.com			sgi/fax/v2.1.src.tar.Z		(192.48.153.1)	You can also obtain inst'able images for Silicon Graphics machines from	    sgi.com			sgi/fax/v2.1.inst.tar		(192.48.153.1)	For example,	    % ftp -n sgi.com	    ....	    ftp> user anonymous	    ... <type in password>	    ftp> cd sgi/fax	    ftp> binary	    ftp> get v2.1.src.tar.Z	In general, the latest version of the 2.1 release of the software is	always available as "v2.1.src.tar.Z" or "v2.1.inst.tar" in the ftp	directory.  This file is a link to the appropriate released version (so	don't waste your time retrieving the linked file as well!) Any files of	the form v2.1.*.patch are shell scripts that can be used to patch older	versions of the source code.  For example, the file v2.1.0.patch would	contain patches to update v2.1.0.tar.Z.  (Note to beta testers: this is	different than the naming conventions used during beta testing.) Patch	files only work to go between consecutive versions, so if you are	multiple versions behind the latest release, you will need to apply	each patch file between your current version and the latest.	Obtaining the Software by Electronic Mail	-----------------------------------------	Do not send me requests for the software; they will be ignored (without	response).  If you cannot use FTP at all, there is a service called	"ftpmail" available from gatekeeper.dec.com:  you can send e-mail to	this machine and it will use FTP to retrieve files for you and send you	the files back again via e-mail.  To find out more about the ftpmail	service, send a message to "ftpmail@gatekeeper.dec.com" whose body	consists of the single line "help".	Obtaining the Software Within Silicon Graphics	----------------------------------------------	Internal to Silicon Graphics there are inst'able images on the host	flake.asd in the directory /usr/dist.  Thus you can do something like:	    % inst -f flake.asd.sgi.com:/usr/dist/flexfax	to install the latest version of the software on your machine.	What to do Once You've Retrieved Stuff	--------------------------------------	The external distributions come in a compressed or uncompressed tar	file.  To extract the source distribution:	    % zcat v2.1.src.tar.Z | tar xf -	(uncompress and extract individual files in current directory).  To	unpack and install the client portion of the inst'able distribution:	    % mkdir dist	    % cd dist; tar xf ../v2.1.inst.tar; cd ..	    % inst -f dist/flexfax	    ...	    inst> go	(Note, the dist subdirectory is because some versions of inst fail if	the files are in the current directory.) Server binaries are also	included in the inst'able images as flexfax.server.*.  They are not	installed by default, so to get them also you need to do:	    % inst -f flexfax	    ...	    inst> install flexfax.server.*	    inst> go	The SGI binaries were built for Version 4.0.5H of the IRIX operating	system.  They should work w/o problem on earlier versions of the	system, but I have not fully tested this.  Also, note that to install a	server on an SGI machine, you need to have installed the Display	PostScript execution environment product (dps_eoe).  Otherwise, the fax	server will not be able to convert PostScript to facsimile for	transmission.	If you are working from the source distribution, look at the file	README in the top of the source tree.  If you are working from the inst	images, the subsystem flexfax.man.readme contains the README file and	other useful pieces of information--the installed files are placed in	the directory /usr/local/doc/flexfax).  Basically you will need to run	the faxaddmodem script to setup and configure your fax modem.  Consult	the README file and the manual page for faxaddmodem for information.	FlexFAX Mail List	-----------------	A mailing list for users of this software is located on sgi.com.	If you want to join this mailing list or have a list-related request	such as getting your name removed from it, send a request to	    majordomo@whizzer.wpd.sgi.com	For example, to subscribe, send the line "subscribe flexfax" in	the body of your message.  The line "help" will return a list of

⌨️ 快捷键说明

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