Re: [courier-users] Courier and rfc 4408 spf
Brought to you by:
mrsam
From: Sam V. <mr...@co...> - 2014-11-04 11:57:40
|
mar...@bo... writes: > « HTML content follows » > > Hi, > > The problem occurs when the domain is in your SPF record on multiple lines > for the TXT record. > > Domain: algartelecom.com.br > > TXT record: > > "v = spf1 ip4: 189.112.116.20 ip4: 200.170.137.98 ip4: 200 170 169 > 128 ip4: 20 > 0.225.197.0/24 ip4: 200 225 223 133 ip4: 201.16.216.25 ip4: 201.48.140.94 " > "include: 17386.meuspf.com include: 21316.meuspf.com include: > spf.protectio > n.outlook.com include: spf.virtualtarget.com.br a mx -all " > > Error courier: > > Nov 3 12:38:07 mail courieresmtpd: error, relay = :: ffff: 65.55.169.54, from > = <ma...@al...>: 517 SPF neutral ma...@al...: > Address does not pass the Sender Policy Framework > > http://tools.ietf.org/html/rfc4408#section-3.1.4 > > > > <URL:http://tools.ietf.org/html/rfc4408#section-3.1.3>3.1.3. Multiple Strings > in a Single DNS record > > > > > As defined in [<URL:http://tools.ietf.org/html/rfc1035>RFC1035] sections < > URL:http://tools.ietf.org/html/rfc4408#section-3.3.14>3.3.14 and <URL:http:// > tools.ietf.org/html/rfc4408#section-3.3>3.3, a single text DNS > record (either TXT or SPF RR types) can be composed of more than one > string. If a published record contains multiple strings, then the > record MUST be treated as if those strings are concatenated together > without adding spaces. For example: > > IN TXT "v=spf1 .... first" "second string..." > > MUST be treated as equivalent to > > IN TXT "v=spf1 .... firstsecond string..." > > SPF or TXT records containing multiple strings are useful in > constructing records that would exceed the 255-byte maximum length of > a string within a single TXT or SPF RR record. > > > How to fix this error? The SPF resolver in Courier does not yet implement multiple strings. RFC 4408 is relatively new, and not all mail servers support it, yet. |