Re: [AMaViS-user] Need to "double-quarantine" spam - should I use a before_send hook?

2011-02-10 Thread Mark Martinec
> Sorry for the incompatibility (there was a compatibility measure > in 2.7.0 up till pre7, but I dropped it in pre8 - I guess I should > put it back). The following patch to 2.7.0-pre14 puts that compatibility measure back, so the first $conn parameter is optional (is discarded if it exists): --

Re: [AMaViS-user] Need to "double-quarantine" spam - should I use a before_send hook?

2011-02-10 Thread Mark Martinec
Tim, > We are going to cut over from one quarantine method to another, so for > a little while, I need to simultaneously quarantine spam in two different > ways. > > Right now, I'm forwarding all spam to a single mailbox via smtp. > > I need to add sql quarantine as well. > > I've got the sql q

Re: [AMaViS-user] Need to "double-quarantine" spam - should I use a before_send hook?

2011-02-03 Thread Tom
Sorry to reply to my own email...but I've been working on this, and I think I have something that should work...but I'm getting an error in amavisd-new I'm hacking around on amavisd-new 2.7.0pre9. I've got a before send hook like this: sub before_send { my($self,$conn,$msginfo) = @_; do_log(

Re: [AMaViS-user] Need to "double-quarantine" spam - should I use a before_send hook?

2011-02-02 Thread Michael Scheidell
On 2/2/11 8:28 PM, Tim Knight wrote: > We are going to cut over from one quarantine method to another, so for a > little while, I need to simultaneously quarantine spam in two different ways. > > Right now, I'm forwarding all spam to a single mailbox via smtp. > > I need to add sql quarantine as w

[AMaViS-user] Need to "double-quarantine" spam - should I use a before_send hook?

2011-02-02 Thread Tim Knight
We are going to cut over from one quarantine method to another, so for a little while, I need to simultaneously quarantine spam in two different ways. Right now, I'm forwarding all spam to a single mailbox via smtp. I need to add sql quarantine as well. I've got the sql quarantining working in