procmail
[Top] [All Lists]

Re: Filtering outputs from multiple machines.

2000-08-14 15:58:49
On Mon, 14 Aug 2000, Matt Dunford wrote:

Perhaps something along the lines of 

:0:
* ^From .*zenith
zenith

This isn't quite what I'm after... each project has a different name, so
I'd have to add a new recipe for each project, and I'd obviously like to
avoid that if I can.


or 

:0
* ^From .*\/zenith-..\d+
zenith-$MATCH

Again, not quite what I'm after... I need to match on the host name, and
then filter it off to a directory that's the same name as the host name,
but I want procmail to pull the hostname out and filter it, rather than
have me put a rule in for each server.


Untested (of course!)



-- 
Steven Harrison
Unix Systems Administrator
US West, Seattle

A Invalid argument, 0:1



_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail