List Info

Thread: Where did this DSN come from?




Where did this DSN come from?
user name
2006-04-18 17:09:57
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-> = undef;
> +  $self-> = undef;
>    $self-> = 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
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/
Where did this DSN come from?
user name
2006-04-18 21:43:37
On 18/04/06 18:09, Bowie Bailey wrote:
> 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?

This was indeed the reason for the fork in $notify_method,
and the Courier
bug was fixed in 0.49.0.  Setting $max_servers to 1 works
fine for me; if
you still need it then that's bad news.  Can you first of
all check that you
don't have "local" in
/etc/courier/enablefiltering?

-- 
Martin Orr


-------------------------------------------------------
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
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )