It was good idea
http://www.directadmin.com/forum/showthread.php?s=&threadid=4928
There was talk about per-domain basis ( also here http://www.directadmin.com/forum/showthread.php?s=&threadid=1594 )
Want to suggest solution for per-domain SA.
1. Add to spamassassin.html (skin)
2. Create empty file /usr/local/directadmin/data/templates/filter_off
3. When value="spamoff" DA must paste to /etc/virtual/user_domain/filter.conf two
lines:
where=spamoff - this for skin
spamoff: spamoff - this for exim's condition
4. Modify exim.conf
Add to spamcheck_director
It could be added after {!eq {$received_protocol}{local}} \
http://www.directadmin.com/forum/showthread.php?s=&threadid=4928
There was talk about per-domain basis ( also here http://www.directadmin.com/forum/showthread.php?s=&threadid=1594 )
Want to suggest solution for per-domain SA.
1. Add to spamassassin.html (skin)
Code:
<tr><td class=list align=center><input type=radio name=where value="spamoff" |WHERE_OFF|></td>
<td class=list>Off SpamAssasin for |DOMAIN|</td></tr>
2. Create empty file /usr/local/directadmin/data/templates/filter_off
3. When value="spamoff" DA must paste to /etc/virtual/user_domain/filter.conf two
lines:
where=spamoff - this for skin
spamoff: spamoff - this for exim's condition
4. Modify exim.conf
Add to spamcheck_director
Code:
{eq {}{${lookup{spamoff}lsearch{/etc/virtual/${domain}/filter.conf}}}} \
Last edited: