Site Tools


server:endian_notes

This is an old revision of the document!


Endian 2.2 Install edits

Editing rules

Edit //etc/spamassassin/local.cf.tmpl

current template as of 15/4/13

# amavis spamassassin config file

dns_available yes
report_safe 1
use_pyzor 1
pyzor_path /usr/bin/pyzor

use_auto_whitelist 1
use_bayes 1
auto_whitelist_path /var/lib/spamassassin/auto-whitelist
bayes_path /var/lib/spamassassin/bayes

score FORGED_MUA_OUTLOOK 0
score FH_DATE_PAST_20XX 0

#try
#include "/var/efw/smtpscan/local_cf.custom.tmpl"
#except
#pass
#end try

#my configs
score RDNS_NONE 2

body ME_FAKE_EBAY_MESSAGE   /has left you a message regarding your item/
score ME_FAKE_EBAY_MESSAGE 2
describe ME_FAKE_EBAY_MESSAGE       Fake message from eBay

body ME_FAKE_SANTANDER_MESSAGE   /Download the secure attachment/
score ME_FAKE_SANTANDER_MESSAGE 2
describe ME_FAKE_SANTANDER_MESSAGE       Fake message from Santander

body ME_FAKE_SANTANDER_MESSAGE2   /Dear Valued Customer/
score ME_FAKE_SANTANDER_MESSAGE2 2
describe ME_FAKE_SANTANDER_MESSAGE2       Fake message from Santander

body ME_FAKE_SANTANDER_MESSAGE3   /Click Here To Verify Your Details/
score ME_FAKE_SANTANDER_MESSAGE3 2
describe ME_FAKE_SANTANDER_MESSAGE3       Fake message from Santander 


SpamAssassin is Blocking 3.4 FH_DATE_PAST_20XX

sa-update -D
tar zcpvf spamassasin-endian-old.tar.gz /usr/share/spamassassin/
cp /var/lib/spamassassin/3.002004/updates_spamassassin_org/* /usr/share/spamassassin/

domain errors in postfix

Edit /etc/postfix/main.tmp1 and replace cidr with btree

Change:

check_client_access cidr:/etc/postfix/client_rules,

TO:

check_client_access btree:/etc/postfix/client_rules,

Endian NTP auto updates

Add this script to /etc/cron.hourly. (Syncs to ntp1.uk.uu.net)

#!/bin/bash
/etc/init.d/ntpd stop
wait ${!}
echo Syncing Time...
/usr/sbin/ntpdate authorized_keys
wait ${!}  
/etc/init.d/ntpd start
wait ${!}

Dansguardian update

restartdansguardianlistsupdate -f -d | tail -f /var/log/endian/jobsengine
server/endian_notes.1441575117.txt.gz · Last modified: (external edit)