In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Wietse Venema) wrote:
>> I mean isn't Postfix making this determination (relay authorized >> / unauthorized) internally itself already anyway? > >No, the determination is made in smtpd_recipient_restrictions. I won't quibble senamtics. _Something_ implements/interpolates the smtpd_recipient_restrictions into a useful result. That something is Postfix. >> Can you please save me a bit of time and give me one hint to get me started >> however? In which data structure (and in which field) does Postfix stash >> its own answer to the question "Is the current client relay authorized?" > >There is no such field. smtpd_recipient_restrictions decides if >recipient is accepted or rejected. Postfix does not know if it was >rejected because of blacklisting or because of lack of permission. Ah! OK. *Now* you have said something that does make me grok the problem a bit better. Yes, you're right. Postfix doesn't actually have the specific bit of information I want/need in my policy server (despite the fact that I had really hoped that it did) and thus it seems I have no choice but implement a separate sort of computation in the policy server that will give me something which approximates an incoming/outgoing bit... at least well enough for my specific practical purposes. Anyway, thanks for bearing with me long enough for me to actually understand the dilemma.