snipt

Ctrl+h for KB shortcuts

Bash

my spam level defaults for amavisd

1
2
3
4
5
$sa_spam_subject_tag = '***SPAM*** ';
$sa_tag_level_deflt  = 2.0;  # add spam info headers if at, or above that level
$sa_tag2_level_deflt = 6.31; # add 'spam detected' headers at that level
$sa_kill_level_deflt = 15.0; # triggers spam evasive actions
$sa_dsn_cutoff_level = 20;   # spam level beyond which a DSN is not sent
https://snipt.net/embed/55441ebfdab90199bf176534c116aceb/
/raw/55441ebfdab90199bf176534c116aceb/
55441ebfdab90199bf176534c116aceb
bash
Bash
5
2019-08-16T03:27:39
True
False
False
/api/public/snipt/4187/
my-spam-level-defaults-for-amavisd
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a> <a href="#L-4">4</a> <a href="#L-5">5</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="nv">$sa_spam_subject_tag</span> <span class="o">=</span> <span class="s1">&#39;***SPAM*** &#39;</span><span class="p">;</span> </span><span id="L-2"><a name="L-2"></a><span class="nv">$sa_tag_level_deflt</span> <span class="o">=</span> 2.0<span class="p">;</span> <span class="c1"># add spam info headers if at, or above that level</span> </span><span id="L-3"><a name="L-3"></a><span class="nv">$sa_tag2_level_deflt</span> <span class="o">=</span> 6.31<span class="p">;</span> <span class="c1"># add &#39;spam detected&#39; headers at that level</span> </span><span id="L-4"><a name="L-4"></a><span class="nv">$sa_kill_level_deflt</span> <span class="o">=</span> 15.0<span class="p">;</span> <span class="c1"># triggers spam evasive actions</span> </span><span id="L-5"><a name="L-5"></a><span class="nv">$sa_dsn_cutoff_level</span> <span class="o">=</span> 20<span class="p">;</span> <span class="c1"># spam level beyond which a DSN is not sent</span> </span></pre></div> </td></tr></table>
amavisd

Bash

fix amavisd tmp folder perms

chmod -R 775 /var/lib/amavis/tmp
https://snipt.net/embed/1008174ec400e671106649d6bbfb9e09/
/raw/1008174ec400e671106649d6bbfb9e09/
1008174ec400e671106649d6bbfb9e09
bash
Bash
1
2019-07-26T17:33:43
True
False
False
/api/public/snipt/4186/
fix-amavisd-tmp-folder-perms
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>chmod -R <span class="m">775</span> /var/lib/amavis/tmp </span></pre></div> </td></tr></table>
amavisd