swift 05/04/16 21:03:10 Modified: xml/htdocs/doc/en mailfilter-guide.xml Log: #88393 - A couple of fixes thanks to Chris Gianelloni
Revision Changes Path 1.5 +15 -16 xml/htdocs/doc/en/mailfilter-guide.xml file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/mailfilter-guide.xml?rev=1.5&content-type=text/x-cvsweb-markup&cvsroot=gentoo plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/mailfilter-guide.xml?rev=1.5&content-type=text/plain&cvsroot=gentoo diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/mailfilter-guide.xml.diff?r1=1.4&r2=1.5&cvsroot=gentoo Index: mailfilter-guide.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/mailfilter-guide.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- mailfilter-guide.xml 25 Mar 2005 15:38:29 -0000 1.4 +++ mailfilter-guide.xml 16 Apr 2005 21:03:10 -0000 1.5 @@ -1,6 +1,6 @@ <?xml version='1.0' encoding='utf-8'?> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/mailfilter-guide.xml,v 1.4 2005/03/25 15:38:29 swift Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/mailfilter-guide.xml,v 1.5 2005/04/16 21:03:10 swift Exp $ --> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> <guide link="/doc/en/mailfilter-guide.xml"> @@ -23,8 +23,8 @@ <!-- See http://creativecommons.org/licenses/by-sa/2.0 --> <license/> -<version>0.7.5</version> -<date>2005-03-25</date> +<version>0.7.6</version> +<date>2005-04-16</date> <chapter> <title>Introduction</title> @@ -577,8 +577,15 @@ <pre caption="Creating the required configuration files"> # <i>emerge razor</i> + +<comment>(Temporarily set amavis' shell to bash)</comment> +# <i>usermod -s /bin/bash amavis</i> # <i>su - amavis</i> -# <i>razor-admin -create</i> +$ <i>razor-admin -create</i> +$ <i>exit</i> + +<comment>(Reset the shell to /bin/false)</comment> +# <i>usermod -s /bin/false amavis</i> </pre> </body> @@ -593,12 +600,7 @@ mail with a fuzzy checksum. </p> -<p> -DCC is still masked so we have to unmask it before we can install it. -</p> - -<pre caption="Permanently unmasking dcc"> -# <i>echo "net-mail/dcc ~x86" >> /etc/portage/package.keywords</i> +<pre caption="Installing DCC"> # <i>emerge dcc</i> </pre> @@ -754,10 +756,6 @@ SA_RESTART="/etc/init.d/amavisd restart" </pre> -<note> -Not sure that restarting Amavisd-new is necessary but it doesn't hurt. -</note> - </body> </section> </chapter> @@ -895,6 +893,7 @@ <pre caption="Create spamtrap account"> # <i>useradd -m spamtrap</i> # <i>maildirmake /home/spamtrap/.maildir</i> +# <i>chown -R spamtrap:mailusers /home/spamtrap/.maildir</i> <comment>(Give the spamtrap user a sensible password)</comment> # <i>passwd spamtrap</i> </pre> @@ -1000,11 +999,11 @@ </p> <p> -Then for the <c>spamtrap</c> you run the following command. +Then run the following command as the <c>spamtrap</c> user: </p> <pre caption="Adding the shared folders to the users mailfolder"> -# <i>maildirmake --add Bayes=/var/amavis/.maildir/Bayes $HOME/.maildir</i> +$ <i>maildirmake --add Bayes=/var/amavis/.maildir/Bayes $HOME/.maildir</i> </pre> <note> -- [email protected] mailing list
