diff --git a/en_US.ISO8859-1/books/faq/book.sgml b/en_US.ISO8859-1/books/faq/book.sgml index bfa62df288..c513d5faa4 100644 --- a/en_US.ISO8859-1/books/faq/book.sgml +++ b/en_US.ISO8859-1/books/faq/book.sgml @@ -6221,7 +6221,7 @@ options SYSVMSG # enable for messaging preprocessing, where the actual hand-crafted configuration is on a higher abstraction level. You should use the configuration files under - /usr/src/usr.sbin/sendmail/cf + /usr/src/usr.sbin/sendmail/cf. If you did not install your system with full sources, the sendmail config stuff has been broken out into a separate @@ -6252,22 +6252,22 @@ options SYSVMSG # enable for messaging &prompt.root; cd /usr/src/usr.sbin/sendmail/cf/cf &prompt.root; make foo.cf -&prompt.root; cp foo.cf /etc/sendmail.cf +&prompt.root; cp foo.cf /etc/mail/sendmail.cf A typical .mc file might look like: - include(`../m4/cf.m4') -VERSIONID(`Your version number') + VERSIONID(`Your version number') OSTYPE(bsd4.4) -FEATURE(nodns) +FEATURE(accept_unresolvable_domains) FEATURE(nocanonify) -FEATURE(mailertable) +FEATURE(mailertable, `hash -o /etc/mail/mailertable') define(`UUCP_RELAY', your.uucp.relay) define(`UUCP_MAX_SIZE', 200000) +define(`confDONT_PROBE_INTERFACES') MAILER(local) MAILER(smtp) @@ -6276,8 +6276,8 @@ MAILER(uucp) Cw your.alias.host.name Cw youruucpnodename.UUCP - The nodns and - nocanonify features will prevent any usage + The lines containing accept_unresolvable_domains, + nocanonify, and confDONT_PROBE_INTERFACES features will prevent any usage of the DNS during mail delivery. The UUCP_RELAY clause is needed for bizarre reasons, do not ask. Simply put an Internet hostname there that @@ -6285,11 +6285,18 @@ Cw youruucpnodename.UUCP you will enter the mail relay of your ISP there. Once you have got this, you need this file called - /etc/mailertable. A typical example of - this gender again: + /etc/mail/mailertable. If have only + one link to the outside that is used for all your mails, + the following file will be enough: # -# makemap hash /etc/mailertable.db < /etc/mailertable +# makemap hash /etc/mail/mailertable.db < /etc/mail/mailertable +. uucp-dom:your.uucp.relay + + A more complex example might look like this: + + # +# makemap hash /etc/mail/mailertable.db < /etc/mail/mailertable # horus.interface-business.de uucp-dom:horus .interface-business.de uucp-dom:if-bus @@ -6336,11 +6343,10 @@ if-bus.UUCP uucp-dom:if-bus &prompt.user; sendmail -bt ADDRESS TEST MODE (ruleset 3 NOT automatically invoked) Enter <ruleset> <address> -> 0 foo@interface-business.de -rewrite: ruleset 0 input: foo @ interface-business . de +> 3,0 foo@example.com +canonify input: foo @ example . com ... -rewrite: ruleset 0 returns: $# uucp-dom $@ if-bus $: foo \ -< @ interface-business . de > +parse returns: $# uucp-dom $@ your.uucp.relay $: foo < @ example . com . > > ^D