aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/p3scan/files/doc.configure.txt
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/p3scan/files/doc.configure.txt')
-rw-r--r--recipes/p3scan/files/doc.configure.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes/p3scan/files/doc.configure.txt b/recipes/p3scan/files/doc.configure.txt
new file mode 100644
index 0000000000..2d925f8314
--- /dev/null
+++ b/recipes/p3scan/files/doc.configure.txt
@@ -0,0 +1,15 @@
+The following items needs to be considered when using clamsmtp:
+
+1. 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 8110
+ iptables -t nat -A PREROUTING -i eth0 -p tcp -m tcp --dport 110 -j REDIRECT --to-ports 8110
+ iptables -t nat -A PREROUTING -i eth0 -p tcp -m tcp --dport 995 -j REDIRECT --to-ports 8110
+
+ where eth0 is the incomming port, and 8110 is the port that p3scan is
+ running on. Also remember to enable transparent proxy support in the
+ configuration file.
+
+ The ports are 25 for smtp, 110 for pop3 and 995 for pop3s.