Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-doc-cvs
swift 12/04/29 17:26:08
Modified: mailfilter-guide.xml
Log:
Fix bug #399803 - Repeat chown after upgrade of amavisd-new
Revision Changes Path
1.27 xml/htdocs/doc/en/mailfilter-guide.xml
file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/mailfilter-guide.xml?rev=1.27&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/mailfilter-guide.xml?rev=1.27&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/mailfilter-guide.xml?r1=1.26&r2=1.27
Index: mailfilter-guide.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/mailfilter-guide.xml,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- mailfilter-guide.xml 19 Jun 2011 09:12:09 -0000 1.26
+++ mailfilter-guide.xml 29 Apr 2012 17:26:08 -0000 1.27
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/mailfilter-guide.xml,v 1.26 2011/06/19 09:12:09 nightmorph Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/mailfilter-guide.xml,v 1.27 2012/04/29 17:26:08 swift Exp $ -->
<guide>
<title>Gentoo mailfiltering gateway guide</title>
@@ -25,8 +25,8 @@
<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
<license/>
-<version>5</version>
-<date>2011-06-19</date>
+<version>2</version>
+<date>2012-04-29</date>
<chapter>
<title>Introduction</title>
@@ -1913,6 +1913,35 @@
</body>
</section>
<section>
+<title>Repeating tasks after installation</title>
+<body>
+
+<p>
+Some of the activities mentioned in this guide will need to be repeated after
+upgrades. For instance, the <c>chown -R amavis:mailusers</c> in the section on
+<uri link="#doc_chap6">Autolearning and sidelining emails</uri> will need to be
+repeated after every update of amavisd-new.
+</p>
+
+<p>
+Luckily, Gentoo provides you with the means to perform these steps
+automatically. In <uri
+link="/doc/en/handbook/handbook-amd64.xml?part=3&chap=6#doc_chap3">Hooking in
+the Emerge Process</uri>, the Gentoo Handbook explains how to execute tasks
+after installations of a particular package, like so:
+</p>
+
+<pre caption="Example bashrc snippet for running the mentioned chown">
+if [ "${PN}" == "amavisd-new" ] &&
+ [ "${EBUILD_PHASE}" == "postinst" ];
+then
+ chown -R amavis:mailusers /var/amavis/.maildir
+fi
+</pre>
+
+</body>
+</section>
+<section>
<title>Getting help</title>
<body>
|
|