From: SM <sm...@re...> - 2009-06-24 06:06:44
|
Hi John, At 16:42 23-06-2009, John Marshall wrote: >Thanks but I was looking to hook into whatever generates those log >messages. When I first set up DKIM I did as you suggested but it killed >off any of our messages which went through mailing lists: neither we nor >anybody else with ADSPDiscard true would receive those messages. So, we >are stuck with an "unknown" ADSP until everybody works out what to do >with mailing lists and DKIM. The external notice will be logged for mailing list traffic. You will see something similar to the line below in your mail log: external host lists.sourceforge.net attempted to send as example.com >I'm looking for something like 'ExternalStrict' or 'ExternalDiscard' >which could be set true to reject messages from "external" hosts which >are not found in 'ExternalIgnoreList'. As far as I can see, the DKIM >filter is the only filter with enough clues to make that decision. >Apart from that, the message has to run the gauntlet of subsequent >filters and (hopefully) be rejected on other grounds. You can hack dkim-milter to reject the message if you know which hosts are sending mailing list traffic. Set a flag around line no. 6481 in dkim-filter.c. In the mlfi_eom() routine, test for that flag and reject. That would be like an "On-External" action. Regards, -sm |