Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jul 2015 13:27:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 201557] mail/enma bug when using SPF 'ptr' mechanism with ipv6 address and milter rejection enhancement
Message-ID:  <bug-201557-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201557

            Bug ID: 201557
           Summary: mail/enma bug when using SPF 'ptr' mechanism with ipv6
                    address and milter rejection enhancement
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: adrik@salesmanager.nl

Created attachment 158748
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=158748&action=edit
tar file with patches.

Current enma 1.20 contains a bug when IPv6 SPF uses 'ptr' matches.
When receiving an email from an IPv6 server, using 'ptr' in their SPF 
record, an error message similar to the following is generated:

'mail enma[2176]: [s8MEVX6e089265] DNS lookup failure (ignored): rrtype=ptr,
ipaddr=2a01:111:f400:fe00::794, err=NXDOMAIN'

Attached patches solve this problem and also include an enhancement to reject
messages for hardfail SPF, SenderID, DKIM or DKIM-ADSP.
The rejection is optional and can be enabled though new options in enma.conf.
The following options are added with a default value of false:

spf.reject
sidf.reject
dkim.reject
dkimadsp.reject

I send original author of Enma (Takahiko Suzuki) a message describing the
problem, but he decided not to fix enma, but incorporate the fix in a new
milter called yenma.

The attached patches are suitable to be copied into /usr/ports/mail/enma/files
without modifications.

Best regards,

Adri Koppes.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-201557-13>