Matthias Haeker schreef:
i call a recipe "black.rc" from /etc/procamilrc
ITYM: /etc/procmailrc
Why have you chosen to use that one (the central one) and not a user's
one?
The /etc/procmailrc is for central stuff, not for user stuff.
The $HOME/.procmailrc is for user stuff.
:0:
*$ B ?? (^|$WS)\
[^$WS][$WS]\
[^$WS][$WS]\
[^$WS][$WS]\
[^$WS][$WS]\
[^$WS][$WS]\
([^$WS]|[[^$WS][$WS][^$WS]]+|$WS|^)
/var/mail/dirt
should do this, or ?
i tried it and the log looks good to me
You have some very broken stuff in there.
Please first read about what the '[' is for
and don't stop reading there.
If I replace the wrong outer [] by (), you get this:
([^$WS]|([^$WS][$WS][^$WS])+|$WS|^)
but that is equal to
([^$WS]|$WS|^)
which is equal to
([^ ]| |^)
which looks for any character but a blank, or a sequence of SPC-TAB, or
end-of-line.
So that is no good at all.
So what you probably are looking for, is
MAILDIR = "$HOME/mail"
:0 B:
*$ $s$S$b$S$b$S$b$S$b$S$b$S$s
dirt
which looks for a group of 6 detached letters, anywhere in any line of
the body.
--
Groet, Ruud
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail