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
124747c3
Commit
124747c3
authored
20 years ago
by
Stuart Gathman
Browse files
Options
Downloads
Patches
Plain Diff
Update faq.
parent
4c659c7f
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
faq.html
+12
-4
12 additions, 4 deletions
faq.html
with
12 additions
and
4 deletions
faq.html
+
12
−
4
View file @
124747c3
...
...
@@ -72,6 +72,9 @@ milter-0.4.5 or later to remove this dependency.
<code>
set_flags()
</code>
before calling
<code>
runmilter()
</code>
. For
instance,
<code>
Milter.set_flags(Milter.ADDRCPT)
</code>
. You must add together
all of
<code>
ADDHDRS, CHGBODY, ADDRCPT, DELRCPT, CHGHDRS
</code>
that apply.
<p>
NOTE - recent versions default flags to enabling all features. You
must now call
<code>
set_flags()
</code>
if you wish to disable features for
efficiency.
<p>
<li>
Q. Why does sendmail sometimes print something like:
...
...
@@ -94,14 +97,19 @@ for your specific needs. We will of course continue to move generic
code out of the sample as the project evolves. Think of sample.py as
an active config file.
<p>
If you are running bms.py, then the block_chinese option in
<code>
/etc/mail/pymilter.cfg
</code>
controls this feature.
<p>
<li>
Q. Why does sendmail coredump with milters on OpenBSD?
<p>
A. Sendmail has a problem with unix sockets on OpenBSD. Use
an internet domain socket instead. For example, in
<code>
sendmail.cf
</code>
use
<p>
A. Sendmail has a problem with unix sockets on old versions of OpenBSD.
Use an internet domain socket instead. For example, in
<code>
sendmail.cf
</code>
use
<pre>
Xpythonfilter, S=inet:1234@localhost
</pre>
and change sample.py accordingly.
<p>
OpenBSD users report that this problem has been fixed.
<p>
<li>
Q. How can I change the bounce message for an invalid recipient?
...
...
@@ -143,8 +151,8 @@ everything up for you. For other systems:
<li>
Arrange to run bms.py in the background (as a service perhaps) and
redirect output and errors to a logfile. For instance, on AIX you'll want
to use SRC (System Resource Controller).
<li>
Copy milter.cfg to the directory you run bms.py in,
and edit it. The
comments should explain the options.
<li>
Copy
py
milter.cfg to the
/etc/mail or the
directory you run bms.py in,
and edit it. The
comments should explain the options.
<li>
Start bms.py in the background as arranged.
<li>
Add Xpythonfilter to sendmail.cf or add an INPUT_MAIL_FILTER to
sendmail.mc. Regen sendmail.cf if you use sendmail.mc and restart
...
...
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