~ubuntu-branches/ubuntu/saucy/opendmarc/saucy-backports

« back to all changes in this revision

Viewing changes to reports/opendmarc-import.in

  • Committer: Package Import Robot
  • Author(s): Scott Kitterman
  • Date: 2014-03-26 00:25:55 UTC
  • mfrom: (8.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20140326002555-i3ze2668dqqpp0d8
Tags: 1.2.0+dfsg-1~ubuntu13.10.1
No-change backport to saucy (LP: #1297616)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/perl
2
2
#
3
 
# Copyright (c) 2012, The Trusted Domain Project.  All rights reserved.
 
3
# Copyright (c) 2012, 2014, The Trusted Domain Project.  All rights reserved.
4
4
#
5
5
# Script to import per-message DMARC data.
6
6
 
485
485
          case "dkim"           {
486
486
                                        undef @dkim_entry;
487
487
                                        push(@dkim_entry, $value);
488
 
                                        if ($dkim_result eq "1")
489
 
                                        {
490
 
                                                push(@dkim_entry, 1);
491
 
                                        }
492
 
                                        else
493
 
                                        {
494
 
                                                push(@dkim_entry, 0);
495
 
                                        }
 
488
                                        push(@dkim_entry, $dkim_result);
496
489
                                        if ($dkim_result eq "4" ||
497
490
                                            $dkim_result eq "5")
498
491
                                        {