summaryrefslogtreecommitdiff
path: root/mail/imp4/files
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2005-01-16 21:36:27 +0000
committeradrianp <adrianp@pkgsrc.org>2005-01-16 21:36:27 +0000
commitadbcd2e92ddbc0ca6a9d9879d9ddfe424481da8f (patch)
tree383a00813aecb9acb1bc61c4c37921e3d7bb54d1 /mail/imp4/files
parent7eea6b05b70c7d0aeab3893f42a1791d2feb700a (diff)
downloadpkgsrc-adbcd2e92ddbc0ca6a9d9879d9ddfe424481da8f.tar.gz
IMP is a set of PHP scripts that implement an IMAP/POP based webmail system.
Assuming you have an account on a server that supports IMAP/POP, you can use an installation of IMP to check your mail from anywhere that you have web access. This is the 4.x branch of IMP designed to work with Horde 3.x.
Diffstat (limited to 'mail/imp4/files')
-rw-r--r--mail/imp4/files/imp.conf.dist43
1 files changed, 43 insertions, 0 deletions
diff --git a/mail/imp4/files/imp.conf.dist b/mail/imp4/files/imp.conf.dist
new file mode 100644
index 00000000000..af4441b2317
--- /dev/null
+++ b/mail/imp4/files/imp.conf.dist
@@ -0,0 +1,43 @@
+# $NetBSD: imp.conf.dist,v 1.1.1.1 2005/01/16 21:36:28 adrianp Exp $
+#
+# IMP configuration file fragment for Apache
+
+<IfModule mod_alias.c>
+ Alias /imp/ "/usr/pkg/share/horde/imp/"
+</IfModule>
+
+<Directory "/usr/pkg/share/horde">
+ DirectoryIndex index.php
+ <IfModule mod_php4.c>
+ php_flag file_uploads On
+ php_flag upload_max_filesize 5M
+ </IfModule>
+</Directory>
+
+# For security, don't serve pages from the IMP configuration and library
+# directories.
+#
+<Directory "@IMPDIR@/config">
+ Order deny,allow
+ Deny from all
+</Directory>
+<Directory "@IMPDIR@/lib">
+ Order deny,allow
+ Deny from all
+</Directory>
+<Directory "@IMPDIR@/locale">
+ Order deny,allow
+ Deny from all
+</Directory>
+<Directory "@IMPDIR@/po">
+ Order deny,allow
+ Deny from all
+</Directory>
+<Directory "@IMPDIR@/scripts">
+ Order deny,allow
+ Deny from all
+</Directory>
+<Directory "@IMPDIR@/templates">
+ Order deny,allow
+ Deny from all
+</Directory>