I agree that it would be best to leave the data intact for the repository. I would looking for something that occurred after the checkin. I was hoping that there would be a separate RANCID email script that could be modified to strip out the IPs after the data had been diff'd and added to the repository. This would only alter the information that is inserted into the email and not the data itself. If anyone has a similar type script that they are using for other purposes that would give me an idea of how to start that would be greatly appreciated, otherwise I will write a Perl script that will do this. Thanks for the replies so far.
-----Original Message-----
From: heasley [mailto:***@shrubbery.net]
Sent: Tuesday, November 27, 2012 12:43 PM
To: Tyler J. Wagner
Cc: Hinote, Willie Scott. (MSFC-IS40)[NICS]; rancid-***@shrubbery.net
Subject: Re: [rancid] is it possible to strip IPs from email notifications
Post by Tyler J. WagnerI think it would be easier to pass the outbound emails to a perl
script, or to procmail, which sends it to a perl script.
indeed, this is the way to do this, or with double aliases (rancid-group alias through a script that forwards to some other alias for the recipients). it keeps the change out of the rancid code and it doesnt remove the info from the config repository itself.