7
lorentz
3y

Oh my god why is receiving email so fucking hard? I don't want spamassassin, I don't want antivirus, I don't want accounts or fail2ban or any of that bullshit, I just want all email that is sent to addresses under my server dumped in a database or folder so that I can digest them programmatically or display them in a GUI

Comments
  • 5
    Bwahahahhahahahhahhhahh

    I hope you know how much pain awaits you.

    Email is a completely broken system...

    Parsing emails - given how many fucked up clients exist - is really a nutjob.

    (Note: was for a support desk system, so I got emails from all over the world)
  • 2
    @IntrusionCM

    Que,
    Parsing emails is easily done with procmail. Takes 2 minutes.
  • 3
    @Linux

    We mean two different things...

    Afaik procmail is a MTA for serverside filtering (and dead since a long time?)

    I meant fully parsing _all_ incoming mail.

    And this can get quite funky if you need to store the content for later viewing.

    I don't think that a full library exists where you can e.g. give an IMAP address and get back nicely splitted emails in a queue...

    Splitted meaning: Text - Content, HTML - Content, Header fields by keyword and so on.

    And that's the part that sucks.

    From encoding issues to client misbehaviour to HTML karfuffle (looking at you Outlook...) to security issues (attachment bombs and other stuff)
Add Comment