Loading ...
Sorry, an error occurred while loading the content.

Re: Multiple responses from a policy daemon, is it possible?

Expand Messages
  • Jay Deiman
    ... Hash: SHA1 ... Yeah, I didn t even think about restriction classes, that will work for what I need to do. ... Hehe, yeah, you are completely correct, that
    Message 1 of 4 , Sep 29, 2008
    • 0 Attachment
      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1

      Noel Jones wrote:
      | Jay Deiman wrote:
      |> -----BEGIN PGP SIGNED MESSAGE-----
      |> Hash: SHA1
      |>
      |> Hello all,
      |>
      |> I'm wondering, when setting up a policy daemon, can you respond to
      |> Postfix with multiple actions?
      |
      | The expected results are the same as an access(5) table.
      | http://www.postfix.org/access.5.html
      |
      | Multiple main.cf UCE restrictions (such as those listed under
      | http://www.postfix.org/postconf.5.html#smtpd_client_restrictions) may be
      | specified, or an smtpd_restriction_classes entry, or an access(5)
      | action. Multiple access(5) actions are not supported, but may be
      | chained to by smtpd_restriction_classes.

      Yeah, I didn't even think about restriction classes, that will work for
      what I need to do.

      |
      |> For example, could I respond to the
      |> policy service request with both a "PREPEND X-Something: yada yada" and
      |> a "DUNNO"?
      |
      | Not a good example; "PREPEND ..." followed by "DUNNO" is equivalent to
      | just "PREPEND ..."
      |

      Hehe, yeah, you are completely correct, that is a bad example. It
      should have been a "PREPEND ..." followed by a "OK".

      Thanks,

      Jay
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v2.0.9 (GNU/Linux)
      Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

      iEYEARECAAYFAkjhEVoACgkQQ0lr+ZVKSBiZKQCgiYQgpelH2YQevYp+u4+pBq1l
      /oIAnj7pg1XJ3MGpDs+dPwjbeGy5lYdR
      =Ogs+
      -----END PGP SIGNATURE-----
    Your message has been successfully submitted and would be delivered to recipients shortly.