in /etc/postfix/og_mailinglist/og_mailinglist_postfix_transport.php

needed to add this to avoid a 417 error

curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:'));

If those running on apache could test if it has an impact, would like to see it patched by default.

X+

Comments

kyle_mathews’s picture

I tested it on one of my servers and it seems like it works w/o/ problems. But I have no idea what the extra line is doing. Can you explain what this HTTP Header is doing before I commit the change?

sydesy’s picture

http://redmine.lighttpd.net/issues/show/1017

The reason seems to be that any POST over 1024 character causes the "Expect: 100-continue" HTTP header to be sent, and Lighttpd 1.4.* does not support it.

A way of saying to the webserver that postfix client is still alive. It might have an impact if you upload very very slowly, but why would postfix client do that ?

X+

kyle_mathews’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.