summaryrefslogtreecommitdiff
path: root/mail/websieve/files/patch-websieve.conf
blob: 13e7ccb3fcf784860d2a35738f5b2144d3db4686 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
--- websieve.conf.orig	Fri Apr 25 15:55:52 2003
+++ websieve.conf	Fri Apr 25 16:02:55 2003
@@ -1,10 +1,10 @@
 #Websieve configuration file
 
 #set $useldapextras=1 to use Jules Agee's ldap administration functions
-$useldapextras=1;
+$useldapextras=0;
 
 #set $useauth=1 to use ldap (for ldap password changes)
-$useauth=1;
+$useauth=0;
 $LDAP_SERVER='localhost';
 $LDAP_BASEDN='o=toshiba of canada,c=ca';
 $ENCRYPT_PASS=1;
@@ -16,17 +16,17 @@
 # You can write you own functions to change passwords on a different auth
 # mechanism such as on a MysSql server, Qualcomm poppassd server, etc.
 
-require "./custom.pl";
+#require "/usr/local/etc/websieve/custom.pl";
 
 #secret key - CHANGE THIS to some random data!!!!
 $skey = "your secret key CEDEFEKJKIIEIOO***#KIKIDKKEUIULJLJKJ";
 #use RC4 algorithm for encryption instead of rot13
 $userc4=1;
 #cyrus admin user id that is used for general mailbox administration
-$cyrusadminuid='admin';
+$cyrusadminuid='cyrus';
 
 # default imap server host name 
-$imapserver='imap.toshiba.ca';
+$imapserver='localhost';
 
 #make sure you set this to your program virtual name and path
 #$program_url = "/cgi-bin/websieve.pl" ;      # URL for this program
@@ -36,7 +36,7 @@
 $imapport='143';
 
 #your mail domain
-$maildomain='test.toshiba.ca' ;
+$maildomain='example.com' ;
 
 #default FQHN of the  mail server for use in vacation addresses
 $mailhostappend="imap.$maildomain";
@@ -60,10 +60,8 @@
 #$sieveport,$imapport,$maildomain, $imapserver and $usexxxSSL will be used instead.
 
 %server_hosts=(
-"imap.toshiba.ca"=>['Local Server','143','2000','toshiba.ca','imap.toshiba.ca'],
-"otherhost"=>['Some otherhost','993','2000','maildomain2','vacationhost2','ssl_imap'],
-"mtl.toshiba.ca"=>['Mtl Server','143','2000','toshiba.ca','mtl.toshiba.ca'],
-"otherhostname"=>['other Imap Server','143','2000','other.toshiba.ca','vacationhost3']
+"localhost"=>['Local Server','143','2000','example.com','example.com'],
+"127.0.0.1"=>['Secure Server','993','2000','example.com','example.com','ssl_imap']
 );
 
 # show server selection option at login otherwise defaults to $imapserver
@@ -85,7 +83,7 @@
 $header1="Mail Account Management";
 
 # This is the address that supports your mail server
-$problem_email="administrator\@$maildomain" ;
+$problem_email="postmaster\@$maildomain" ;
 
 # list of additional namespaces on IMAP server
 @namespaces = ("public2");
@@ -183,7 +181,7 @@
 
 # Menu selections 
 $LOGOUTURL="<a href=$program_url?op=logout>[LOGOUT]</a>" if !$LOGOUTURL;
-$HOMEURL="<a href=/index.html>[HOME]</a>";
+$HOMEURL="<a href=/>[HOME]</a>";
 $HELPURL="<a href=/mailhelp.html>[HELP]</a>";
 $VIEWRULESURL="<a href=$program_url?op=viewrules>[View/Edit Rules]</a>";
 $FORWARDALLURL="<a href=$program_url?op=forward>[Forward Mail]</a>";