Kb mx antispam: Unterschied zwischen den Versionen

Aus LachCraft.cloud Knowledgebase
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(4 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
= header =
= header =
== subheader ==
== subheader ==
TODO:
- antispam; make accounts
- validity: make accounts, set IPs
- https://my.validity.com/zone/settings?tab=ip
raw info:
- apt install unbound
- nano /etc/unbound/unbound.conf
<pre>
server:
        verbosity: 1
        interface: 127.0.0.1
        port: 53
        cache-min-ttl: 3600
        cache-max-ttl: 86400
        do-not-query-localhost: no
        num-threads: 2
        rrset-roundrobin: yes
        harden-glue: yes
        harden-dnssec-stripped: yes
        use-caps-for-id: yes
        qname-minimisation: yes
        hide-identity: yes
        hide-version: yes
        auto-trust-anchor-file: "/var/lib/unbound/root.key"
        access-control: 127.0.0.1/32 allow
remote-control:
        control-enable: yes
        control-interface: 127.0.0.1
        #server-key-file: "/etc/unbound/unbound_server.key"
        #server-cert-file: "/etc/unbound/unbound_server.pem"
        #control-key-file: "/etc/unbound/unbound_control.key"
        #control-cert-file: "/etc/unbound/unbound_control.pem"
</pre>
- systemctl start unbound
- systemctl enable unbound
- dig @127.0.0.1 lachcraft.cloud
- EDIT PMG DNS: only 127.0.0.1
== Spam Assassion Special Configs ==
nano /etc/mail/spamassassin/lcs-spam-01.cf
header FROMNAME_KEYWORDS FromName =~ /^(apotheke|achtung|wichtig)$/i
body LACHCRAFT_POTENZSTUFF1 /(?:(ejakulation|erektionsprobleme|erektionsschwierigkeit>
tflags LACHCRAFT_POTENZSTUFF1 multiple maxhits=2
meta LACHCRAFT-ANTISPAM_POTENZSTUFF ( SUBJECT_KEYWORDS && __LACHCRAFT_POTENZSTUFF1 >=>
describe LACHCRAFT-ANTISPAM_POTENZSTUFF  APO-SPAM Potenzstuff
score LACHCRAFT-ANTISPAM_POTENZSTUFF    5

Aktuelle Version vom 5. Oktober 2024, 08:16 Uhr

header

subheader

TODO: - antispam; make accounts

- validity: make accounts, set IPs - https://my.validity.com/zone/settings?tab=ip

raw info:

- apt install unbound - nano /etc/unbound/unbound.conf

server:
        verbosity: 1
        interface: 127.0.0.1
        port: 53
        cache-min-ttl: 3600
        cache-max-ttl: 86400
        do-not-query-localhost: no
        num-threads: 2
        rrset-roundrobin: yes
        harden-glue: yes
        harden-dnssec-stripped: yes
        use-caps-for-id: yes
        qname-minimisation: yes
        hide-identity: yes
        hide-version: yes
        auto-trust-anchor-file: "/var/lib/unbound/root.key"
        access-control: 127.0.0.1/32 allow

remote-control:
        control-enable: yes
        control-interface: 127.0.0.1
        #server-key-file: "/etc/unbound/unbound_server.key"
        #server-cert-file: "/etc/unbound/unbound_server.pem"
        #control-key-file: "/etc/unbound/unbound_control.key"
        #control-cert-file: "/etc/unbound/unbound_control.pem"

- systemctl start unbound - systemctl enable unbound - dig @127.0.0.1 lachcraft.cloud - EDIT PMG DNS: only 127.0.0.1

Spam Assassion Special Configs

nano /etc/mail/spamassassin/lcs-spam-01.cf

header FROMNAME_KEYWORDS FromName =~ /^(apotheke|achtung|wichtig)$/i

body LACHCRAFT_POTENZSTUFF1 /(?:(ejakulation|erektionsprobleme|erektionsschwierigkeit>

tflags LACHCRAFT_POTENZSTUFF1 multiple maxhits=2

meta LACHCRAFT-ANTISPAM_POTENZSTUFF ( SUBJECT_KEYWORDS && __LACHCRAFT_POTENZSTUFF1 >=>

describe LACHCRAFT-ANTISPAM_POTENZSTUFF APO-SPAM Potenzstuff

score LACHCRAFT-ANTISPAM_POTENZSTUFF 5