On 2018-06-27 20:34, Anton Aylward wrote:
On 27/06/18 12:47 PM, Carlos E. R. wrote:
On Wednesday, 2018-06-27 at 12:32 -0400, Anton Aylward wrote:
On 27/06/18 11:41 AM, Carlos E. R. wrote:
Why should it? EML is a thunderbird invention, Alpine doesn't do it.
In which case the print dialogue of the mail user interface should offer a command that can act as the filter.
Ah, no, we are printing from the command line letting cups do the detection automatically, and it does so for many formats. I simply chanced on one that is not included.
See /usr/share/cups/mime/mime.types to find out the list.
I have. So how would YOU define a
text/email
I don't know. I would have to study the documentation. Notice that there is no such thing either in "/usr/share/misc/magic". However, eml is detected thus:
cer@Telcontar:~> file \[opensuse\]\ Cups\ compatibility.eml [opensuse] Cups compatibility.eml: SMTP mail, ASCII text, with CRLF line terminators cer@Telcontar:~>
The definition is this (/usr/share/misc/magic): #------------------------------------------------------------------------------ # $File: mail.news,v 1.22 2013/01/04 14:22:07 christos Exp $ # mail.news: file(1) magic for mail and news # # Unfortunately, saved netnews also has From line added in some news software. #0 string From mail text 0 string/t Relay-Version: old news text !:mime message/rfc822 0 string/t #!\ rnews batched news text !:mime message/rfc822 0 string/t N#!\ rnews mailed, batched news text !:mime message/rfc822 0 string/t Forward\ to mail forwarding text !:mime message/rfc822 0 string/t Pipe\ to mail piping text !:mime message/rfc822 0 string/tc delivered-to: SMTP mail text !:mime message/rfc822 0 string/tc return-path: SMTP mail text !:mime message/rfc822 0 string/t Path: news text !:mime message/news 0 string/t Xref: news text !:mime message/news 0 string/t From: news or mail text !:mime message/rfc822 0 string/t Article saved news text !:mime message/news 0 string/t BABYL Emacs RMAIL text 0 string/t Received: RFC 822 mail text !:mime message/rfc822 0 string/t MIME-Version: MIME entity text #0 string/t Content- MIME entity text So maybe that is useful if you want to add eml pretty printing to cups. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)