diff --git a/faq.html b/faq.html index 3f51084..d2fe279 100644 --- a/faq.html +++ b/faq.html @@ -72,6 +72,9 @@ milter-0.4.5 or later to remove this dependency. set_flags() before calling runmilter(). For instance, Milter.set_flags(Milter.ADDRCPT). You must add together all of ADDHDRS, CHGBODY, ADDRCPT, DELRCPT, CHGHDRS that apply. +

NOTE - recent versions default flags to enabling all features. You +must now call set_flags() if you wish to disable features for +efficiency.

  • 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.

    +If you are running bms.py, then the block_chinese option in +/etc/mail/pymilter.cfg controls this feature. +

  • Q. Why does sendmail coredump with milters on OpenBSD? -

    A. Sendmail has a problem with unix sockets on OpenBSD. Use -an internet domain socket instead. For example, in sendmail.cf use +

    A. Sendmail has a problem with unix sockets on old versions of OpenBSD. +Use an internet domain socket instead. For example, in +sendmail.cf use

     Xpythonfilter, S=inet:1234@localhost
     
    and change sample.py accordingly. +

    OpenBSD users report that this problem has been fixed.

  • Q. How can I change the bounce message for an invalid recipient? @@ -143,8 +151,8 @@ everything up for you. For other systems:
  • 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). -
  • Copy milter.cfg to the directory you run bms.py in, and edit it. The - comments should explain the options. +
  • Copy pymilter.cfg to the /etc/mail or the directory you run bms.py in, + and edit it. The comments should explain the options.
  • Start bms.py in the background as arranged.
  • Add Xpythonfilter to sendmail.cf or add an INPUT_MAIL_FILTER to sendmail.mc. Regen sendmail.cf if you use sendmail.mc and restart