diff options
Diffstat (limited to 'en_US.ISO8859-1/articles/relaydelay/article.xml')
-rw-r--r-- | en_US.ISO8859-1/articles/relaydelay/article.xml | 52 |
1 files changed, 23 insertions, 29 deletions
diff --git a/en_US.ISO8859-1/articles/relaydelay/article.xml b/en_US.ISO8859-1/articles/relaydelay/article.xml index 26cfe3903b..b2e63391f4 100644 --- a/en_US.ISO8859-1/articles/relaydelay/article.xml +++ b/en_US.ISO8859-1/articles/relaydelay/article.xml @@ -1,22 +1,16 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.5-Based Extension//EN" - "../../../share/xml/freebsd45.dtd"> - +<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V5.0-Based Extension//EN" + "../../../share/xml/freebsd50.dtd"> <!-- $FreeBSD$ --> +<article xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0" xml:lang="en"> + <info><title>Using Greylist with &os;</title> + -<article lang='en'> - <articleinfo> - <title>Using Greylist with &os;</title> - - <author> - <firstname>Tom</firstname> - <surname>Rhodes</surname> - <affiliation> + <author><personname><firstname>Tom</firstname><surname>Rhodes</surname></personname><affiliation> <address><email>trhodes@FreeBSD.org</email></address> - </affiliation> - </author> + </affiliation></author> <copyright> <year>2004</year> @@ -53,14 +47,14 @@ comes into the server. From my personal experience, this really does cut out 90% of the spam.</para> </abstract> - </articleinfo> + </info> <sect1> <title>Basic Configuration</title> <para>We need to install the threaded <command>perl</command>. - Install <filename role="package">lang/perl5.8</filename> - with the <makevar>USE_THREADS=yes</makevar> variable + Install <package>lang/perl5.8</package> + with the <varname>USE_THREADS=yes</varname> variable set. The current version of <command>perl</command> may need to be removed first; errors will be reported by the install process if this is necessary.</para> @@ -68,7 +62,7 @@ <note> <para>This will require all ports which require <command>perl</command> to be rebuilt and reinstalled; - <filename role="package">ports-mgmt/portupgrade</filename> + <package>ports-mgmt/portupgrade</package> is perfect for this. At least it will point out which ports have been removed and which will need to be reinstalled.</para> @@ -77,23 +71,23 @@ <para>Now for the database server; <application>MySQL</application> is perfect for this sort of work. Install the - <filename role="package">databases/mysql40-server</filename> + <package>databases/mysql40-server</package> along with - <filename role="package">databases/p5-DBD-mysql40</filename>. + <package>databases/p5-DBD-mysql40</package>. The previous port should imply the installation of - <filename role="package">databases/p5-DBI-137</filename> + <package>databases/p5-DBI-137</package> so that knocks off another step.</para> <para>Install the <command>perl</command> based portable - server plugin, <filename role="package">net/p5-Net-Daemon</filename> + server plugin, <package>net/p5-Net-Daemon</package> port. Most of these port installations should have been straight forward. The next step will be more involved.</para> <para>Now install the - <filename role="package">mail/p5-Sendmail-Milter</filename> + <package>mail/p5-Sendmail-Milter</package> port. As of this writing the <filename>Makefile</filename> - contains a line beginning with <makevar>BROKEN</makevar>, + contains a line beginning with <varname>BROKEN</varname>, just remove it or comment it out. It is only marked this way because &os; neither has nor installs a threaded <command>perl</command> package by default. Once that @@ -143,7 +137,7 @@ is beyond the scope of this document.</para> <para>Change the working directory to the - <filename class="directory">relaydelay-0.04</filename> + <filename>relaydelay-0.04</filename> directory:</para> <screen>&prompt.root; <userinput>cd relaydelay-0.04</userinput></screen> @@ -166,7 +160,7 @@ <para>If everything worked correctly a new file, <filename>relaydelay.log</filename>, should exist in - <filename class="directory">/var/log</filename>. It should + <filename>/var/log</filename>. It should contain something similar to the following text:</para> <programlisting>Loaded Config File: /etc/mail/relaydelay.conf @@ -188,13 +182,13 @@ Starting Sendmail::Milter 0.18 engine.</programlisting> <para>Rebuild and reinstall the files in the <filename>/etc/mail</filename> directory and restart <command>sendmail</command>. A quick <command>make</command> - <maketarget>restart</maketarget> should do the trick.</para> + <buildtarget>restart</buildtarget> should do the trick.</para> <para>Obtain the <command>perl</command> script located at - <ulink url="http://lists.puremagic.com/pipermail/greylist-users/2003-November/000327.html"> - http://lists.puremagic.com/pipermail/greylist-users/2003-November/000327.html</ulink> + <link xlink:href="http://lists.puremagic.com/pipermail/greylist-users/2003-November/000327.html"> + http://lists.puremagic.com/pipermail/greylist-users/2003-November/000327.html</link> and save it in the - <filename class="directory">relaydelay-0.04</filename> + <filename>relaydelay-0.04</filename> directory. In the following examples this script is referred to as <filename>addlist.pl</filename>.</para> |