Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

OT:? Searching for Mail Adress and Copy Mail File to location?

by matze77 (Friar)
on Jul 22, 2013 at 10:39 UTC ( #1045622=perlquestion: print w/ replies, xml ) Need Help??
matze77 has asked for the wisdom of the Perl Monks concerning the following question:

Problem:

Mails from a single user have been deleted accidently (Date July 2013)
My Possible Solution:
? Copy all Mails from Mail Archive DVDs (.eml files) from July to new location (currently in progress) and searchin in files for username@domain.tld and copy those files to a new directory? Something like:

grep directory for username.name@domain.tld | export filename to copy +command| copy filenam to /maildir2

etc. Any help with possible commandline? (I am on windows with strawberry perl but could copy the files to a linux server if its easier ...)
Thanks
MH

Comment on OT:? Searching for Mail Adress and Copy Mail File to location?
Download Code
Re: OT:? Searching for Mail Adress and Copy Mail File to location?
by Anonymous Monk on Jul 22, 2013 at 10:42 UTC
      Thanks.

      Seems like the cpan module does not install any ideas?

      cpan> install Mail::Box::Manager Running install for module 'Mail::Box::Manager' Running make for M/MA/MARKOV/Mail-Box-2.108.tar.gz Has already been unwrapped into directory C:\strawberry\cpan\build\M +ail-Box-2. 108-zj2Fea ---- Unsatisfied dependencies detected during ---- ---- MARKOV/Mail-Box-2.108.tar.gz ---- MailTools [requires] Running make test Delayed until after prerequisites Running make install make test had returned bad status, won't install without force Delayed until after prerequisites Running install for module 'MailTools' The module MailTools isn't available on CPAN. Either the module has not yet been uploaded to CPAN, or it is temporary unavailable. Please contact the author to find out more about the status. Try 'i MailTools'. Running make for M/MA/MARKOV/Mail-Box-2.108.tar.gz Has already been unwrapped into directory C:\strawberry\cpan\build\M +ail-Box-2. 108-zj2Fea MARKOV/Mail-Box-2.108.tar.gz Can't use string ("") as a HASH ref while "strict refs" in use at C: +\strawberr y\perl\lib/CPAN/Distribution.pm line 2719. Running make test C:\strawberry\perl\bin\perl.exe "-Iblib\lib" "-Iblib\arch" test.pl * * Testing MailBox * Tests are disabled, because you said so when the Makefile was create +d. * remove the file "skiptests" if you want to run them and/or clear * environment variable MAILBOX_RUN_TESTS * MARKOV/Mail-Box-2.108.tar.gz Tests succeeded but one dependency not OK (MailTools) MARKOV/Mail-Box-2.108.tar.gz [dependencies] -- NA Running make install make test had returned bad status, won't install without force Stopping: 'install' failed for 'M/MA/MARKOV/Mail-Box-2.108.tar.gz'. Failed during this command: MARKOV/Mail-Box-2.108.tar.gz : make_test NO one depen +dency not OK (MailTools)
      Thanks
      MH

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1045622]
Approved by Happy-the-monk
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (12)
As of 2014-09-02 07:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (20 votes), past polls