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
2937935f
Commit
2937935f
authored
16 years ago
by
Stuart Gathman
Browse files
Options
Downloads
Patches
Plain Diff
Comment updates
parent
31aa3903
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Milter/__init__.py
+2
-1
2 additions, 1 deletion
Milter/__init__.py
pymilter.spec
+3
-0
3 additions, 0 deletions
pymilter.spec
with
5 additions
and
1 deletion
Milter/__init__.py
+
2
−
1
View file @
2937935f
...
...
@@ -95,7 +95,7 @@ class Base(object):
return
ALL_OPTS
return
CONTINUE
# Milter methods which can be invoked from callbacks
# Milter methods which can be invoked from
most
callbacks
def
getsymval
(
self
,
sym
):
return
self
.
__ctx
.
getsymval
(
sym
)
...
...
@@ -104,6 +104,7 @@ class Base(object):
def
setreply
(
self
,
rcode
,
xcode
=
None
,
msg
=
None
,
*
ml
):
return
self
.
__ctx
.
setreply
(
rcode
,
xcode
,
msg
,
*
ml
)
# may only be called from negotiate callback
def
setsmlist
(
self
,
stage
,
macros
):
if
not
self
.
__actions
&
SETSMLIST
:
raise
DisabledAction
(
"
SETSMLIST
"
)
if
type
(
macros
)
in
(
list
,
tuple
):
...
...
This diff is collapsed.
Click to expand it.
pymilter.spec
+
3
−
0
View file @
2937935f
...
...
@@ -83,6 +83,9 @@ chmod a+x $RPM_BUILD_ROOT%{libdir}/start.sh
rm -rf $RPM_BUILD_ROOT
%changelog
* Thu May 28 2009 Stuart Gathman <stuart@bmsi.com> 0.9.2-1
- Add new callback support: data,negotiate,unknown
* Thu Feb 05 2009 Stuart Gathman <stuart@bmsi.com> 0.9.1-1
- Fix missing address of optional param to addrcpt
...
...
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