- attached import.pl
Import/LDAP rename script
Issue #818
closed
A more advanced version of the script I sent in yesterday, this one monitors a directory for PST files being uploaded, opens them, rewrites the mail headers as per the script yesterday via LDAP/AD, imports them into piler and tidies up after itself.
It's designed to be run as the piler user which I have set up as sudo nopasswd to use chown/chmod as my piler box is pretty well defended from the outside world and uses 2 factor on ssh but your preffered method of doing this can be edited on the system calls on lines 27-29.
Comments (2)
-
reporter -
repo owner - changed status to closed
Added to contrib section
- Log in to comment