Changes

From SME Server
Jump to navigationJump to search
12 bytes removed ,  03:49, 22 January 2013
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 fragment see below
+
This can mitigated by the adding of a custom template.
 +
 
 +
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).
    
  /etc/e-smith/templates/etc/mail/spamassassin/local.cf/50pyzor_timeout
 
  /etc/e-smith/templates/etc/mail/spamassassin/local.cf/50pyzor_timeout
 
+
 
  {
 
  {
 
   my $pyzor_timeout = ($spamassassin{PyzorTimeout} || 0);
 
   my $pyzor_timeout = ($spamassassin{PyzorTimeout} || 0);
Line 18: Line 21:  
  }
 
  }
    +
Then a value can be set using:
   −
Template fragment to set a pyzor_timeout based on a value in the config db.
+
config setprop spamassassin PyzorTimeout 15
If no value is set, there is no output (so pyzor uses it's internal default).
  −
If a value is set using eg:
  −
config setprop spamassassin PyzorTimeout 10
 

Navigation menu