true true but prob dr web is better then clamav? btw im if you need a demo for gdata for testing let me know
true true but prob dr web is better then clamav? btw im if you need a demo for gdata for testing let me know
cd dcc-* ./configure make make install vi /lib/systemd/system/dcc.service vi /var/dcc/dcc_conf systemctl enable dcc systemctl start dcc
Hello heutger,
I am doing following your guide but can't install dcc
I start dcc with the command: systemctl start dcc but output error: "Failed to start dcc.service: Unit dcc.service not found"
Please help me fix this
Thanks
cat /lib/systemd/system/dcc.service
wget http://www.dcc-servers.net/dcc/source/dcc.tar.Z
tar xzvf dcc.tar.Z
cd dcc-*
./configure
make
make install
May 17 11:47:43.992 [28281] dbg: pyzor: network tests on, attempting Pyzor
May 17 11:47:53.832 [28281] dbg: pyzor: pyzor is available: /usr/bin/pyzor
May 17 11:47:53.833 [28281] dbg: pyzor: opening pipe: /usr/bin/pyzor check < /tmp/.spamassassin28281HJyNYktmp
May 17 11:47:53.838 [28300] info: util: setuid: ruid=0 euid=0 rgid=0 0 egid=0 0
May 17 11:47:53.930 [28281] dbg: pyzor: [28300] finished: exit 1
May 17 11:47:53.930 [28281] dbg: pyzor: got response: public.pyzor.org:24441 (200, 'OK') 15409334 141497
May 17 11:47:53.930 [28281] dbg: pyzor: listed: COUNT=15409334/5 WHITELIST=141497
May 17 11:47:53.939 [28281] info: rules: meta test KAM_WARRANTY has dependency 'CBJ_GiveMeABreak' with a zero score
May 17 11:47:53.940 [28281] info: rules: meta test KAM_VOICEMAIL has dependency 'KAM_RAPTOR' with a zero score
May 17 11:47:53.945 [28281] info: rules: meta test KAM_PHISHY_DOLLARS has dependency 'KAM_RAPTOR' with a zero score
May 17 11:47:53.951 [28281] info: rules: meta test KAM_PAYPAL2 has dependency 'KAM_RAPTOR' with a zero score
May 17 11:47:53.955 [28281] info: rules: meta test KAM_AUTO has dependency 'CBJ_GiveMeABreak' with a zero score
May 17 11:47:53.959 [28281] info: rules: meta test KAM_INSURE has dependency 'CBJ_GiveMeABreak' with a zero score
May 17 11:47:53.963 [28281] info: rules: meta test KAM_REALLY_FAKE_DELIVER has dependency 'KAM_RPTR_PASSED' with a zero score
May 17 11:47:53.966 [28281] info: rules: meta test KAM_AMAZON has dependency 'KAM_RAPTOR' with a zero score
May 17 11:47:53.967 [28281] info: rules: meta test KAM_EVICTION has dependency 'KAM_RAPTOR' with a zero score
May 17 11:47:53.970 [28281] info: rules: meta test JMQ_CONGRAT has dependency 'KAM_RAPTOR' with a zero score
May 17 11:47:53.972 [28281] info: rules: meta test KAM_FORGED_ATTACHED has dependency 'KAM_RAPTOR' with a zero score
May 17 11:47:53.978 [28281] info: rules: meta test KAM_FAKE_DELIVER has dependency 'KAM_RAPTOR' with a zero score
May 17 11:47:53.987 [28281] info: rules: meta test KAM_WARRANTY3 has dependency 'CBJ_GiveMeABreak' with a zero score
May 17 11:47:53.994 [28281] info: rules: meta test KAM_BBB has dependency 'KAM_RAPTOR' with a zero score
May 17 11:47:53.998 [28281] info: rules: meta test KAM_INSURE2 has dependency 'CBJ_GiveMeABreak' with a zero score
May 17 11:47:53.999 [28281] info: rules: meta test KAM_BADPDF2 has dependency 'KAM_RPTR_SUSPECT' with a zero score
May 17 11:47:54.003 [28281] info: rules: meta test KAM_NOTIFY2 has dependency 'KAM_IFRAME' with a zero score
May 17 11:47:54.006 [28281] info: rules: meta test KAM_CARD has dependency 'KAM_RPTR_SUSPECT' with a zero score
May 17 11:47:54.007 [28281] info: rules: meta test KAM_JURY has dependency 'KAM_RAPTOR' with a zero score
Received: from localhost by xxxx
with SpamAssassin (version 3.4.2);
Fri, 17 May 2019 11:47:54 +0200
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on xxxx
X-Spam-Flag: YES
X-Spam-Level: **********
X-Spam-Status: Yes, score=10.9 required=5.0 tests=EMPTY_MESSAGE,FSL_BULK_SIG,
MISSING_DATE,MISSING_FROM,MISSING_HEADERS,MISSING_MID,MISSING_SUBJECT,
NO_HEADERS_MESSAGE,NO_RECEIVED,NO_RELAYS,PYZOR_CHECK autolearn=no
autolearn_force=no version=3.4.2
X-Spam-Relay-Country:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----------=_5CDE834A.7F91156D"
This is a multi-part message in MIME format.
------------=_5CDE834A.7F91156D
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Spam detection software, running on the system "xxxx",
has identified this incoming email as possible spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
the administrator of that system for details.
Content preview:
Content analysis details: (10.9 points, 5.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
-0.0 NO_RELAYS Informational: message was not relayed via SMTP
1.2 MISSING_HEADERS Missing To: header
2.0 PYZOR_CHECK Listed in Pyzor
(https://pyzor.readthedocs.io/en/latest/)
-0.0 NO_RECEIVED Informational: message has no Received headers
1.0 FSL_BULK_SIG Bulk signature with no Unsubscribe
2.3 EMPTY_MESSAGE Message appears to have no textual parts and no
Subject: text
0.1 MISSING_MID Missing Message-Id: header
1.8 MISSING_SUBJECT Missing Subject: header
1.4 MISSING_DATE Missing Date: header
1.0 MISSING_FROM Missing From: header
0.0 NO_HEADERS_MESSAGE Message appears to be missing most RFC-822
headers
------------=_5CDE834A.7F91156D
Content-Type: message/rfc822; x-spam-type=original
Content-Description: original message before SpamAssassin
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
test
------------=_5CDE834A.7F91156D--
did you create the dcc.service
/etc/clamav-unofficial-sigs/user.conf (enabling additional signatures, xxx needs to be replaced by your license keys):
Hello Heutger,
I don't understand this, xxx needs to be replaced by your license keys. If I want to use ClamAV-unofficial, I must buy a license, right?
How I find my license?
Best Regards,
postscreen_dnsbl_sites = zen.spamhaus.org*1,bl.spamcop.net*1,psbl.surriel.com*1,spamrbl.imp.ch*1,noptr.spamrats.com*1,escalations.dnsbl.sorbs.net*1,bl.score.senderscore.com*1,bl.spameatingmonkey.net*1,rbl.realtimeblacklist.com*1,dnsbl.dronebl.org*1,ix.dnsbl.manitu.net,b.barracudacentral.org,truncate.gbudb.net,bl.blocklist.de,sip.xxxx,sip24.xxxx
postscreen_dnsbl_threshold = 2
@ IN TXT "v=spf1 a mx ip4:194.37.255.0/24 ip4:91.198.224.0/24 include:hostedoffice.ag ~all"
cd /var/www/vhosts/heutger.net/mta-sts.heutger.net
rm -Rf css favicon.ico img index.html test
mkdir .well-known
vi .well-known/mta-sts.txt
chown -R heutger:psacln .well-known
version: STSv1
mode: enforce
mx: *.heutger.net
max_age: 2419200
_mta-sts IN TXT "v=STSv1; id=WB2VQK7b784TzXPR;"
_smtp._tls IN TXT "v=TLSRPTv1; rua=mailto:xxxx@xxxx"
cd /tmp
wget https://github.com/jordanhillis/pvekclean/archive/master.zip
unzip master.zip
cd pvekclean-master
chmod +x pvekclean.sh
./pvekclean.sh
pvekclean
smtpd_tls_mandatory_protocols = !SSLv2,!SSLv3
smtpd_tls_protocols = !SSLv2,!SSLv3
smtpd_tls_mandatory_ciphers = medium
smtpd_tls_ciphers = medium
tls_medium_cipherlist = AES256+EECDH:ECDHE-RSA-CHACHA20-POLY1305:AES128+EECDH:AES256+EDH:DHE-RSA-CHACHA20-POLY1305:AES128+EDH
tls_preempt_cipherlist = yes
smtpd_tls_mandatory_protocols = !SSLv2,!SSLv3
smtpd_tls_protocols = !SSLv2,!SSLv3
smtpd_tls_mandatory_ciphers = medium
smtpd_tls_ciphers = medium
tls_medium_cipherlist = AES256+EECDH:ECDHE-RSA-CHACHA20-POLY1305:AES128+EECDH:AES256+EDH:DHE-RSA-CHACHA20-POLY1305:AES128+EDH:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:AES256-SHA:AES128-SHA
tls_preempt_cipherlist = yes
Hello Heutger,
I have done all of the configs in this thread, Proxmox server filters spam mail better but there are still many spam emails belonging to Google, Amazon or others domain that Proxmox cannot filter. Some mail is actually spam mail but Proxmox still allows it send to Mail Server. I am so confused, some mail is checked by DCC and Pyzor but some mail does not. BTW my Bayes marked score all mail
Hello Heutger,
Thanks for your reply
I really thank you for writing this article. It greatly helps Proxmox's spam filtering capabilities
I hope you will continue to write new things about Proxmox.
Besides, Can you show me where to configure scores for pyzor and dcc?
Regards,
Thinh
# DCC
ifplugin Mail::SpamAssassin::Plugin::DCC
score DCC_CHECK 0 1.1 0 1.1
score DCC_REPUT_00_12 0 -0.8 0 -0.4
score DCC_REPUT_13_19 0 -0.1 0 -0.1
score DCC_REPUT_70_89 0 0.1 0 0.1
score DCC_REPUT_90_94 0 0.4 0 0.6
score DCC_REPUT_95_98 0 0.7 0 1.0
score DCC_REPUT_99_100 0 1.2 0 1.4
endif # Mail::SpamAssassin::Plugin::DCC
# Pyzor
ifplugin Mail::SpamAssassin::Plugin::Pyzor
# <gen:mutable>
score PYZOR_CHECK 0 1.985 0 1.392 # n=0 n=2
# </gen:mutable>
endif # Mail::SpamAssassin::Plugin::Pyzor
Hi heutger
i must have missed something i'm not 100% sure on how to create the dcc.service.
i can see you've edited the file but what is being placed into the file?
finding the notes a little difficult to follow.
any assistance is greatly appreciated.
""Cheers
G
Thanks I did but did not understand
[Unit]
Description=DCC (Distributed Checksum Clearinghouses) interface daemon
After=remote-fs.target systemd-journald-dev-log.socket
[Service]
Type=forking
PermissionsStartOnly=true
RuntimeDirectory=dcc
ExecStart=/var/dcc/libexec/dccifd
User=root
Group=root
Nice=1
#DCC writes pid file with "-" at the beginning which confuses systemd
#PIDFile=/run/dcc/dccifd.pid
[Install]
WantedBy=multi-user.target