module.conf.php 3.08 KB
Newer Older
1
2
<?php

3
4
5
6
7
$module['name'] 		= 'mail';
$module['title'] 		= 'Email';
$module['template'] 	= 'module.tpl.htm';
$module['startpage'] 	= 'mail/mail_domain_list.php';
$module['tab_width']    = '';
8
9


10
11
12
13
//**** Email accounts menu
$items = array();

$items[] = array( 'title' 	=> 'Domain',
14
15
16
				  'target' 	=> 'content',
				  'link'	=> 'mail/mail_domain_list.php');

17
$items[] = array( 'title' 	=> 'Email Mailbox',
18
19
20
				  'target' 	=> 'content',
				  'link'	=> 'mail/mail_user_list.php');

21
$items[] = array( 'title' 	=> 'Email Alias',
22
23
24
				  'target' 	=> 'content',
				  'link'	=> 'mail/mail_alias_list.php');			  

25
$items[] = array( 'title' 	=> 'Email Forward',
26
27
28
				  'target' 	=> 'content',
				  'link'	=> 'mail/mail_forward_list.php');

29
$items[] = array( 'title' 	=> 'Email Catchall',
30
31
32
				  'target' 	=> 'content',
				  'link'	=> 'mail/mail_domain_catchall_list.php');

33
$items[] = array( 'title' 	=> 'Email Routing',
34
35
36
				  'target' 	=> 'content',
				  'link'	=> 'mail/mail_transport_list.php');

37
$module['nav'][] = array(	'title'	=> 'Email Accounts',
38
39
40
							'open' 	=> 1,
							'items'	=> $items);

41
42
//**** Spamfilter menu
$items = array();
43

44
$items[] = array( 'title' 	=> 'Whitelist',
45
46
47
				  'target' 	=> 'content',
				  'link'	=> 'mail/spamfilter_whitelist_list.php');

48
$items[] = array( 'title' 	=> 'Blacklist',
49
50
51
				  'target' 	=> 'content',
				  'link'	=> 'mail/spamfilter_blacklist_list.php');

52
if($_SESSION['s']['user']['typ'] == 'admin') {
53

54
	$items[] = array( 	'title' 	=> 'User / Domain',
55
				  		'target' 	=> 'content',
56
				  		'link'	    => 'mail/spamfilter_users_list.php');
57

58
	$items[] = array( 	'title' 	=> 'Policy',
59
				  		'target' 	=> 'content',
60
				  		'link'	    => 'mail/spamfilter_policy_list.php');
61
62
63
64
						
	$items[] = array( 	'title' 	=> 'Server Settings',
				  		'target' 	=> 'content',
				  		'link'	    => 'mail/spamfilter_config_list.php');
65
66
}

67
$module['nav'][] = array(	'title'	=> 'Spamfilter',
68
69
70
							'open' 	=> 1,
							'items'	=> $items);

71
72
//**** Fetchmail menu
$items = array();
73

74
$items[] = array( 'title' 	=> 'Fetchmail',
75
76
77
78
				  'target' 	=> 'content',
				  'link'	=> 'mail/mail_get_list.php');


79
$module['nav'][] = array(	'title'	=> 'Fetchmail',
80
81
82
							'open' 	=> 1,
							'items'	=> $items);

83
84
85
//**** Statistics menu
$items = array();

tbrehm's avatar
tbrehm committed
86
$items[] = array( 'title' 	=> 'Mailbox traffic',
87
88
				  'target' 	=> 'content',
				  'link'	=> 'mail/mail_user_stats.php');
89

90
91
92
93
94
95

$module['nav'][] = array(	'title'	=> 'Statistics',
							'open' 	=> 1,
							'items'	=> $items);
							
							
96
97
98
//**** Global filters menu
$items = array();
if($_SESSION['s']['user']['typ'] == 'admin') {
99

100
101
102
	$items[] = array(   'title' 	=> 'Postfix Whitelist',
  				  	    'target' 	=> 'content',
				  	    'link'	    => 'mail/mail_whitelist_list.php');
103

104
105
106
	$items[] = array(   'title' 	=> 'Postfix Blacklist',
				 	    'target' 	=> 'content',
				  	    'link'	    => 'mail/mail_blacklist_list.php');
107
	
108
109
110
	$items[] = array(   'title' 	=> 'Content Filter',
				 	    'target' 	=> 'content',
				  	    'link'	    => 'mail/mail_content_filter_list.php');
111

112
	$module['nav'][] = array(	'title'	=> 'Global Filters',
113
114
115
116
								'open' 	=> 1,
								'items'	=> $items);
}

tbrehm's avatar
tbrehm committed
117
?>