summaryrefslogtreecommitdiff
path: root/packages/p3scan/files/doc.configure.txt
diff options
context:
space:
mode:
authorJamie Lenehan <lenehan@twibble.org>2006-10-13 07:54:54 +0000
committerJamie Lenehan <lenehan@twibble.org>2006-10-13 07:54:54 +0000
commited73ca098e3c44c6a08604500876552ffd023b47 (patch)
treef5cb2bd9413f902ede7be99ef0c9b5fb1cba07db /packages/p3scan/files/doc.configure.txt
parent2de2711091ecf78d37a4dbf7abd2ac912bdd744b (diff)
p3scan 2.9.05d: Add p3scan, a transparent proxy for POP3, POP3S and SMTP
with virus scanning support. Default configuration uses clamav directly via libclamav.
Diffstat (limited to 'packages/p3scan/files/doc.configure.txt')
-rw-r--r--packages/p3scan/files/doc.configure.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/p3scan/files/doc.configure.txt b/packages/p3scan/files/doc.configure.txt
new file mode 100644
index 0000000000..2d925f8314
--- /dev/null
+++ b/packages/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.