Re: Multiple responses from a policy daemon, is it possible?
- -----BEGIN PGP SIGNED MESSAGE-----
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.
| 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".
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----