Martin Orr wrote:
> On 17/04/06 21:49, Bowie Bailey wrote:
> > Where did this message come from? As far as I know, I have not
> > configured Amavis to send any type of DSN. Is something odd going
> > on here, or am I misinterpreting something?
>
> Sorry, this is a bug in Amavis::In::Courier due to a stupid mistake
> on my part. To fix, apply the following patch:
> --- amavisd 2006-04-15 11:24:46.000000000 +0100
> +++ amavisd.fixed 2006-04-17 22:23:42.000000000 +0100
> @@ -11885,5 +11885,5 @@
>
> # Clean up object
> - $self->{recips} = undef;
> + $self->{per_recip_data} = undef;
> $self->{control_files} = undef;
> }
>
>
> This bug is triggered when an infected message and later a clean
> message are handled by the same amavisd child process (in order to
> test this, the best way is to temporarily set $max_servers to 1 so
> that all messages are handled by the same process). When this
> happens, a DSN is sent with information about the two messages mixed
> up together.
I appreciate the patch. I have not been able to duplicate the problem
after installing the patch.
I attempted to set $max_servers=1, but when I do, the virus
notification to postmaster hangs the system since there isn't an extra
amavis process to handle it. I was able to test with $max_servers=2.
Wasn't this why there was a fork in the original $notify_method? The
README.courier says that this is no longer needed as of
Courier-0.49.0. Is this true, or should I go back to the forked
$notify_method?
--
Bowie
-------------------------------------------------------
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/