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
a0878320
Commit
a0878320
authored
Oct 31, 2005
by
Stuart Gathman
Browse files
Options
Downloads
Patches
Plain Diff
Doc updates
parent
d1583d88
No related branches found
No related tags found
No related merge requests found
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
doc/changes.ht
+1
-1
1 addition, 1 deletion
doc/changes.ht
doc/faq.ht
+12
-6
12 additions, 6 deletions
doc/faq.ht
doc/logmsgs.ht
+2
-1
2 additions, 1 deletion
doc/logmsgs.ht
doc/policy.ht
+5
-0
5 additions, 0 deletions
doc/policy.ht
doc/requirements.ht
+2
-2
2 additions, 2 deletions
doc/requirements.ht
with
22 additions
and
10 deletions
doc/changes.ht
+
1
−
1
View file @
a0878320
...
@@ -14,7 +14,7 @@ by <a href="http://barry.wooz.org/">Barry Warsaw</a>. The mascot
...
@@ -14,7 +14,7 @@ by <a href="http://barry.wooz.org/">Barry Warsaw</a>. The mascot
is by <a href="http://alphard.ethz.ch/hafner/lebl.htm">Christian Hafner</a>,
is by <a href="http://alphard.ethz.ch/hafner/lebl.htm">Christian Hafner</a>,
or maybe his wife. I chose Maxwell's daemon because it tirelessly
or maybe his wife. I chose Maxwell's daemon because it tirelessly
and invisibly sorts molecules, just as milters sort mail.
and invisibly sorts molecules, just as milters sort mail.
Cristian has also provided a fun
C
h
ristian has also provided a fun
<a href="http://alphard.ethz.ch/hafner/PPS/PPS2002/Maxwell/simulation.htm">
<a href="http://alphard.ethz.ch/hafner/PPS/PPS2002/Maxwell/simulation.htm">
simulation</a> that lets you try your hand at sorting molecules.
simulation</a> that lets you try your hand at sorting molecules.
...
...
This diff is collapsed.
Click to expand it.
doc/faq.ht
+
12
−
6
View file @
a0878320
...
@@ -99,13 +99,14 @@ If you are running bms.py, then the block_chinese option in
...
@@ -99,13 +99,14 @@ If you are running bms.py, then the block_chinese option in
<li> Q. Why does sendmail coredump with milters on OpenBSD?
<li> Q. Why does sendmail coredump with milters on OpenBSD?
<p> A. Sendmail has a problem with unix sockets on old versions of OpenBSD.
<p> A. Sendmail has a problem with unix sockets on old versions of OpenBSD.
Use an internet domain socket instead. For example, in
OpenBSD users report that this problem has been fixed, so upgrading
OpenBSD will fix this. Otherwise, you can
use an internet domain socket instead. For example, in
<code>sendmail.cf</code> use
<code>sendmail.cf</code> use
<pre>
<pre>
Xpythonfilter, S=inet:1234@localhost
Xpythonfilter, S=inet:1234@localhost
</pre>
</pre>
and change sample.py accordingly.
and change sample.py accordingly.
<p> OpenBSD users report that this problem has been fixed.
<p>
<p>
<li> Q. How can I change the bounce message for an invalid recipient?
<li> Q. How can I change the bounce message for an invalid recipient?
...
@@ -139,10 +140,15 @@ Xpythonfilter, S=local:/var/log/milter/pythonsock, F=T, T=C:5m;S:20s;R:60s;E:5m
...
@@ -139,10 +140,15 @@ Xpythonfilter, S=local:/var/log/milter/pythonsock, F=T, T=C:5m;S:20s;R:60s;E:5m
</pre>
</pre>
<li> Q. There is a Python traceback in the log file! What happened to
<li> Q. There is a Python traceback in the log file! What happened to
my email?
my email?
<p> A. When the milter fails with an untrapped exception, a TEMPFAIL
<p> A. By default, when the milter fails with an untrapped exception, a
result (451) is returned to the sender. The sender will then retry every
TEMPFAIL result (451) is returned to the sender. The sender will then retry
hour or so for several days. Hopefully, someone will notice the
every hour or so for several days. Hopefully, someone will notice the
traceback, and workaround or fix the problem.
traceback, and workaround or fix the problem. Beginning with milter-0.8.2,
you can call <code>milter.set_exception_policy(milter.CONTINUE)</code>
to cause an untrapped exception to continue processing with the
next callback or milter instead. For
completeness, you can also set the exception policy to
<code>milter.REJECT</code>.
<li> Q. I read some notes such as "Check valid domains allowed by internal
<li> Q. I read some notes such as "Check valid domains allowed by internal
senders to detect PCs infected with spam trojans." but could not
senders to detect PCs infected with spam trojans." but could not
...
...
This diff is collapsed.
Click to expand it.
doc/logmsgs.ht
+
2
−
1
View file @
a0878320
...
@@ -5,7 +5,8 @@ DT { font-weight: bolder; padding-top: 1em }
...
@@ -5,7 +5,8 @@ DT { font-weight: bolder; padding-top: 1em }
<h1> Milter Log Documentation </h1>
<h1> Milter Log Documentation </h1>
The milter log has a variety of "tags" in it that indicate what it did.
The milter log from the bms.py application has a variety of "tags" in it that
indicate what it did.
<dl>
<dl>
<dt> DSPAM: honeypot SCREENED
<dt> DSPAM: honeypot SCREENED
...
...
This diff is collapsed.
Click to expand it.
doc/policy.ht
+
5
−
0
View file @
a0878320
...
@@ -2,6 +2,11 @@ Title: Python Milter Mail Policy
...
@@ -2,6 +2,11 @@ Title: Python Milter Mail Policy
<h1> Python Milter Mail Policy </h1>
<h1> Python Milter Mail Policy </h1>
These are the policies implemented by the <code>bms.py</code> milter
application. The milter and Milter modules do not implement any policies
by themselves. Eventually, I'll get the bms.py milter moved to its
own package.
<h3> Classify connection </h3>
<h3> Classify connection </h3>
When the SMTP client connects, the connection IP address is
When the SMTP client connects, the connection IP address is
...
...
This diff is collapsed.
Click to expand it.
doc/requirements.ht
+
2
−
2
View file @
a0878320
...
@@ -7,13 +7,13 @@ Title: Requirements
...
@@ -7,13 +7,13 @@ Title: Requirements
want to use python 2.0 or better. The python code uses a number of
want to use python 2.0 or better. The python code uses a number of
python 2 features. The email support requires python 2.4.
python 2 features. The email support requires python 2.4.
<li> Python must be configured with thread support. This is because
<li> Python must be configured with thread support. This is because
sendmail's libmilter requires thread support.
pymilter uses
sendmail's libmilter
which
requires thread support.
<li> You must compile sendmail with libmilter enabled. In versions of
<li> You must compile sendmail with libmilter enabled. In versions of
sendmail prior to 8.12 libmilter is marked FFR (For Future Release) and
sendmail prior to 8.12 libmilter is marked FFR (For Future Release) and
is not installed by default.
is not installed by default.
Sendmail 8.12 still does not enable libmilter by default. You must
Sendmail 8.12 still does not enable libmilter by default. You must
explicitly select the "MILTER" option when compiling.
explicitly select the "MILTER" option when compiling.
<li> Python milter has been tested against sendmail-8.11
and
sendmail-8.1
2
.
<li> Python milter has been tested against sendmail-8.11
through
sendmail-8.1
3
.
<li> Python milter must be compiled for the specific version of sendmail
<li> Python milter must be compiled for the specific version of sendmail
it will run with. (Since the result is dynamically loaded, there could
it will run with. (Since the result is dynamically loaded, there could
conceivably be multiple versions available and selected at startup - but
conceivably be multiple versions available and selected at startup - but
...
...
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
sign in
to comment