[quote user="Thomas R. Stephenson"]
If Spamhalter can do this, and I'm not sure that it does, then it's being done via the daemon interface. Spamhalter gets all the mail files, both the QCF and QDF, after it's been received via MercuryS and/or MercuryD so I'm not all that sure how it knows that the message has gone through the MercuryS ESMTP authentication process.
[/quote]
It is one of my tricks. [:D] Deamon interface not provide this kind of information, but I can made deduction by other informations instead:
- message not goes by mercuryD
- Server is not configured as openrelay
- message going from known local address
- message is for non-local user
At this case, message is very probably autorized by SMTP AUTH. Yes, hole os here, when message is for local user. But Spamhalter need this test for detect inbound/outgoing message, and for this purpose is this test enough.
By new API (SMTP server hooks) is possible to know if message is authorized, just here is problem how to get this information to queue procesing daemon. Maybe will be easy to write small daemon what can add some header with information about authorization. When i got a small free time, then I see what I can do with this. [;)]
[quote user="Thomas R. Stephenson"]<p>If Spamhalter can do this, and I'm not sure that it does,&nbsp; then it's being done via the&nbsp; daemon interface.&nbsp; Spamhalter gets all the mail files, both the QCF and QDF, after it's been received via MercuryS and/or MercuryD so I'm not all that sure how it knows that the message has gone through the MercuryS ESMTP authentication process.
</p><p>[/quote]</p><p>It is one of my tricks. [:D] Deamon interface not provide this kind of information, but I can made deduction by other informations instead:</p><ul><li>message not goes by mercuryD</li><li>Server is not configured as openrelay
</li><li>message going from known local address</li><li>message is for non-local user</li></ul><p>At this case, message is very probably autorized by SMTP AUTH. Yes, hole os here, when message is for local user. But Spamhalter need this test for detect inbound/outgoing message, and for this purpose is this test enough.</p><p>By new API (SMTP server hooks) is possible to know if message is authorized, just here is problem how to get this information to queue procesing daemon. Maybe will be easy to write small daemon what can add some header with information about authorization. When i got a small free time, then I see what I can do with this. [;)]
</p>