View Code? Open in Web Editor
NEW
A powerful pymilter based anti-spam milter used by BMS
License: GNU General Public License v2.0
Python 88.37%
Shell 4.22%
HTML 6.38%
Makefile 0.08%
M4 0.94%
milter's Introduction
๐ Hi, Iโm @sdgathman
๐ Iโm interested in decentralized protocols
๐ฑ Iโm currently learning rust build system
๐๏ธ Iโm looking to collaborate on Scuttlebot that isn't javascript
๐ซ How to reach me ... mxid:@stuart:gathman.org
milter's People
Contributors
milter's Issues
The deactivated pieces of real viruses in the test data cause virus scanners to alarm. Using the standard test "virus" does not work for this application because we are scanning for disguised executable content - not signatures of known viruses.
By moving the test emails to its own package,
scanners will no longer alarm on milter code itself
the test emails can be useful in testing other milter applications.
I cannot figure out what is wrong in my setting for DKIM. I need your help.
dkimpy-milter (1.2.2-1) is used for DKIM signature and verification.
=========================
Email arrived at [email protected] and identified as
dkim=permerror reason="unsupported signature algorithm".
Return-Path: [email protected]
Received: from mail01.SiriusCloud.jp (219.118.72.1) by verifier.port25.com id h2guq82p2toj for [email protected] ; Sun, 4 Sep 2022
05:54:44 +0000 (envelope-from [email protected] )
Authentication-Results: verifier.port25.com; spf=pass smtp.mailfrom=[email protected] ;
iprev=pass (matches mail01.SiriusCloud.jp) policy.iprev=219.118.72.1;
dkim=permerror reason="unsupported signature algorithm" ;
dkim=fail reason="signature doesn't verify"
Received: from smi72700k.sanzo.org (61-213-47-254.catv296.ne.jp [61.213.47.254])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
(No client certificate requested)
(Authenticated sender: [email protected] )
by access01.SiriusCloud.jp (Postfix) with ESMTPSA id 4ML17l1hvRz35vG7h
for [email protected] ; Sun, 4 Sep 2022 14:54:43 +0900 (JST)
DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=sanzo.org;
[email protected] ; q=dns/txt; s=dkim-ed25519; t=1662270880; h=date : from :
message-id : to : subject : content-type : mime-version :
content-transfer-encoding : from;
bh=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=;
b=2ne23XnmFelQLySuMfq1zX7I1KQt3GAIx4TIKd5aicfPac8dfJmMEi4+wg1Sk2A8Le5om
DNTCIYzeIypNX8ICg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sanzo.org;
[email protected] ; q=dns/txt; s=dkim-rsa; t=1662270880; h=date : from :
message-id : to : subject : content-type : mime-version :
content-transfer-encoding : from;
bh=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=;
b=qQRcdkksJwhJbJAypV9ZT8wRK0KKCoZ8AVu0VfSdG/L931iERNxozCUXF3UVnha35ws8x
+TlfnBCgCuwF4d32Gxr7f7yIHzXHpVZ5QK0WnZQ0gZ1MJ2IVnrxq4JIR+rMn1LyE2CGB2xD
MG9Z4gOVEB5N3qFt8/zB7UVejSZgOf7Vg9e1ztvxHRrqcfiTYhXnjePLaYrfr3LOQNB8P5O
6OUBgGwKQT9UehYAleTH587qZcaOGhYM0k1VLQCh6RtbPVC0ZXf2//PBAd6B7DCg4ACLN8Z
SpO7EhrRPjLJ4TkRVq3Fw6WjuKIvkxMCTJLd1chn3vdL5fn8+HhQO5SIdpVQ==
Received: from smi72700k.sanzo.org (miyazawa@ip6-localhost [127.0.0.1])
by smi72700k.sanzo.org (8.15.2/8.15.2/Debian-22) with ESMTPS id 2845sedi809535
(version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT)
for [email protected] ; Sun, 4 Sep 2022 14:54:40 +0900
Received: (from miyazawa@localhost)
by smi72700k.sanzo.org (8.15.2/8.15.2/Submit) id 2845se43809534;
Sun, 4 Sep 2022 14:54:40 +0900
Date: Sun, 4 Sep 2022 14:54:40 +0900
From: Sanzo Miyazawa [email protected]
Message-Id: [email protected]
To: [email protected]
Subject:
Content-Type: text/plain; charset=UTF-8
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Virus-Scanned: clamav-milter 0.103.6 at smi72700k
X-Virus-Status: Clean
I have setup the pymilter with sendmail and it is able to read the subject on the running socket now I want to filter the mails and modify the subject to mention whether it's a spam or not along with mentioning the score using the spfmilter or bms but I am not able to figure out how can I configure the bms or spfmilter with the already running pymilter. Can you please suggest how should I do it?
Thanks.