Ralph and others,

> > from myself:
> > > For now, removing the status test or sticking to 0.90 is a workaround.
> > > Will investigate later on.
>
> It is more tricky than it appeared to make the same code work correctly
> under 0.90 as well as under 0.91.  The post_process_request_hook fails
> to close socket under 0.91, so smtp QUIT command no longer drops the
> session. Luckily Postfix does not mind, but it is wrong anyway.

A workaround for this bug in 0.91 (not closing a connection) is quite 
straightforward (the bug will be fixed in 0.92), but as a next obstacle
there are some conflicts between the new use of file descriptors
in Net::Server 0.91 and the way file descriptors are assigned when
spawning external programs, both by amavisd itself and by SpamAssassin.
This is not a bug in Net::Server, just a compatibility issue.
The "Error closing main::stdin: Bad file descriptor" is just
a (trivially fixed) tip of the iceberg.

The fix is nontrivial, so my intention is to get the 2.4.0
out on the street pretty fast, and not to bother with preparing,
testing and releasing a patched 2.3.3.  People that want to
stick with 2.3.3 should not upgrade Net::Server beyond 0.90,
which is the last version under which 2.3.3 works reliably
in all setups. Port maintainers are of course free to patch
older port if they so desire.

  Mark


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to