1 diff -Nur old/AMAVIS/MTA/Courier.pm new/AMAVIS/MTA/Courier.pm
2 --- old/AMAVIS/MTA/Courier.pm 2003-03-17 23:04:11.000000000 +0000
3 +++ new/AMAVIS/MTA/Courier.pm 2004-07-25 21:50:53.000000000 +0000
7 $message_id = sprintf("%.8x-%.4x",time,$$);
8 - unless (defined mkpath ($prefix.$message_id, 0, 0770)) {
9 + unless (defined mkpath ($prefix.$message_id, 0, 0775)) {
13 diff -Nur old/doc/amavis-ng.texi new/doc/amavis-ng.texi
14 --- old/doc/amavis-ng.texi 2003-04-14 15:18:47.000000000 +0000
15 +++ new/doc/amavis-ng.texi 2004-07-23 12:07:46.000000000 +0000
16 @@ -1044,36 +1044,33 @@
20 -chown -R daemon:daemon /var/spool/amavis-ng/quarantine/
21 +chown -R daemon /var/{spool,log}/amavis-ng/
25 @node Configuring Courier to use @command{AMaViS-ng}
26 @subsubsection Configuring Courier to use @command{AMaViS-ng}
28 When @command{AMaViS-ng} is configured for Courier support, the program
29 @command{amavis} is the application which should be configured for use with
30 -@command{perlfilter}. Proper configuation of the Courier perlfilter interface
31 -is beyond the scope of this document. It is suggested that the
32 -reader attempt to configure the @command{perlfilter-example.pl} perlfilter
33 -as distributed with Courier in order to ensure a proper and working
34 -@command{perlfilter} installation before proceeding. The following man
35 -pages distribute with Courier may also prove helpful:
36 +@command{perlfilter}.
38 +Example perlfilter configuration:
41 +echo "all" > /etc/courier/filters/perlfilter-mode
42 +echo "30" > /etc/courier/filters/perlfilter-numprocs
43 +echo "/usr/bin/amavis" > /etc/courier/filters/perlfilter
44 +chown daemon.daemon /etc/courier/filters/perlfilter*
45 +filterctl start perlfilter
51 @cite{courierfilter(8)}
53 @cite{courierperlfilter(8)}
55 -After configuring a working perlfilter, put the following line into@*
56 -@file{/etc/courier/filters/perlfilter}, substituting the pathname to
57 -@command{amavis} with the correct path for your installation:
65 Reload the perlfilter and start the virus filter with the commands: