Re: [Mimedefang] stream_by_recipient beginner

2009-09-29 Thread Bernd Petrovitsch
On Die, 2009-09-29 at 16:09 -0500, Cliff Hayes wrote: > How does using stream_by_recipient compare with using filter_recipient? If there is more than 1 recipient, stream_by_recipient() plain simply resubmits that mail for each recipient separately (via `sendmail` - IIRC you can find that function

Re: [Mimedefang] stream_by_recipient beginner

2009-09-29 Thread Kris Deugau
Cliff Hayes wrote: How does using stream_by_recipient compare with using filter_recipient? They aren't really related. filter_recipient allows you to tell sendmail about valid recipients by methods it can't use natively (or which might be painful to set up); stream_by_recipient allows you t

Re: [Mimedefang] stream_by_recipient beginner

2009-09-29 Thread Cliff Hayes
How does using stream_by_recipient compare with using filter_recipient? -Original Message- From: mimedefang-boun...@lists.roaringpenguin.com [mailto:mimedefang-boun...@lists.roaringpenguin.com]on Behalf Of David F. Skoll Sent: Tuesday, September 29, 2009 3:27 PM To: mimedefang@lists.roarin

Re: [Mimedefang] stream_by_recipient beginner

2009-09-29 Thread David F. Skoll
Cliff Hayes wrote: > The doc describes what stream_by_recipient is for and > where to put it but not how to use it. There's more info in the docs for stream_by_domain. That info may clarify how stream_by_recipient works. Regards, David. ___ NOTE: If

Re: [Mimedefang] stream_by_recipient beginner

2009-09-29 Thread Cliff Hayes
Yes but I didn't do anything yet. I'm trying to figure out how to use stream_by_recipient to allow users to build a custom whitelist. All I did was add the stream_by_recipient. I added no extra code to cause the message to be discarded. Am I supposed to move the spam checking code from filter_e

Re: [Mimedefang] stream_by_recipient beginner

2009-09-29 Thread Bernd Petrovitsch
On Die, 2009-09-29 at 13:33 -0500, Cliff Hayes wrote: > Hello, > > I am attempting to use stream_by_recipient. > > I followed the instructions in the man page and added the following: > > sub filter_begin { > if (stream_by_recipient()) { > return; > } > ... > > Now I get this in the maillo

Re: [Mimedefang] easy stream_by_recipient question

2009-09-29 Thread Michiel Brandenburg
Jason Bertoch wrote: When stream_by_recipient is in use, is the message copied for each recipient before or after all the spam testing is done? I believe this is done prior to spam testing as each user may have different preferences. This is indeed the reason for sending the each recipient of

[Mimedefang] stream_by_recipient beginner

2009-09-29 Thread Cliff Hayes
Hello, I am attempting to use stream_by_recipient. I followed the instructions in the man page and added the following: sub filter_begin { if (stream_by_recipient()) { return; } ... Now I get this in the maillog: Sep 29 10:35:35 sadev mimedefang.pl[11193]: n8TFZZYj011357: filter_begin set

Re: [Mimedefang] easy stream_by_recipient question

2009-09-29 Thread David F. Skoll
Cliff Hayes wrote: > When stream_by_recipient is in use, is the message copied for each recipient > before or after all the spam testing is done? Before. Regards, David. ___ NOTE: If there is a disclaimer or other legal boilerplate in the above messag

Re: [Mimedefang] easy stream_by_recipient question

2009-09-29 Thread Jason Bertoch
> -Original Message- > From: mimedefang-boun...@lists.roaringpenguin.com [mailto:mimedefang- > boun...@lists.roaringpenguin.com] On Behalf Of Cliff Hayes > Sent: Tuesday, September 29, 2009 11:00 AM > To: mimedefang@lists.roaringpenguin.com > Subject: [Mimedefang] easy stream_by_recipient q

[Mimedefang] easy stream_by_recipient question

2009-09-29 Thread Cliff Hayes
Hello, I searched for an answer first in docs and forums. When stream_by_recipient is in use, is the message copied for each recipient before or after all the spam testing is done? If before, then I can understand the increased load as the message has to be tested over and over again for each re