Re: How to avoid filtering twice when having mail-groups

2007-06-04 Thread Kris Deugau
Manu wrote: > I'll pipe it into a new file and work with grep from this point on. > Works nice :) [snip shell] IIRC there's suitable syntax for a procmail recipe to do what you want (I don't think you need formail for anything other than adding a custom header; procmail can match content in heade

Re: How to avoid filtering twice when having mail-groups

2007-06-02 Thread Manu
Hello again, sorry for writing that often. :) > Perhaps you - or someone else - could help me with this: > formail reads from stdin. Okay, so I want to extract a header with -X. > But spamc also reads from stdin and stdin is empty after formail has read > the mail. So, how do I get a program to "

Re: How to avoid filtering twice when having mail-groups

2007-06-02 Thread Manu
Kris, it's me again, > I have no idea. I'm a sendmail+procmail guy. Perhaps you - or someone else - could help me with this: formail reads from stdin. Okay, so I want to extract a header with -X. But spamc also reads from stdin and stdin is empty after formail has read the mail. So, how do I

Re: How to avoid filtering twice when having mail-groups

2007-06-02 Thread Manu
Hi Kris, > Well, here's a starting point for procmail-based processing. Note that > I haven't checked this to actually be correct procmail syntax, or that > it's logically correct.I'm pretty sure it should work the way > you're looking for, however. Okay, I see. Thanks for this example. > M

Re: How to avoid filtering twice when having mail-groups

2007-06-01 Thread Kris Deugau
Manu wrote: > Great, that's what I want. > Currently my .qmail-Files look like this: > > | /opt/psa/bin/psa-spamc accept > | preline /usr/bin/procmail -m -o .procmailrc > > So I have to insert a line before the first line, right? I have no idea. I'm a sendmail+procmail guy. > Would you be so

Re: How to avoid filtering twice when having mail-groups

2007-06-01 Thread Manu
Kris Deugau wrote: > > I'm using SpamAssassin 3.0.2 and Qmail on a Debian Sarge Server. > > Administrative hosting panel is Plesk 8.1. > > Between qmail and Plesk, what you're looking for may not be possible > with the obvious exposed controls; you may need to manually dig into > configuration fil

Re: How to avoid filtering twice when having mail-groups

2007-06-01 Thread Kris Deugau
Manu wrote: > I'm using SpamAssassin 3.0.2 and Qmail on a Debian Sarge Server. > Administrative hosting panel is Plesk 8.1. Between qmail and Plesk, what you're looking for may not be possible with the obvious exposed controls; you may need to manually dig into configuration files to get the beh

Re: How to avoid filtering twice when having mail-groups

2007-06-01 Thread Matthias Haegele
Manu schrieb: Hi all, I'm using SpamAssassin 3.0.2 and Qmail on a Debian Sarge Server. Administrative hosting panel is Plesk 8.1. Imagine the following situation: [EMAIL PROTECTED] forwards to [EMAIL PROTECTED], [EMAIL PROTECTED],... Now if SpamAssassin checks [EMAIL PROTECTED] and each user