Ruud H.G. van Tol schrieb:
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.
i am the Admin of some Domains and i control >100 000 Emails a Year.
the Servers for each Domain are Goldvision.com Microrack Dedicated
Root Server and i extended the pre installed Procmail based Antispam
solution with own recipes.
What in this case is only possible if you call the recipes from
/etc/procmailrc
actually the Servers have a Web Interface Procmail Filtersystem but with
limited possibilitys for the action line of the recipe
Probably you are right if i would use a standard *nix sendmail procmail
mailsystem like on my privat linux and freebsd boxes i should use
$HOME/.procmailrc
Behind this Servers are other local Server with Microsoft OS based TOBIT
DAVID unified Messaging systems where the users controling there
personal SPAM over simple techniks, mostly false positivs back to there
inbox rules.
: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.
6.7 on http://pm-doc.sourceforge.net/pm-tips.html
BTW
you may not belive it but learning and reading about Procmail, PHP,
MySQL, HTML, VBS and of course all you need to know for Microsoft Server
and Workstation Operating systems. beside to build Networks and not to
forget the daily trouble solving friendly helpdesk for about 50 User
in 6 Companys is what i do all day.
If i find good sources for Information i am more than willing to learn.
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.
oh oh,
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.
Yes
the above example from you is what was looking for
thank you Ruud for your detailed input.
Matthias
____________________________________________________________
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