Re: opendkim-spam

From: Murray S. Kucherawy <>
Date: Thu, 8 Nov 2012 04:35:51 -0800 (PST)

On Thu, 8 Nov 2012, Christian R??ner wrote:
> for spam in /var/lib/amavis/quarantine/spam/*.gz; do zcat $spam | /usr/local/bin/opendkim-spam; done
> opendkim-spam: could not determine reporter id for 'localhost'
> opendkim-spam: could not determine reporter id for 'localhost'
> How can I set the teporterid for opendkim-spam command?

It's determined by the top-most Received: field. For this message from
you, on my system, it was:

Received: from ( [])
     by (8.14.5/8.14.5) with ESMTP id qA8BXC4D048696
     for <>; Thu, 8 Nov 2012 03:33:14 -0800 (PST)

The reporter name is the field after "by", which it looks up in the
"reporters" table. It also uses the field after "id" to find the message
in the "messages" table.

This has been sufficient to date. We could add a command line override
for the reporter ID or reporter name if needed for your application.

Received on Thu Nov 08 2012 - 12:36:07 PST

This archive was generated by hypermail 2.3.0 : Thu Nov 08 2012 - 12:45:01 PST