Matt-- If you want to copy the new mail files to a directory on your own box, what about a program like ftpmirror or ftpgrab?
I haven't used either one, mind, so I don't know if you can set them to operate on some sort of timed basis; but you could most likely do it as a cron job if they don't have this facility built in. David --- In [email protected], matt1027 <box1...@...> wrote: > > Hi guys, > > I'm trying to come up with a way to monitor a directory in my account > at my web host and copy any files that get created there into another > directory so I can investigate them later. > > Here is the reason. I have a Cron job running that notifies me of > any changes in the files or directories in my account. I keep seeing > that one of the mail accounts keeps having mail files come through it > but that mail is never downloaded by my email program and it is never > there when I go there and check it with cPanel. > > My web site has been hacked a couple of times and I want to find out > what is going on with this mail account. > > I have Linux shared web hosting and I don't think I have shell access. > > I have thought about doing a cron job something like this. > > > watch cp -r /mail/mydomain.com/username/* /mail/backup_directory/ > > > But I don't know how to turn it off after a few hours. And it would > be better not to copy the same file every 2 seconds. Plus there are > probably other issues I'm not even aware of. > > Any thoughts, ideas or suggestions would be appreciated. > > Thanks, > Matt > ------------------------------------ To unsubscribe from this list, please email [email protected] & you will be removed.Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/LINUX_Newbies/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/LINUX_Newbies/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
