On Fri, May 06, 2016 at 12:12:14PM -0400, Charles Orth wrote:
> Hi Folks,
>
> I have compiled postfix 3.0.3. Using the ldap interface for the following
> maps everything works as designed.
> However, if I use theTCP interface, I am getting a panic error condition.
> Config eg
> virtual_alias_maps = tcp:removed-host-name-here:9871
> virtual_mailbox_domains = tcp:removed-host-name-here:9872
> transport_maps = tcp:removed-host-name-here:9873
> check_sender_access tcp:removed-host-name-here:9876,
> smtpd_sender_login_maps = tcp:removed-host-name-here:9875
>
>
> May 2 14:58:27 postfix-dev1-m01 postfix/trivial-rewrite[31448]: panic:
> VSTREAM_CTL_READ_FD requires double buffering
Your Postfix source or binaries are likely corrupted. Postfix
3.0.3 defines, but not use VSTREAM_CTL_READ_FD.
The TCP table code does use VSTREAM_CTL_TIMEOUT.
vstream_control(dict_tcp->fp,
CA_VSTREAM_CTL_TIMEOUT(DICT_TCP_TMOUT),
CA_VSTREAM_CTL_END);
Something's changed that code or the vstream.h header. My sources
show
#define VSTREAM_CTL_END 0
#define VSTREAM_CTL_READ_FD 5
#define VSTREAM_CTL_TIMEOUT 8
If either the 8 or 0 changed to 5, you're likely to get the reported
error.
[ Both tcp_table support and vstream support are from the same
library module, so version mismatch between executable programs
and the installed shared libraries seems an unlikely cause. ]
--
Viktor.