From 00aec01c568ecebc2e93a60b098f0fe7ea504673 Mon Sep 17 00:00:00 2001 From: jgg <> Date: Sun, 30 Jul 2000 00:54:13 +0000 Subject: [PATCH] Fixed www permissions --- debian/rules | 5 ++++- web/forward.wml | 5 +++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index ec49962..ef81802 100755 --- a/debian/rules +++ b/debian/rules @@ -39,7 +39,10 @@ binary-indep: build install -m 644 userdir_ldap.py userdir_gpg.py \ $(i)/$(pysite)/userdir_ldap/ install -m 755 {ud-forwardlist,ud-gpgimport,ud-info,ud-ldapshow,ud-userimport,ud-mailgate,ud-generate,ud-passchk,ud-useradd,ud-replicate,ud-xearth,ud-fingerserv,ud-echelon} $(i)/usr/bin/ - install -m 755 web/*.* $(i)/var/www/userdir-ldap/ + install -m 644 web/*.tab $(i)/var/www/userdir-ldap/ + install -m 644 web/*.html $(i)/var/www/userdir-ldap/ + install -m 644 web/*.cfg $(i)/var/www/userdir-ldap/ + install -m 755 web/*.cgi $(i)/var/www/userdir-ldap/ chown www-data.www-data $(i)/var/cache/userdir-ldap/web-cookies/ chmod u=rwx,g=,o= $(i)/var/cache/userdir-ldap/web-cookies/ diff --git a/web/forward.wml b/web/forward.wml index 78a3507..532bbf7 100644 --- a/web/forward.wml +++ b/web/forward.wml @@ -20,6 +20,11 @@ email. If the user has a home directory and no .forward file the mail is forwarded rather than delivered to /var/spool/mail. This makes sure cron reports, bug responses and other unexpected emails are not misplaced. +

+If you set the forwarding address to be a specific Debian machine and do +not create a forward file then that machine will spool the mail to +/var/spool/mail instead of creating a mail loop. +

The email forwarding can be easially reconfigured using GnuPG:

-- 
2.20.1