This file is indexed.

/usr/share/sendmail/examples/amavis/amavis-doc-8.html is in sendmail-base 8.15.2-10.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
 <META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.10">
 <TITLE>How to Install Amavis-milter for Debian Sendmail: An Example Startup script</TITLE>
 <LINK HREF="amavis-doc-7.html" REL=previous>
 <LINK HREF="amavis-doc.html#toc8" REL=contents>
</HEAD>
<BODY>
Next
<A HREF="amavis-doc-7.html">Previous</A>
<A HREF="amavis-doc.html#toc8">Contents</A>
<HR>
<H2><A NAME="s8">8.</A> <A HREF="amavis-doc.html#toc8">An Example Startup script</A></H2>

<P>
<HR>
<PRE>
#!/bin/sh 
# /etc/init.d/amavis-ramdisk
# Script to run Amavis from a ram disk.

# I keep my antiviral scanner and data files on a ramdisk for speed.
AVDIR=&quot;/usr/local/share/av.original&quot;
RAMDISK=&quot;/usr/local/share/av.ramdisk&quot;
AMAVISBIN=&quot;/usr/local/sbin&quot;
AMAVISSOCK=&quot;/var/local/amavis&quot;
[ -d $AVDIR -a -d $RAMDISK ] || exit 0
case &quot;$1&quot; in
start)
   mke2fs /dev/ram0 &gt; /dev/null 2&gt;&amp;1
   mount /dev/ram0 $RAMDISK
   cp $AVDIR/* $RAMDISK
   if [ -S $AMAVISSOCK/amavis-milter.sock ]; then
      rm -rf $AMAVISSOCK/amavis-milter.sock
   fi
   if [ -S $AMAVISSOCK/amavisd.sock ]; then
      rm -rf $AMAVISSOCK/amavisd.sock
   fi
   nohup $AMAVISBIN/amavis-milter -p $AMAVISSOCK/amavis-milter.sock &amp;
   $AMAVISBIN/amavisd
;;
stop)
   kill -9 `ps x | grep amavisd | grep -v grep | awk '{print $1}'`2&gt; /dev/null
   kill -9 `ps x | grep amavis-milter | grep -v grep | awk '{print $1}'` 2&gt; /dev/null
   # I need to sleep for some reason :(
   sleep 2umount /dev/ram0
;;
*)
   echo &quot;Usage: /etc/init.d/amavis-ramdisk {start|stop}&quot;
   exit 1
;;
esac
exit 0
</PRE>
<HR>
</P>
<P>Don't forget to update your antivirus data files regularly. </P>
<P>
<BLOCKQUOTE>
Send all comments and corrections to &lt;jps@maxlingua.com&gt;.
Support free software!
</BLOCKQUOTE>
</P>


<HR>
Next
<A HREF="amavis-doc-7.html">Previous</A>
<A HREF="amavis-doc.html#toc8">Contents</A>
</BODY>
</HTML>