Coder Social home page Coder Social logo

noelmartinon / mboxzilla Goto Github PK

View Code? Open in Web Editor NEW
20.0 1.0 3.0 12.57 MB

Export / upload emails from Thunderbird mbox files to single eml files

License: BSD 2-Clause "Simplified" License

C++ 98.72% PHP 0.60% NSIS 0.18% Shell 0.13% C 0.38%
mbox thunderbird-mbox-files

mboxzilla's People

Contributors

jmkeyes avatar noelmartinon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

mboxzilla's Issues

Segmentation Fault

I came across the following issue when dealing with a large mbox file and attempting to parse it before trying to -e extract and -s split. This results in about 700 of the 2000 eml files being outputted. The mbox file I am using are known phishing emails and include a lot of "fun" encoding, could this be the issue ?

( how could i produce more logging to review this ?)

mboxzilla version 1.1.0
Copyright (C) 2017-2019 Noel Martinon. All rights reserved.

2019-07-01 14:41:01,766 INFO STARTING mboxzilla
2019-07-01 14:41:01,766 INFO INPUT FILE is "emails.mbox"
2019-07-01 14:41:01,766 INFO OUTPUT DIRECTORY is "emlfiles/"
2019-07-01 14:41:01,767 INFO Start parsing file "emails.mbox"
Segmentation fault=                                ]  36% /
```

How to correctly solve dependencies zlib, ssh2, ssl, curl

Having trouble to build this.
Could you give some hint, how to solve the installation of deps and is there any reason why there is no deps folder directly in this repro ?

E.g. curl:

  1. Error
    mboxzilla.hpp:40:10: fatal error: curl/curl.h: Datei oder Verzeichnis nicht gefunden
    40 | #include <curl/curl.h>
    | ^~~~~~~~~~~~~
  2. sudo apt install curl
  3. curl (IS WORKING)
    curl: try 'curl --help' or 'curl --manual' for more information
  4. Error still exists
    mboxzilla.hpp:40:10: fatal error: curl/curl.h: Datei oder Verzeichnis nicht gefunden
    40 | #include <curl/curl.h>
    | ^~~~~~~~~~~~~

Thx in advance

"From " line stripped, verbosity not working

I just want to start out by saying this is an awesome project, pretty much executes flawlessly. Using it to split my mbox files right now and it's working great.

Two things I noticed:

From being stripped

The "From " line is getting stripped from the export. To keep the integrity of the originally export emails I think this line should be copied over to the file output. Some email clients provide hashes of an entire message's source and this would make the hashes mismatch.

This would only be an issue to some in a specific use case, but might be nice to implement as an option anyways

Verbosity not initialized with logging library

  • The verbosity option doesn't seem to be working, I've tried the exact format provided in the examples -v 2 from here and -v 3 for INFO level but there's no dice on the outputting of extra information

Possible to compile for Mac?

Any advice appreciated. It obviously won't build when simply using that command for Linux -- but it must presumably be possible to make it for OSX. Thanks if you have an idea.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.