[opendmarc-users] Opendmarc command line test
Murray S. Kucherawy
msk at blackops.org
Wed Aug 1 13:47:51 PDT 2012
On Wed, 1 Aug 2012, Marcos wrote:
> I'm testing opendmarc in a server with postfix 2.7.
> In this server I already have installed opendkim and
> it's working... I'm trying to verify a message file with
> command "opendmarc -t filename", but it doesn't show any
> result, not even errors. I tried "opendkim -t filename" with
> the same file, and this is the result:
> opendkim: ./filename: verification (s=default, d=digirati.com.br,
> 1024-bit key) succeeded
> Is there any other configuration needed to run the opendmarc test?
opendmarc relies on the presence of Authentication-Results fields to
figure out whether DKIM or SPF passed. In normal operation, opendkim
would run and add that field after DKIM checking is completed, and then
opendmarc would get the message (including the added field) and figure out
the DMARC result based on that.
In command line mode, you'd follow these steps:
1) Run "opendkim -t" to verify the message. This will yield an
Authentication-Results field indicating the DKIM result.
2) Copy that Authentication-Results field into the header of the sample
message.
3) Run "opendmarc -t" to run DMARC checks on the modified version of the
original message.
Does that make sense?
-MSK
More information about the opendmarc-users
mailing list