Difference between revisions of "Talk:Email"
From SME Server
Jump to navigationJump to searchLine 9: | Line 9: | ||
/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); | ||
+ | if ($pyzor_timeout ne '0') | ||
+ | { | ||
+ | return "pyzor_timeout " . ($pyzor_timeout); | ||
+ | } | ||
+ | } | ||
+ | |||
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. |
Revision as of 02:47, 22 January 2013
Pyzor Timeout
See Bugzilla: 5973
This can mitigated by the adding of a custom template fragment see below
/etc/e-smith/templates/etc/mail/spamassassin/local.cf/50pyzor_timeout
{ my $pyzor_timeout = ($spamassassin{PyzorTimeout} || 0); if ($pyzor_timeout ne '0') { return "pyzor_timeout " . ($pyzor_timeout); } }
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 a value is set using eg:
config setprop spamassassin PyzorTimeout 10