Changeset 203
- Timestamp:
- 09/15/07 23:41:59 (16 months ago)
- Location:
- trunk
- Files:
-
- 7 modified
-
ChangeLog (modified) (1 diff)
-
contrib/installService.sh (modified) (1 diff)
-
includes/config.inc.default.php (modified) (2 diffs)
-
includes/func.inc.php (modified) (1 diff)
-
includes/sites/main.php (modified) (1 diff)
-
mail_system.sql (modified) (1 diff)
-
system_scripts/runScripts.sh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r202 r203 1 CpVES 0.09 YYYY-MM-DD - Jonas Genannt - <jonas.genannt@brachium-system.net> 2 1 CpVES 0.09 2007-09-15 - Jonas Genannt - <jonas.genannt@brachium-system.net> 2 o Improved: runScripts.sh create_fetchmail.pl should not run on trigger 3 o Improved: trigger backendscript marked as stable 4 o Removed: all rbl checking code (never used) 5 o Fixed: defect mail_system.sql again 3 6 CpVES 0.08 2007-09-15 - Jonas Genannt - <jonas.genannt@brachium-system.net> 4 7 o Added: policyd-weight per user/domain configuration -
trunk/contrib/installService.sh
r164 r203 3 3 echo "service mailcontrol 4 4 { 5 disable = yes5 disable = no 6 6 socket_type = stream 7 7 protocol = tcp -
trunk/includes/config.inc.default.php
r202 r203 60 60 $config['recipient_classes_grey']=0; 61 61 62 $ar_spam=array("cbl.abuseat.org","multi.surbl.org","sbl-xbl.spamhaus.org");63 64 62 // use CpVES mailinglist feature 65 63 $config['mailinglists'] = '1'; 66 64 67 //Run Systemscript via xinetd Service 68 $config['service_enabled'] = 'n'; // Development, please don't use! 69 $config['service_port'] = 7928; // Development, please don't use! 65 //Trigger system_scripts via webinterface for faster backend: 66 $config['trigger_service_enabled'] = 0; 67 $config['trigger_service_host'] = "localhost"; 68 $config['trigger_service_port'] = 7928; 70 69 71 70 $options = array( … … 85 84 "autoresponder_send", "email_options","fetchmail", 86 85 "mailarchive","mailfilter","spamassassin","spamassassin_learn","autoresponder_xheader"); 87 $config['cpves_version']="0.09 -SVN";86 $config['cpves_version']="0.09"; 88 87 require_once(ROOT . '/includes/func.inc.php'); 89 88 ?> -
trunk/includes/func.inc.php
r198 r203 428 428 function run_systemscripts() { 429 429 global $config; 430 if( $config[' service_enabled'] == 'y') {430 if( $config['trigger_service_enabled'] == 1 ) { 431 431 $socket = @socket_create (AF_INET, SOCK_STREAM, 0); 432 $result = @socket_connect ($socket, '127.0.0.1',433 $config[' service_port']);432 $result = @socket_connect ($socket, $config['trigger_service_host'], 433 $config['trigger_service_port']); 434 434 @socket_close ($socket); 435 435 } -
trunk/includes/sites/main.php
r182 r203 88 88 } 89 89 } 90 /*91 //check for spam:92 if (isset($_SESSION['superadmin']) && $_SESSION['superadmin']=='y'&& $test=='y')93 {94 95 require_once 'Net/DNSBL.php';96 $dnsbl = new Net_DNSBL();97 98 $table_spam=array();99 while (list($key, $value) = each($ar_spam))100 //foreach($ar_spam as $value)101 {102 $dnsbl->setBlacklists($value);103 if ($dnsbl->isListed($config['server_ip']))104 {105 $smarty->assign('if_blacklist_listet', 'y');106 array_push($table_spam, array('spam' => $value));107 }108 109 }110 111 $smarty->assign('ipaddr',$config['server_ip'] );112 $smarty->assign('table_spam', $table_spam);113 114 } // SPAM CHECK ENDE115 */116 90 117 91 //email user part: -
trunk/mail_system.sql
r199 r203 368 368 INSERT INTO `adm_users` ( `id` , `username` , `passwd` , `access` , `manager` , `full_name` , `cpasswd` , `web_lang` ) 369 369 VALUES ( 370 NULL , 'admin', ' $1$Ekjbn5PV$lTKL1k2IkDKzpneppf6Wx0', '1', '1', NULL , '', ''370 NULL , 'admin', '', '1', '1', NULL , '$1$Ekjbn5PV$lTKL1k2IkDKzpneppf6Wx0', '' 371 371 ); 372 372 -
trunk/system_scripts/runScripts.sh
r163 r203 6 6 $SCRIPTDIR/create_mailboxes.pl 7 7 $SCRIPTDIR/create_mailfilters.pl 8 $SCRIPTDIR/create_fetchmail.pl9 8 $SCRIPTDIR/delete_mailbox.pl
