aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/clamsmtp/files/doc.configure.txt
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/clamsmtp/files/doc.configure.txt')
-rw-r--r--recipes/clamsmtp/files/doc.configure.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes/clamsmtp/files/doc.configure.txt b/recipes/clamsmtp/files/doc.configure.txt
new file mode 100644
index 0000000000..b06487f31a
--- /dev/null
+++ b/recipes/clamsmtp/files/doc.configure.txt
@@ -0,0 +1,15 @@
+The following items needs to be considered when using clamsmtp:
+
+1. Scanning is done via clamd (clamav-daemon)
+
+ The clamd daemon must be running for scanning to take place.
+
+2. Transparent proxy
+
+ For transparent proxying you need an IP tables rule such as:
+
+ iptables -t nat -A PREROUTING -i eth0 -p tcp -m tcp --dport 25 -j REDIRECT --to-ports 10025
+
+ where eth0 is the incomming port, and 10025 is the port that clamsmtpd
+ is running on. Also remember to enable transparent proxy support in the
+ configuration file.