<table><tr><td style="">adridg added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D12230">View Revision</a></tr></table><br /><div><div><p>The real insight is in <a href="https://bugs.kde.org/show_bug.cgi?id=381850" class="remarkup-link" target="_blank" rel="noreferrer">https://bugs.kde.org/show_bug.cgi?id=381850</a> from Alexandre Martins. I'm mostly messing around trying to auto-set the socketbuffer size correctly.</p>

<p>If you use sysctl to up the buffer size, kmail seems to work just fine on FreeBSD. With this patch, I have been having weird issues -- possibly I'm not catching *all* of the creations of a socket, so this patch needs more debugging (and a constant, and a refactoring, etc.) anyway. "Weird issues" here means that sending mail hangs, for instance.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R165 Akonadi </div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D12230">https://phabricator.kde.org/D12230</a></div></div><br /><div><strong>To: </strong>adridg, dvratil<br /><strong>Cc: </strong>tcberner, KDE PIM, dvasin, winterz, vkrause, mlaurent, knauss, dvratil<br /></div>