add html header information
improve multidomain template config file
This commit is contained in:
parent
fc564403fa
commit
0452092b85
|
@ -25,6 +25,7 @@
|
|||
|
||||
# domain names may not contain any special characters
|
||||
# you must define at least "name" and "list_dir" for each domain
|
||||
# everything that you do not define here, is taken from ezmlmwebrc
|
||||
%DOMAINS = (
|
||||
foo => {
|
||||
name => "Example Domain Foo",
|
||||
|
@ -36,11 +37,12 @@
|
|||
dot_dir => "/var/vpopmail/lists/bar",
|
||||
mail_domain => "lists.bar.org",
|
||||
mail_prefix => "lists-",
|
||||
webusers_file => "/data/lists/bar/webusers",
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
# this simple code defines $LIST_DIR and $DOTQMAILDIR in a sane way
|
||||
# this simple code defines the most common list specific parameters in a sane way
|
||||
if (defined($CURRENT_DOMAIN) && defined($DOMAINS{$CURRENT_DOMAIN})) {
|
||||
$LIST_DIR = $DOMAINS{$CURRENT_DOMAIN}{'list_dir'}
|
||||
if (defined $DOMAINS{$CURRENT_DOMAIN}{'list_dir'});
|
||||
|
@ -50,6 +52,8 @@ if (defined($CURRENT_DOMAIN) && defined($DOMAINS{$CURRENT_DOMAIN})) {
|
|||
if (defined $DOMAINS{$CURRENT_DOMAIN}{'mail_domain'});
|
||||
$MAIL_ADDRESS_PREFIX = $DOMAINS{$CURRENT_DOMAIN}{'mail_prefix'}
|
||||
if (defined $DOMAINS{$CURRENT_DOMAIN}{'mail_prefix'});
|
||||
$WEBUSERS_FILE = $DOMAINS{$CURRENT_DOMAIN}{'webusers_file'}
|
||||
if (defined $DOMAINS{$CURRENT_DOMAIN}{'webusers_file'});
|
||||
} else {
|
||||
$LIST_DIR = '';
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
|
||||
<head>
|
||||
<title><?cs var:Config.PageTitle ?></title>
|
||||
|
|
Loading…
Reference in a new issue