Dino Ciuffetti writes:
>>> On 2006-01-19,
dino@repl... wrote:
>>>>
>>>> Hi.
>>>> I need a quick way to get the ip address of the esternal esmtp client
>>>> that
>>>> submit emails to my courier.
>>>>
>>>
>>> You can find this information in the Received-Header. If you enable SPF,
>> courier also generates a Received-SPF header. Its probably easier to
>> extract/parse the ip address out of the SPF header.
>>>
>>>
>>> --
>>> Georg
>>>
>>
>> Ok, thanks!! I'm now using courier's "Sender Policy Framework" to add the
>> Received-SPF header, and it's working!! ;-)
>>
>
> With SPF enabled, sometimes I have a problem: "534 Message header size, or
> recipient list, exceeds policy limit." because SPF adds lots of header
> lines.
>
> I know this policy is hardcoded, I just like to know if there's an
> official patch for courier to make this as a parameter in a configuration
> file (bofh, for ex?). Why did developers choose to hardcode header size?
The default maximum total header size is about 100Kb. By comparison, SPF's
contribution are infinitessimal.
opensubscriber is not affiliated with the authors of this message nor responsible for its content.