procmail
[Top] [All Lists]

Save files in different folders

1996-07-26 13:47:07
Here is what I wanted to do:

We have a large breed of RS/6000s and would like to keep the OS configuration 
of all these servers on one main server.  In order to do that, a shell program 
will kick off everyday, which will compile a report of a respective server to a 
file and will mail this config file to the main server.  Here is where procmail 
come into action. The main server, called Jupiter, will have procmail running 
under a dummy account.  The procmail filter will have to determine from which 
server Mail has arrived and depending upon the name of the server, copy the 
body of the mail, which is actually the configuration of that server, to that 
server directory.  

The directory structure on Jupiter will be 
/usr/local/config/<server_name>/<server_name>.config

Naveed.

<Prev in Thread] Current Thread [Next in Thread>