Changes

From SME Server
Jump to navigationJump to search
no edit summary
Line 60: Line 60:  
  db configuration setprop atalk variable value
 
  db configuration setprop atalk variable value
 
  signal-event workgroup-update
 
  signal-event workgroup-update
{| width="100%" border="1" cellpadding="5" cellspacing="0"
+
{| width="100%" cellspacing="0" cellpadding="5" border="1"
 
|+Affected file: /etc/atalk/netatalk.conf
 
|+Affected file: /etc/atalk/netatalk.conf
 
!Variable
 
!Variable
Line 71: Line 71:  
|}
 
|}
   −
{{Warning box|The AppleTalk protocol has been remove from SME Server as of version 8.x}}
+
{{Warning box|The AppleTalk protocol has been removed from SME Server as of version 8.x}}
    
==== Backup ====
 
==== Backup ====
Line 77: Line 77:  
  db configuration setprop backup variable value
 
  db configuration setprop backup variable value
 
  signal-event conf-backup
 
  signal-event conf-backup
{| width="100%" border="1" cellpadding="5" cellspacing="0"
+
{| width="100%" cellspacing="0" cellpadding="5" border="1"
 
|+Affected file: /etc/e-smith/events/post-backup/S90eject-tape
 
|+Affected file: /etc/e-smith/events/post-backup/S90eject-tape
 
!Variable
 
!Variable
Line 91: Line 91:  
|no
 
|no
 
|}
 
|}
      
==== Console Mode ====
 
==== Console Mode ====
Line 98: Line 97:  
  signal-event post-upgrade
 
  signal-event post-upgrade
 
  signal-event reboot
 
  signal-event reboot
{| width="100%" border="1" cellpadding="5" cellspacing="0"
+
{| width="100%" cellspacing="0" cellpadding="5" border="1"
 
!Variable
 
!Variable
 
!Target
 
!Target
Line 111: Line 110:     
==== Clam AntiVirus (clamav) ====
 
==== Clam AntiVirus (clamav) ====
 +
===== clamav =====
 +
 
''Usage''
 
''Usage''
 
  db configuration setprop clamav variable value
 
  db configuration setprop clamav variable value
 
  signal-event clamav-update
 
  signal-event clamav-update
{| width="100%" border="1" cellpadding="5" cellspacing="0"
+
{| width="100%" cellspacing="0" cellpadding="5" border="1"
 
|+Affected file: /etc/clamd.conf
 
|+Affected file: /etc/clamd.conf
 
!Variable
 
!Variable
Line 221: Line 222:  
|}
 
|}
   −
 
+
{| width="100%" cellspacing="0" cellpadding="5" border="1"
{| width="100%" border="1" cellpadding="5" cellspacing="0"
   
|+Affected file: /etc/freshclam.conf
 
|+Affected file: /etc/freshclam.conf
 
!Variable
 
!Variable
Line 248: Line 248:  
|6
 
|6
 
|}
 
|}
 
+
===== clamd =====
 
+
''Usage''
{| width="100%" border="1" cellpadding="5" cellspacing="0"
+
db configuration setprop clamd variable value
 +
signal-event clamav-update
 +
{| width="100%" cellspacing="0" cellpadding="5" border="1"
 
|+Affected file: /var/service/clamd/env/MEMLIMIT
 
|+Affected file: /var/service/clamd/env/MEMLIMIT
 
!Variable
 
!Variable
Line 258: Line 260:  
|MemLimit
 
|MemLimit
 
|MEMLIMIT
 
|MEMLIMIT
|600000000
+
|1400000000
 
|}
 
|}
   Line 265: Line 267:  
  db configuration setprop dhcpd variable value
 
  db configuration setprop dhcpd variable value
 
  signal-event remoteaccess-update
 
  signal-event remoteaccess-update
{| width="100%" border="1" cellpadding="5" cellspacing="0"
+
{| width="100%" cellspacing="0" cellpadding="5" border="1"
 
|+Affected file: /etc/dhcpd.conf
 
|+Affected file: /etc/dhcpd.conf
 
!Variable
 
!Variable
Line 286: Line 288:  
Note: the end of the dynamic IP range will be set to the value of 'endDynamicIPRange' ''minus'' the value of pptpd:sessions.
 
Note: the end of the dynamic IP range will be set to the value of 'endDynamicIPRange' ''minus'' the value of pptpd:sessions.
   −
==== DNS Cache Forwarder (dnscache.forwarder) ====
+
==== DNS Cache Forwarder (dnscache / dnscache.forwarder) ====
 
''Usage''
 
''Usage''
 
  db configuration setprop dnscache variable value
 
  db configuration setprop dnscache variable value
  signal-event dns-update
+
  signal-event dns-update  
{| width="100%" border="1" cellpadding="5" cellspacing="0"
+
or for some settings
|+Affected file: /var/service/dnscache.forwarder/config
+
signal-event console-save
 +
 
 +
{| width="100%" cellspacing="0" cellpadding="5" border="1"
 +
|+Affected files: /var/service/dnscache.forwarder/config, var/service/dnscache.forwarder/root/servers/@
 
!Variable
 
!Variable
 
!Target
 
!Target
 
!Default
 
!Default
 +
!Options
 
|-
 
|-
 
|CacheSize
 
|CacheSize
 
|CACHESIZE
 
|CACHESIZE
|1000000
+
|1000000 (SME9 10000000)
 +
|Variable
 
|-
 
|-
 
|DataLimit
 
|DataLimit
 
|DATALIMIT
 
|DATALIMIT
|3000000
+
|3000000 (SME9 12000000)
 +
|Variable
 +
|-
 +
|Forwarder
 +
|Forwarder
 +
|not configured
 +
|a.b.c.d - address of remote DNS server
 +
|-
 +
|Forwarder
 +
|Forwarder2
 +
|not configured
 +
|a.b.c.d - address of remote DNS server
 
|}
 
|}
    +
==== TinyDNS ====
 +
''Usage''
 +
db configuration setprop tinydns variable value
 +
signal-event dns-update
 +
{| width="100%" cellspacing="0" cellpadding="5" border="1"
 +
|+Affected file: /var/service/tinydns/env
 +
!Variable
 +
!Target
 +
!Default
 +
|-
 +
|ListenIP
 +
|IP
 +
|127.0.0.1
 +
|-
 +
|DataLimit
 +
|DATALIMIT
 +
|300000
 +
|}
    
==== FlexBackup ====
 
==== FlexBackup ====
Line 310: Line 346:  
  db configuration setprop flexbackup variable value
 
  db configuration setprop flexbackup variable value
 
  signal-event conf-backup
 
  signal-event conf-backup
{| width="100%" border="1" cellpadding="5" cellspacing="0"
+
{| width="100%" cellspacing="0" cellpadding="5" border="1"
 
|+Affected file: /etc/flexbackup.conf
 
|+Affected file: /etc/flexbackup.conf
 
!Variable
 
!Variable
Line 340: Line 376:  
|tar
 
|tar
 
|}
 
|}
      
==== Horde (webmail) ====
 
==== Horde (webmail) ====
Line 347: Line 382:     
  expand-template /home/httpd/html/horde/conf.menu.apps.php
 
  expand-template /home/httpd/html/horde/conf.menu.apps.php
{| width="100%" border="1" cellpadding="5" cellspacing="0"
+
{| width="100%" cellspacing="0" cellpadding="5" border="1"
 
|+Affected file: /home/httpd/html/horde/conf.menu.aps.php
 
|+Affected file: /home/httpd/html/horde/conf.menu.aps.php
 
!Variable
 
!Variable
Line 357: Line 392:  
|enabled
 
|enabled
 
|}
 
|}
      
  expand-template /home/httpd/html/horde/config/conf.php
 
  expand-template /home/httpd/html/horde/config/conf.php
{| width="100%" border="1" cellpadding="5" cellspacing="0"
+
{| width="100%" cellspacing="0" cellpadding="5" border="1"
 
|+Affected file: /home/httpd/html/horde/config/conf.php
 
|+Affected file: /home/httpd/html/horde/config/conf.php
 
!Variable
 
!Variable
Line 372: Line 406:     
  expand-template /etc/e-smith/templates/home/httpd/html/horde/config/prefs.php/200personal
 
  expand-template /etc/e-smith/templates/home/httpd/html/horde/config/prefs.php/200personal
{| width="100%" border="1" cellpadding="5" cellspacing="0"
+
{| width="100%" cellspacing="0" cellpadding="5" border="1"
 
|+Affected file: /etc/e-smith/templates/home/httpd/html/horde/config/prefs.php/200personal
 
|+Affected file: /etc/e-smith/templates/home/httpd/html/horde/config/prefs.php/200personal
 
!Variable
 
!Variable
Line 382: Line 416:  
|'Horde Webmail'
 
|'Horde Webmail'
 
|}
 
|}
      
  expand-template /home/httpd/html/horde/turba/config/sources.php
 
  expand-template /home/httpd/html/horde/turba/config/sources.php
{| width="100%" border="1" cellpadding="5" cellspacing="0"
+
{| width="100%" cellspacing="0" cellpadding="5" border="1"
 
|+Affected file: /home/httpd/html/horde/turba/config/sources.php
 
|+Affected file: /home/httpd/html/horde/turba/config/sources.php
 
!Variable
 
!Variable
Line 404: Line 437:  
  db accounts setprop ibayname variable value
 
  db accounts setprop ibayname variable value
 
  signal-event ibay-modify ibayname
 
  signal-event ibay-modify ibayname
{| width="100%" border="1" cellpadding="5" cellspacing="0"
+
{| width="100%" cellspacing="0" cellpadding="5" border="1"
 
|+Affected file: /etc/httpd/conf/httpd.conf
 
|+Affected file: /etc/httpd/conf/httpd.conf
 
!Variable
 
!Variable
Line 435: Line 468:  
|-
 
|-
 
|SSL
 
|SSL
|https access to ibay through Apache.
+
|Force https access to ibay through Apache.
 
|disabled
 
|disabled
 
|}
 
|}
Line 446: Line 479:  
<br />
 
<br />
   −
{| width="100%" border="1" cellpadding="5" cellspacing="0"
+
{| width="100%" cellspacing="0" cellpadding="5" border="1"
 
|+Affected file: /etc/httpd/conf/httpd.conf
 
|+Affected file: /etc/httpd/conf/httpd.conf
 
!Variable
 
!Variable
Line 477: Line 510:  
  db configuration setprop httpd-admin variable value
 
  db configuration setprop httpd-admin variable value
 
  signal-event remoteaccess-update
 
  signal-event remoteaccess-update
{| width="100%" border="1" cellpadding="5" cellspacing="0"
+
{| width="100%" cellspacing="0" cellpadding="5" border="1"
 
|+Affected file: /etc/httpd/admin-conf/httpd.conf and /etc/services
 
|+Affected file: /etc/httpd/admin-conf/httpd.conf and /etc/services
 
!Variable
 
!Variable
Line 487: Line 520:  
|980
 
|980
 
|}
 
|}
      
==== IMAP (imap) ====
 
==== IMAP (imap) ====
Line 493: Line 525:  
  db configuration setprop imap variable value
 
  db configuration setprop imap variable value
 
  signal-event email-update
 
  signal-event email-update
{| width="100%" border="1" cellpadding="5" cellspacing="0"
+
{| width="100%" cellspacing="0" cellpadding="5" border="1"
 
|+Affected file: /var/service/imap/config
 
|+Affected file: /var/service/imap/config
 
!Variable
 
!Variable
Line 513: Line 545:     
{{Tip box|The notes on the concurrency limits noted under IMAPS also apply here. See below.}}
 
{{Tip box|The notes on the concurrency limits noted under IMAPS also apply here. See below.}}
 
+
{{Note box| for sme9, only the key imap has properties ConcurrencyLimitPerIP,checkConcurrencyLimit,ProcessMemoryLimit. If you set these properties to the key imaps, a migrate fragment will remove them automatically}}
 
* only for SME Server 9
 
* only for SME Server 9
{| width="100%" border="1" cellpadding="5" cellspacing="0"
+
{| width="100%" cellspacing="0" cellpadding="5" border="1"
 
|+Affected file: /var/service/imap/config
 
|+Affected file: /var/service/imap/config
 
!Variable
 
!Variable
Line 527: Line 559:     
==== IMAPS (imaps) ====
 
==== IMAPS (imaps) ====
 +
 +
These properties apply to SME versions before 9.0 only. After 9.0, the imap properties are used to control imaps concurrency and memory limits.
 +
 
''Usage''
 
''Usage''
 
  db configuration setprop imaps variable value
 
  db configuration setprop imaps variable value
 
  signal-event email-update
 
  signal-event email-update
{| width="100%" border="1" cellpadding="5" cellspacing="0"
+
{| width="100%" cellspacing="0" cellpadding="5" border="1"
 
|+Affected file: /var/service/imaps/config
 
|+Affected file: /var/service/imaps/config
 
!Variable
 
!Variable
Line 548: Line 583:  
|128000000
 
|128000000
 
|}
 
|}
 
+
{{Note box| For sme9, only the key imap has properties ConcurrencyLimitPerIP, checkConcurrencyLimit, ProcessMemoryLimit. If you set these properties to the key imaps, a migrate fragment will remove them automatically. Look at /etc/dovecot/dovecot.conf for default values. ProcessMemoryLimit defaults to 256MB.
{{Tip box|msg=You can see if you are running out of the number of available connections in your log file /var/log/dovecot/current (for sme8, it is /var/log/imap/current and /var/log/imaps/current)  and look for messages like the log extract below where the ConcurrencyLimitPerIP was set to 12. A 13st connection was attempted and was denied.
+
}}
 +
{{Tip box|msg=You can see if you are running out of the number of available connections in your log file /var/log/dovecot/current (for sme8, it is /var/log/imap/current and /var/log/imaps/current)  and look for messages like the log extract below where the ConcurrencyLimitPerIP was set to 12. A 13th connection was attempted and was denied.
    
  @400000005396a2d215b40d9c imap-login: Info: Maximum number of connections from user+IP exceeded (mail_max_userip_connections=12):  
 
  @400000005396a2d215b40d9c imap-login: Info: Maximum number of connections from user+IP exceeded (mail_max_userip_connections=12):  
Line 572: Line 608:  
  db configuration setprop dovecot variable value
 
  db configuration setprop dovecot variable value
 
  signal-event email-update
 
  signal-event email-update
{| width="100%" border="1" cellpadding="5" cellspacing="0"
+
{| width="100%" cellspacing="0" cellpadding="5" border="1"
|+Affected file: /var/service/imaps/config
+
|+Affected file: /etc/dovecot/dovecot.conf
 
!Variable
 
!Variable
 
!Target
 
!Target
Line 594: Line 630:  
|enabled/disabled, default is enabled
 
|enabled/disabled, default is enabled
 
|}
 
|}
 +
 +
 +
==== Fetchmail ====
 +
Various fetchmail settings for email collection
 +
 +
''Usage''
 +
db configuration setprop fetchmail variable value
 +
signal-event email-update
 +
 +
See the man page for more settings:
 +
 +
https://www.fetchmail.info/fetchmail-man.html
 +
 +
{| width="100%" cellspacing="0" cellpadding="5" border="1"
 +
|+Affected file: /etc/fetchmail
 +
!Variable
 +
!Target
 +
!Default
 +
|-
 +
|Verbosity
 +
| For debugging
 +
|silent/verbose, default is silent
 +
|-
 +
|SSL
 +
|Use SSL
 +
|enabled/disabled, default is disabled
 +
|-
 +
|Protocol
 +
|POP3
 +
|POP/Other, default is POP3
 +
|-
 +
|TCPPort
 +
|Retrieved from smtpd
 +
|default 25
 +
|}
 +
    
==== IPTables firewall (masq) ====
 
==== IPTables firewall (masq) ====
Line 599: Line 671:  
  db configuration setprop masq variable value
 
  db configuration setprop masq variable value
 
  signal-event remoteaccess-update
 
  signal-event remoteaccess-update
{| width="100%" border="1" cellpadding="5" cellspacing="0"
+
{| width="100%" cellspacing="0" cellpadding="5" border="1"
 
|+Affected file: /etc/rc.d/init.d/masq
 
|+Affected file: /etc/rc.d/init.d/masq
 
!Variable
 
!Variable
Line 613: Line 685:  
|no
 
|no
 
|}
 
|}
      
{{Tip box|Special case is TCPPort and UDPPort from any DB key.
 
{{Tip box|Special case is TCPPort and UDPPort from any DB key.
Line 639: Line 710:  
  db configuration setprop <servicename> UDPPorts <portnumbers>
 
  db configuration setprop <servicename> UDPPorts <portnumbers>
 
  db configuration setprop <servicename> status enabled|disabled
 
  db configuration setprop <servicename> status enabled|disabled
  db configuration setprop <servicename> access public|private
+
  db configuration setprop <servicename> access public|private|localhost
 
  db configuration setprop <servicename> AllowHosts a.b.c.d,x.y.z.0/24
 
  db configuration setprop <servicename> AllowHosts a.b.c.d,x.y.z.0/24
 
  db configuration setprop <servicename> DenyHosts e.f.g.h,l.m.n.0/24
 
  db configuration setprop <servicename> DenyHosts e.f.g.h,l.m.n.0/24
Line 646: Line 717:  
  signal-event remoteaccess-update
 
  signal-event remoteaccess-update
   −
 
+
{| width="100%" cellspacing="0" cellpadding="5" border="1"
{| width="100%" border="1" cellpadding="5" cellspacing="0"
   
|+Affected file: /etc/rc.d/init.d/masq
 
|+Affected file: /etc/rc.d/init.d/masq
 
!Variable
 
!Variable
Line 670: Line 740:  
|-
 
|-
 
|status
 
|status
|enabled | disabled
+
| enabled | disabled
 
|AllowHosts is set to "" (an empty string) unless the status is 'enabled'
 
|AllowHosts is set to "" (an empty string) unless the status is 'enabled'
 
|-
 
|-
 
|access
 
|access
|public | private
+
| public | private
 
|AllowHosts is set to "" (an empty string) unless access is 'public'
 
|AllowHosts is set to "" (an empty string) unless access is 'public'
 
|-
 
|-
Line 686: Line 756:  
|}
 
|}
   −
==== SpamAssasin ====
+
==== SpamAssassin ====
 
''Usage''
 
''Usage''
 
  db configuration setprop spamassassin variable value
 
  db configuration setprop spamassassin variable value
 
  signal-event email-update
 
  signal-event email-update
{| width="100%" border="1" cellpadding="5" cellspacing="0"
+
{| width="100%" cellspacing="0" cellpadding="5" border="1"
 
|+Affected file: /etc/mail/spamassassin/local.cf
 
|+Affected file: /etc/mail/spamassassin/local.cf
 
!Variable
 
!Variable
Line 746: Line 816:  
  expand-template /etc/my.cnf
 
  expand-template /etc/my.cnf
 
  sv t /service/mysqld
 
  sv t /service/mysqld
{| width="100%" border="1" cellpadding="5" cellspacing="0"
+
{| width="100%" cellspacing="0" cellpadding="5" border="1"
 
|+Affected file: /etc/my.cnf
 
|+Affected file: /etc/my.cnf
 
!Variable
 
!Variable
Line 766: Line 836:  
  signal-event timeserver-update
 
  signal-event timeserver-update
   −
{| width="100%" border="1" cellpadding="5" cellspacing="0"
+
{| width="100%" cellspacing="0" cellpadding="5" border="1"
 
|+Affected file: /var/service/ntpd/env/MEMLIMIT
 
|+Affected file: /var/service/ntpd/env/MEMLIMIT
 
!Variable
 
!Variable
Line 777: Line 847:  
|}
 
|}
   −
{| width="100%" border="1" cellpadding="5" cellspacing="0"
+
{| width="100%" cellspacing="0" cellpadding="5" border="1"
 
|+Affected file: /etc/ntp/step-tickers and /etc/ntp.conf
 
|+Affected file: /etc/ntp/step-tickers and /etc/ntp.conf
 
!Variable
 
!Variable
Line 814: Line 884:  
  expand-template /etc/php.ini
 
  expand-template /etc/php.ini
 
  /etc/init.d/httpd-e-smith restart
 
  /etc/init.d/httpd-e-smith restart
{| width="100%" border="1" cellpadding="5" cellspacing="0"
+
{| width="100%" cellspacing="0" cellpadding="5" border="1"
 
|+Affected file: /etc/php.ini
 
|+Affected file: /etc/php.ini
 
!Variable
 
!Variable
Line 850: Line 920:  
  db configuration setprop pptpd variable value
 
  db configuration setprop pptpd variable value
 
  signal-event remoteaccess-update
 
  signal-event remoteaccess-update
{| width="100%" border="1" cellpadding="5" cellspacing="0"
+
{| width="100%" cellspacing="0" cellpadding="5" border="1"
 
|+Affected file: /etc/ppp/options.pptpd
 
|+Affected file: /etc/ppp/options.pptpd
 
!Variable
 
!Variable
Line 872: Line 942:  
|passive
 
|passive
 
|enabled
 
|enabled
 +
|-
 +
|Interfaces
 +
|Unknown
 +
|not set by default
 
|}
 
|}
   −
 
+
{| width="100%" cellspacing="0" cellpadding="5" border="1"
{| width="100%" border="1" cellpadding="5" cellspacing="0"
   
|+Affected file: /etc/pptpd.conf
 
|+Affected file: /etc/pptpd.conf
 
!Variable
 
!Variable
Line 885: Line 958:  
|no
 
|no
 
|}
 
|}
      
==== Pro FTP (proftpd) ====
 
==== Pro FTP (proftpd) ====
Line 891: Line 963:  
  db configuration setprop ftp variable value
 
  db configuration setprop ftp variable value
 
  signal-event remoteaccess-update
 
  signal-event remoteaccess-update
{| width="100%" border="1" cellpadding="5" cellspacing="0"
+
{| width="100%" cellspacing="0" cellpadding="5" border="1"
 
|+Affected file: /etc/proftpd.conf
 
|+Affected file: /etc/proftpd.conf
 
!Variable
 
!Variable
Line 908: Line 980:  
  db configuration setprop qmail MaxMessageSize 15000000
 
  db configuration setprop qmail MaxMessageSize 15000000
 
  signal-event email-update
 
  signal-event email-update
{| width="100%" border="1" cellpadding="5" cellspacing="0"
+
{| width="100%" cellspacing="0" cellpadding="5" border="1"
 
|+Affected file: /etc/proftpd.conf
 
|+Affected file: /etc/proftpd.conf
 
!Variable
 
!Variable
Line 923: Line 995:  
  db configuration setprop smb variable value
 
  db configuration setprop smb variable value
 
  signal-event ibay-modify  
 
  signal-event ibay-modify  
{| width="100%" border="1" cellpadding="5" cellspacing="0"
+
{| width="100%" cellspacing="0" cellpadding="5" border="1"
 
|+Affected file: /etc/samba/smb.conf
 
|+Affected file: /etc/samba/smb.conf
 
!Variable
 
!Variable
Line 976: Line 1,048:  
|use client driver
 
|use client driver
 
|yes
 
|yes
 +
|-
 +
|LogLevel
 +
|log level
 +
|1
 
|}
 
|}
   Line 983: Line 1,059:  
  db accounts setprop ibay_name variable value
 
  db accounts setprop ibay_name variable value
 
  signal-event ibay-modify  
 
  signal-event ibay-modify  
{| width="100%" border="1" cellpadding="5" cellspacing="0"
+
{| width="100%" cellspacing="0" cellpadding="5" border="1"
 
|+Affected file: /etc/samba/smb.conf
 
|+Affected file: /etc/samba/smb.conf
 
!Variable
 
!Variable
Line 1,006: Line 1,082:  
|-
 
|-
 
|Audit
 
|Audit
|disabled the samba audit per Ibay
+
|full_audit
|enabled, set it to disabled
+
|disabled
 
|-
 
|-
 
|KeepVersions
 
|KeepVersions
Line 1,026: Line 1,102:  
  db configuration setprop squid variable value
 
  db configuration setprop squid variable value
 
  signal-event proxy-update
 
  signal-event proxy-update
{| width="100%" border="1" cellpadding="5" cellspacing="0"
+
{| width="100%" cellspacing="0" cellpadding="5" border="1"
 
|+Affected file: /etc/squid/squid.conf
 
|+Affected file: /etc/squid/squid.conf
 
!Variable
 
!Variable
Line 1,056: Line 1,132:  
  signal-event proxy-update
 
  signal-event proxy-update
   −
{| width="100%" border="1" cellpadding="5" cellspacing="0"
+
{| width="100%" cellspacing="0" cellpadding="5" border="1"
 
|+Affected file: /etc/squid/squid.conf and /etc/rc.d/init.d/masq
 
|+Affected file: /etc/squid/squid.conf and /etc/rc.d/init.d/masq
 
!Variable
 
!Variable
Line 1,067: Line 1,143:  
|}
 
|}
   −
 
+
{| width="100%" cellspacing="0" cellpadding="5" border="1"
{| width="100%" border="1" cellpadding="5" cellspacing="0"
   
|+Affected file: /etc/rc.d/init.d/masq
 
|+Affected file: /etc/rc.d/init.d/masq
 
!Variable
 
!Variable
Line 1,078: Line 1,153:  
|3128
 
|3128
 
|}
 
|}
      
''Alternate Usage for Configuration of an Up-Stream Proxy Server''
 
''Alternate Usage for Configuration of an Up-Stream Proxy Server''
 
  db configuration set squid-parent-variable value
 
  db configuration set squid-parent-variable value
 
  signal-event proxy-update
 
  signal-event proxy-update
{| width="100%" border="1" cellpadding="5" cellspacing="0"
+
{| width="100%" cellspacing="0" cellpadding="5" border="1"
 
|+Affected file: /etc/squid/squid.conf
 
|+Affected file: /etc/squid/squid.conf
 
!squid-parent-variable
 
!squid-parent-variable
Line 1,102: Line 1,176:  
  db configuration setprop sshd variable value
 
  db configuration setprop sshd variable value
 
  signal-event remoteaccess-update
 
  signal-event remoteaccess-update
{| width="100%" border="1" cellpadding="5" cellspacing="0"
+
{| width="100%" cellspacing="0" cellpadding="5" border="1"
 
|+Affected file: /etc/ssh/sshd_config
 
|+Affected file: /etc/ssh/sshd_config
 
!Variable
 
!Variable
Line 1,127: Line 1,201:  
|MaxStartups
 
|MaxStartups
 
|10:30:60
 
|10:30:60
 +
|-
 +
| MotdStatus
 +
| MotdStatus (display or not the motd)
 +
| enabled
 
|-
 
|-
 
|PasswordAuthentication
 
|PasswordAuthentication
Line 1,140: Line 1,218:  
|IP address(es) list
 
|IP address(es) list
 
|}
 
|}
      
{{Note box|Currently in SME 7.2 and up, TCPPort is configurable via server-manager, under Remote Access menu.
 
{{Note box|Currently in SME 7.2 and up, TCPPort is configurable via server-manager, under Remote Access menu.
Line 1,152: Line 1,229:  
see [[AutoBlock#Public_SSH_Acess]]
 
see [[AutoBlock#Public_SSH_Acess]]
   −
{| width="100%" border="1" cellpadding="5" cellspacing="0"
+
{| width="100%" cellspacing="0" cellpadding="5" border="1"
 
|+Affected file: /etc/ssh/sshd_config
 
|+Affected file: /etc/ssh/sshd_config
 
!Variable
 
!Variable
Line 1,176: Line 1,253:  
  signal-event email-update
 
  signal-event email-update
   −
{| width="100%" border="1" cellpadding="5" cellspacing="0"
+
{| width="100%" cellspacing="0" cellpadding="5" border="1"
 
|+Affected file: /var/service/qpsmtpd/runenv<br>
 
|+Affected file: /var/service/qpsmtpd/runenv<br>
 
'''[[bugzilla:7846]]''': Changes to <code>'''Instances'''</code> or <code>'''InstancesPerIP'''</code> require a restart of qpsmtpd:<br>
 
'''[[bugzilla:7846]]''': Changes to <code>'''Instances'''</code> or <code>'''InstancesPerIP'''</code> require a restart of qpsmtpd:<br>
<code>expand-template /var/service/qpsmtpd/config && sv t /service/qpsmtpd /service/sqpsmtpd</code>
+
<code>expand-template /var/service/qpsmtpd/runenv && sv t /service/qpsmtpd /service/sqpsmtpd</code>
 
!Variable
 
!Variable
 
!Target
 
!Target
Line 1,193: Line 1,270:  
|}
 
|}
   −
{| width="100%" border="1" cellpadding="5" cellspacing="0"
+
<br />
 +
{| width="100%" cellspacing="0" cellpadding="5" border="1"
 +
 
 
|+Affected file: /var/service/qpsmtpd/config/smtpgreeting
 
|+Affected file: /var/service/qpsmtpd/config/smtpgreeting
 
!Variable
 
!Variable
Line 1,204: Line 1,283:  
|}
 
|}
   −
{| width="100%" border="1" cellpadding="5" cellspacing="0"
+
<br />
 +
{| width="100%" cellspacing="0" cellpadding="5" border="1"
 +
 
 
|+Affected file: /var/qmail/control/helohost
 
|+Affected file: /var/qmail/control/helohost
 
!Variable
 
!Variable
Line 1,219: Line 1,300:  
  config setprop yum variable value
 
  config setprop yum variable value
 
  signal-event yum-modify
 
  signal-event yum-modify
{| width="100%" border="1" cellpadding="5" cellspacing="0"
+
{| width="100%" cellspacing="0" cellpadding="5" border="1"
 
|+Affected file: /etc/yum.conf
 
|+Affected file: /etc/yum.conf
 
!Variable
 
!Variable
Line 1,230: Line 1,311:  
|-
 
|-
 
|check4updates
 
|check4updates
|Frequency of Update Checking daily(default but monthly or weekly available)
  −
|daily
  −
|-
  −
|check4contribsupdates
   
|Frequency of Update Checking daily(default but monthly or weekly available)
 
|Frequency of Update Checking daily(default but monthly or weekly available)
 
|daily
 
|daily
Line 1,264: Line 1,341:  
|All or part of an RPM name to be excluded from 'Available Packages' in the 'Software Installer'
 
|All or part of an RPM name to be excluded from 'Available Packages' in the 'Software Installer'
 
|none
 
|none
 +
|-
 +
|DeltaRpmProcess
 +
| Only changes between the installed package and the new one are downloaded. Once the delta rpm loaded, a rebuilding process is started only SME10 see [[bugzilla:8834]])
 +
| disabled (by default)/enabled
 +
|-
 +
| DownloadOnlyHour XX (0-23)
 +
| Set the time when to download rpm updates by yum (only sme10 see [bugzilla:1502]])
 +
| default is 04 AM if no property
 
|}
 
|}
   −
See also 'db yum_repositories'
+
See also 'db yum_repositories' [http://wiki.contribs.org/Category:Yum_Repository All available repositories]<br />
 +
 
 +
''Usage''
 +
db yum_repositories setprop RepositoryName variable value
 +
signal-event yum-modify
 +
{| width="100%" cellspacing="0" cellpadding="5" border="1"
 +
|+Affected file: /etc/yum.smerepos.d/sme-base.repo
 +
!Variable
 +
!Target
 +
!Default
 +
|-
 +
|EnableGroups
 +
|Enable groupinstall with yum
 +
|Yes(default)/no
 +
|-
 +
|GPGCheck
 +
|Enable the rpm verification by GPG of the repository signature
 +
|Yes(default)/no
 +
|-
 +
|MirrorList
 +
|It is the base url where the repository can be found
 +
|no default value
 +
|-
 +
|status
 +
|Enable the repository in yum, all updates will be installed if enabled
 +
|disabled/enabled
 +
|-
 +
|Visible
 +
|The repository can be selected from 'Enabled repositories' in the 'Software Installer' in order to be Enabled by Yum if set to yes
 +
|no
 +
|-
 +
|IncludePkgs 'rpm1,rpm2,rpm3'
 +
|Only rpms mentioned here will be available for installation or upgrade.
 +
|
 +
|-
 +
|Exclude 'rpm1,rpm2,rpm3'
 +
| rpms mentioned here will be excluded by yum
 +
|
 +
|-
 +
|DeltaRpmPercentage XX
 +
| Defines the maximum ratio allowed between the delta rpm size and the package size on a per-repository basis: by default, delta rpms can’t be bigger than 75% of the size of the associated rpms, otherwise they are not used. Set to disabled if  you don't want to use deltarpm for this repository (only SME10 see [[bugzilla:8834]])
 +
| default is '75' if no property
 +
|}
    
==== Miscellaneous Other DB Variables ====
 
==== Miscellaneous Other DB Variables ====
Line 1,278: Line 1,405:  
Note that any command listed here is to be executed on one line!}}
 
Note that any command listed here is to be executed on one line!}}
   −
 
+
{| width="100%" cellspacing="0" cellpadding="5" border="1"
{| width="100%" border="1" cellpadding="5" cellspacing="0"
   
!Command
 
!Command
 
!service(s)
 
!service(s)
Line 1,365: Line 1,491:  
|}
 
|}
    +
==== Port Forwarding ====
 +
Server manager will create two databases, one for TCP and one for UDP
 +
 +
db portforward_tcp set {port} forward AllowHosts {some.host.ip} Comment {Test} Denyhosts {0.0.0.0/0} DestHost {dest.host.ip} DestPort {port}
    +
db portforward_udp set {port} forward AllowHosts {some.host.ip} Comment {Test} Denyhosts {0.0.0.0/0} DestHost {dest.host.ip} DestPort {port}
 +
 +
Apply with:
 +
 +
signal-event portforwarding-update
    
----
 
----
 +
{| width="100%" cellspacing="0" cellpadding="5" border="1"
 +
!Variable
 +
!Target
 +
!Default
 +
|-
 +
|port
 +
|Incoming Port for Forwarding
 +
|none
 +
|-
 +
|DestPort
 +
|Destination Target Port
 +
|port
 +
|-
 +
|DestHost
 +
|Destination Host IP
 +
|none
 +
|-
 +
|AllowHosts
 +
|Allowed Hosts
 +
|0.0.0.0/0
 +
|-
 +
|DenyHosts
 +
|Denied Hosts
 +
|0.0.0.0/0
 +
|-
 +
|Comment
 +
|Notes for this rule
 +
|none
 +
|}
 +
 
[[Category:Howto]]
 
[[Category:Howto]]
 
[[Category:Developer]]
 
[[Category:Developer]]

Navigation menu