News for hackers. Stuff that matters.
Re:Salmon, a Python Mail Server by pecg on Tuesday August 28, 2018 @11:10AM (#17859373)
I can't understand the reasoning on putting everything behind HTTP these days. Personally, I think that if a project decides to go that route it's because poor design decisions. Separation of interests should exist in software solutions.
Re:Salmon, a Python Mail Server by nantes on Tuesday August 28, 2018 @11:17AM (#17859435)
Where does it say that it sits behind HTTP?

The only bit I see that talks about something similar is, "Salmon is designed to sit _behind a traditional mail server_ in the same way a web application sits behind Apache or Nginx", emphasis is mine.

Re:Salmon, a Python Mail Server by rubinelli on Tuesday August 28, 2018 @11:34AM (#17859608)
It would be nice if the documentation had some examples of how to do that, though. All it says is this:

> Salmon is best deployed behind another mailserver such as Postfix or Sendmail - much in the same way as you host a WSGI application behind Apache or Nginx.

Re:Salmon, a Python Mail Server by icebraining on Tuesday August 28, 2018 @11:57AM (#17859805)
If you search for "[mailserver] lmtp forward", it's not hard to find. For example, here's a configuration for Exim: https://wiki.dovecot.org/LMTP/Exim#Using_LMTP_over_TCP_Socke...
Re:Salmon, a Python Mail Server by dec0dedab0de on Tuesday August 28, 2018 @12:46PM (#17860367)
I can't understand the reasoning on putting everything behind HTTP these days. Personally, I think that if a project decides to go that route it's because poor design decisions. Separation of interests should exist in software solutions.

It is a combination of developers wanting to have cross platform end users, while also working around restrictions in place on corporate networks. It's been downhill since hotmail.

Re:Salmon, a Python Mail Server by adiusmus on Tuesday August 28, 2018 @11:57AM (#17859798)
Lots of tools for interacting with services via http. Curl, urllib, SOAP etc etc.

Node.js / Python both have very good support for http. Soap etc, run a web server for quick file serving from command line if you want. Dgraoh and other tools can easily be interfaced via http.

Why not leverage all that?