Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pymilter
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
misc
pymilter
Commits
2d291d35
Commit
2d291d35
authored
20 years ago
by
Stuart Gathman
Browse files
Options
Downloads
Patches
Plain Diff
Release 0.8.1
parent
a94f82d8
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
NEWS
+3
-0
3 additions, 0 deletions
NEWS
bms.py
+3
-2
3 additions, 2 deletions
bms.py
milter.spec
+6
-2
6 additions, 2 deletions
milter.spec
setup.py
+1
-1
1 addition, 1 deletion
setup.py
with
13 additions
and
5 deletions
NEWS
+
3
−
0
View file @
2d291d35
Here is a history of user visible changes to Python milter.
Here is a history of user visible changes to Python milter.
0.8.1 Fix zip in zip loop in mime.py
Fix HeaderParseError in bms.py header callback
Check internal_domains for outgoing mail
0.8.0 Move Milter module to subpackage.
0.8.0 Move Milter module to subpackage.
DSN support for Three strikes rule and SPF SOFTFAIL
DSN support for Three strikes rule and SPF SOFTFAIL
Move /*mime*/ and dynip to Milter subpackage
Move /*mime*/ and dynip to Milter subpackage
...
...
This diff is collapsed.
Click to expand it.
bms.py
+
3
−
2
View file @
2d291d35
#!/usr/bin/env python
#!/usr/bin/env python
# A simple milter that has grown quite a bit.
# A simple milter that has grown quite a bit.
# $Log$
# $Log$
# Revision 1.10 2005/06/16 18:35:51 customdesigned
# Ignore HeaderParseError decoding header
#
# Revision 1.9 2005/06/14 21:55:29 customdesigned
# Revision 1.9 2005/06/14 21:55:29 customdesigned
# Check internal_domains for outgoing mail.
# Check internal_domains for outgoing mail.
#
#
...
@@ -656,8 +659,6 @@ class bmsMilter(Milter.Milter):
...
@@ -656,8 +659,6 @@ class bmsMilter(Milter.Milter):
if
not
(
self
.
internal_connection
or
self
.
trusted_relay
)
\
if
not
(
self
.
internal_connection
or
self
.
trusted_relay
)
\
and
self
.
connectip
and
spf
:
and
self
.
connectip
and
spf
:
return
self
.
check_spf
()
return
self
.
check_spf
()
if
self
.
internal_connection
:
pass
return
Milter
.
CONTINUE
return
Milter
.
CONTINUE
def
check_spf
(
self
):
def
check_spf
(
self
):
...
...
This diff is collapsed.
Click to expand it.
milter.spec
+
6
−
2
View file @
2d291d35
%define name milter
%define name milter
%define version 0.8.
0
%define version 0.8.
1
%define release
3
.RH7
%define release
1
.RH7
# what version of RH are we building for?
# what version of RH are we building for?
%define redhat9 0
%define redhat9 0
%define redhat7 1
%define redhat7 1
...
@@ -166,6 +166,10 @@ rm -rf $RPM_BUILD_ROOT
...
@@ -166,6 +166,10 @@ rm -rf $RPM_BUILD_ROOT
/usr/share/sendmail-cf/hack/rhsbl.m4
/usr/share/sendmail-cf/hack/rhsbl.m4
%changelog
%changelog
* Thu Jun 16 2005 Stuart Gathman <stuart@bmsi.com> 0.8.1-1
- Fix zip in zip loop in mime.py
- Fix HeaderParseError in bms.py header callback
- Check internal_domains for outgoing mail
* Mon Jun 06 2005 Stuart Gathman <stuart@bmsi.com> 0.8.0-3
* Mon Jun 06 2005 Stuart Gathman <stuart@bmsi.com> 0.8.0-3
- properly log pydspam exceptions
- properly log pydspam exceptions
* Sat Jun 04 2005 Stuart Gathman <stuart@bmsi.com> 0.8.0-2
* Sat Jun 04 2005 Stuart Gathman <stuart@bmsi.com> 0.8.0-2
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
1
−
1
View file @
2d291d35
...
@@ -12,7 +12,7 @@ if sys.version < '2.2.3':
...
@@ -12,7 +12,7 @@ if sys.version < '2.2.3':
DistributionMetadata
.
classifiers
=
None
DistributionMetadata
.
classifiers
=
None
DistributionMetadata
.
download_url
=
None
DistributionMetadata
.
download_url
=
None
setup
(
name
=
"
milter
"
,
version
=
"
0.8.
0
"
,
setup
(
name
=
"
milter
"
,
version
=
"
0.8.
1
"
,
description
=
"
Python interface to sendmail milter API
"
,
description
=
"
Python interface to sendmail milter API
"
,
long_description
=
"""
\
long_description
=
"""
\
This is a python extension module to enable python scripts to
This is a python extension module to enable python scripts to
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment