ilmaisin / cupsmailprinter Goto Github PK
View Code? Open in Web Editor NEWThis is an upcoming email printer driver for CUPS.
License: GNU General Public License v2.0
This is an upcoming email printer driver for CUPS.
License: GNU General Public License v2.0
Following was told me in IRC:
16:00 -!- Irssi: Starting query in Freenode with nick omitted
16:00 <nick omitted> hi, are you working on cups-mailto? :)
16:01 <nick omitted> in its current state it's impossible to get it to work with os x el capitan and newer
16:02 <nick omitted> because they took away the sandbox: off option in cups-files.conf
16:03 <nick omitted> i'm not an os x user myself though, so it's a bit difficult to debug
The MTA seemingly cannot read the spool file on some systems, like Fedora, or as I have heard, OS X El Capitan and newer. That is because security measures like SELinux (in Fedora's case) and the sandboxing system in OS X/macOS.
Possible solution: take the input as STDIN instead of spool file.
Curretly this driver gets the to and from addresses from manually defined lpoptions mailfrom
and mailto
. This is however not a very good user experience. Starting from CUPS 1.3, it has been possible to have PPD files accept arbitary strings as configuration options, but the syntax is confusing to me.
Another option would be to have a separate configuration file like CUPS-PDF has, but that would again be inferior to the former option in what it comes to user experience.
On Fedora, SELinux is preventing esmtp from read access on the file /var/spool/cups/tmp/.esmtp_queue/
Possible fix: Use smtp instead of sendmail command.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.