Dear List,
Something that we would find great is the ability to run a script against
a queue and extract all IP into a flat file. Nothing fancy. We would
be stripping off the RT header ip / mail server ip, and be left with
origin ip which would assist us in some automation. Anyone have such
a script already written or know of a perl module that should be used to
do it?
Thanks…!
Dave Dennis wrote:
Dear List,
Something that we would find great is the ability to run a script against
a queue and extract all IP into a flat file. Nothing fancy. We would
be stripping off the RT header ip / mail server ip, and be left with
origin ip which would assist us in some automation. Anyone have such
a script already written or know of a perl module that should be used to
do it?
Nobody posted here. Wrote it just for fun, see attachment.
Tested with 3.0.x and 3.2.x
You may change cb_attachment output if you need.
Use it.
Regards,
Ruslan.
last_IP.pl (1.94 KB)