Changes

From SME Server
Jump to navigationJump to search
250 bytes added ,  14:53, 22 January 2013
no edit summary
Line 6: Line 6:  
" pyzor: [5281] error: TERMINATED, signal 15 (000f)".}}
 
" pyzor: [5281] error: TERMINATED, signal 15 (000f)".}}
   −
This can mitigated by the adding of a custom template.
+
This can mitigated by the adding of a template fragment.
    
Template fragment to set a pyzor_timeout based on a value in the config db.
 
Template fragment to set a pyzor_timeout based on a value in the config db.
 
If no value is set, there is no output (so pyzor uses it's internal default).
 
If no value is set, there is no output (so pyzor uses it's internal default).
   −
  /etc/e-smith/templates/etc/mail/spamassassin/local.cf/50pyzor_timeout
+
  mkdir -p /etc/e-smith/templates/etc/mail/spamassassin/local.cf/50pyzor_timeout
 +
cd /etc/e-smith/templates/etc/mail/spamassassin/local.cf/50pyzor_timeout
 +
nano 50pyzor_timeout
 +
 
 +
Contents of 50pyzor_timeout
 
   
 
   
 
  {
 
  {
Line 24: Line 28:     
  config setprop spamassassin PyzorTimeout 15
 
  config setprop spamassassin PyzorTimeout 15
 +
 +
Then expand the template
 +
 +
expand-template /etc/e-smith/templates/etc/mail/spamassassin/local.cf/50pyzor_timeout

Navigation menu