Martin Gregorie a écrit :
> On Tue, 2008-10-21 at 20:01 +0200, mouss wrote:
>> Why do you guys put a '.*' there? This would also match
>>
> Fair cop, guv, on both counts.
>
> I spotted that '[.*]' didn't do what the OP wanted and didn't look any
> further. Obviously,
> ^X-Spam-Status:[ \t]
On Tue, 2008-10-21 at 20:01 +0200, mouss wrote:
> Why do you guys put a '.*' there? This would also match
>
Fair cop, guv, on both counts.
I spotted that '[.*]' didn't do what the OP wanted and didn't look any
further. Obviously,
^X-Spam-Status:[ \t]{1,40}(Yes|YES)
is better than my o
Why not use procmail or other similar tool?
mathiasadsl wrote:
Hi all,
I'm currently running a postfix server and spamassassin under Fedora Core 8.
Everyhting is OK but i'd like to redirect tagged [SPAM] mails to a mailbox.
I did the following:
#Edit /etc/postfix/main.cf
header_checks = regex
Martin Gregorie a écrit :
> On Tue, 2008-10-21 at 07:05 -0700, mathiasadsl wrote:
>
>> OK, i've just tried your new regular expression but it doesnt work better.
>> Nothing happened. The email is still tagged as [SPAM] and is delivered to
>> user.
>>
> That's odd. I've just run the following:
>
>
Mariusz Kruk a écrit :
> On wto, 2008-10-21 at 05:38 -0700, mathiasadsl wrote:
>> Ok, it's getting better now but all my emails are forwared to
>> [EMAIL PROTECTED]
>> Even those which are not tagged as [SPAM]
>> I guess i have some troubles with the regular expression.
>> Can you help me in the s
On Tue, 2008-10-21 at 07:05 -0700, mathiasadsl wrote:
> OK, i've just tried your new regular expression but it doesnt work better.
> Nothing happened. The email is still tagged as [SPAM] and is delivered to
> user.
>
That's odd. I've just run the following:
[EMAIL PROTECTED] ~]$ grep '^X-Spam-St
Mathiasadsl wrote on Tue, 21 Oct 2008 07:05:04 -0700 (PDT):
> It sounds easy but nothing works.
It all depends how and when your SA checks are done. If you are checking
in the local postfix phase (which will be the case if you are using
procmail - and you will want to use procmail for this redi
On wto, 2008-10-21 at 14:49 +0100, Martin Gregorie wrote:
> > > Ok, it's getting better now but all my emails are forwared to
> > > [EMAIL PROTECTED]
> > > Even those which are not tagged as [SPAM]
> > > I guess i have some troubles with the regular expression.
> > > Can you help me in the syntax
Martin Gregorie-2 wrote:
>
> On Tue, 2008-10-21 at 14:58 +0200, Mariusz Kruk wrote:
>> On wto, 2008-10-21 at 05:38 -0700, mathiasadsl wrote:
>> > Ok, it's getting better now but all my emails are forwared to
>> > [EMAIL PROTECTED]
>> > Even those which are not tagged as [SPAM]
>> > I guess i h
On wto, 2008-10-21 at 06:39 -0700, mathiasadsl wrote:
> hi Marius,
>
> I've check the headers of [SPAM] mails: There's X-Spam-Status: Yes.
OK. So the SA seems to be working.
> I'm sorry but i'm not familiar with regular express:
There is quite a lot of information out there about standard regex
On Tue, 2008-10-21 at 14:58 +0200, Mariusz Kruk wrote:
> On wto, 2008-10-21 at 05:38 -0700, mathiasadsl wrote:
> > Ok, it's getting better now but all my emails are forwared to
> > [EMAIL PROTECTED]
> > Even those which are not tagged as [SPAM]
> > I guess i have some troubles with the regular exp
hi Marius,
I've check the headers of [SPAM] mails: There's X-Spam-Status: Yes.
I'm sorry but i'm not familiar with regular express:
#/^Subject: [SPAM]*/REDIRECT [EMAIL PROTECTED]
# /^X-Spam-Flag: YES/ REDIRECT [EMAIL PROTECTED]
#/^X-Spam-Status:[.*](Yes|YES)/ REDIRECT [EMAIL PROTECTED]
Y
On Tue, 21 Oct 2008, mathiasadsl wrote:
Hi all,
I'm currently running a postfix server and spamassassin under Fedora Core 8.
Everyhting is OK but i'd like to redirect tagged [SPAM] mails to a mailbox.
I did the following:
#Edit /etc/postfix/main.cf
header_checks = regexp:/etc/postfix/header_c
First of all, please don't toppost. It's very annoying.
On wto, 2008-10-21 at 06:04 -0700, mathiasadsl wrote:
> I just tried your last syntax:
> /^X-Spam-Status:[.*](Yes|YES)/ REDIRECT [EMAIL PROTECTED]
It's not my syntax. I pasted it from your mail.
> It doesnt work, all mails are normally deli
I just tried your last syntax:
/^X-Spam-Status:[.*](Yes|YES)/ REDIRECT [EMAIL PROTECTED]
It doesnt work, all mails are normally delivered.
What can I do? Do you need more informations? This is my spamassassin conf:
required_hits 5
report_safe 0
rewrite_header subject [SPAM]
report_header 1
Ma
On wto, 2008-10-21 at 05:38 -0700, mathiasadsl wrote:
> Ok, it's getting better now but all my emails are forwared to
> [EMAIL PROTECTED]
> Even those which are not tagged as [SPAM]
> I guess i have some troubles with the regular expression.
> Can you help me in the syntax issue?
Well... strange.
Ok, it's getting better now but all my emails are forwared to
[EMAIL PROTECTED]
Even those which are not tagged as [SPAM]
I guess i have some troubles with the regular expression.
Can you help me in the syntax issue?
Mariusz Kruk wrote:
>
> On wto, 2008-10-21 at 04:58 -0700, mathiasadsl wrot
On wto, 2008-10-21 at 04:58 -0700, mathiasadsl wrote:
> Hi all,
>
> I'm currently running a postfix server and spamassassin under Fedora Core 8.
> Everyhting is OK but i'd like to redirect tagged [SPAM] mails to a mailbox.
>
> I did the following:
>
> #Edit /etc/postfix/main.cf
> header_checks =
18 matches
Mail list logo