Brad Fitzpatrick (brad) wrote,
Brad Fitzpatrick


So if 80% of spam is from Windows Trojans, what about making an incoming mail filter that fingerprints the remote TCP stack and assigns massive spam points to mail from Windows?

Speaking of mail, LJ was sucking yesterday because of mail, and people in lj_dev seemed to all have a clue, but I still didn't. I really, really hate mail systems.

What I ended up doing was writing a daemon that's a mix of a pipelined HTTP server and QMTP and dumps messages into the MTA's outgoing mail queue with the sendmail interface. (actually use postfix) The protocol looks HTTP-like, with two headers: Content-Length (required) and optionally Envelope-Sender. Then the body is the mail to pipe to sendmail. The client can send as many mails as they want on the same connection.

Seems to kick ass. More rewarding since concept to realization was only a few hours. (the Danga::Socket base class makes network daemons pretty easy)

It's in cvs if you want it, but I imagine it's a lame fix and real mail admins could just fix their mail servers.
  • Post a new comment


    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.