|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
policy daemon questions
From: Gábor Lénárt (lgb
lgb.hu)
Date: Tue Aug 02 2005 - 05:51:27 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
I've got some questions about implementation of a policy daemon, maybe some
of them are offtopic in this list, sorry about it in advance.
Can I *modify* any parameter in policy daemon? I mean, eg rewriting sender
address or such. Since I have got queue id eg in case of END-OF-MESSAGE
protocol status, can I locate the queued file to read and/or even write
(modify) some parameters?
I'm planning to create a very minimal postfix configuration, with all of the
possible restriction options in main.cf set to check_policy_service for the
same policy daemon. I don't want to create any other setting in postfix
main.cf itself, I would like to do almost anything in my policy daemon to
create a quite complex configuration which is stored in LDAP (not only maps
but the actual policy itself as well, policy daemon would fetch from that
periodically, also this would be a distributed configuration so it would be
quite useful not to syncronize main.cf every time on all nodes, but modify
only an LDAP structure and that's it).
For this purpose, of course I've got attrib-value pairs got by the policy
daemon, and I can return a policy like in case of access table. That's right.
But what's up if I need more information which does not present in this way?
I would extract them from queue entry itself or such, but I would like to know
if there's some cleaner way to do this, before hacking up the whole MTA ...
Similar (but even more complex) problem is the ability of MODIFY the queue
entry, I've mentioned before.
I hope despite of my poor Enlglish you can got the idea of my plan. I've
read policy daemon documentation, read mail list for a while but I didn't
find advice for similar problem(s). Maybe I'm wrong and just off topic,
however.
thanx in advance,
--
- Gábor
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]