EMIL(8)
π emil(8) β the conversion filter for Internet messages π
okay bestie, so this is the manual page for emil from the System Manager's Manual, and honestly? it's giving "quietly iconic workhorse" β¨ it converts encodings and character sets and formats, and it does NOT get enough credit. let me walk you through it π«Ά
πΈ NAME πΈ
emil β a conversion filter for Internet messages. that's literally her whole job, and she ate π
β¨ SYNOPSIS β¨
emil [ -s Sender ] [ -r Recipient ] [ -x Recipient_host ] [ -l
Syslog_level ] [ -h Headerlog_level ] [ -f Syslog_facility ] [ -i
Input_file ] [ -o Output_file ] [ -m Mailer ] [ -e Configuration_file ]
[ -c Charsets_file ] [ -A Recipient_applefile_encoding ] [ -B
Recipient_bin_encoding ] [ -C Recipient_charset ] [ -F
Recipient_format ] [ -H Recipient_header_encoding ] [ -S
Sender_charset ] [ -T Recipient_text_encoding ] [ -G Target_Group ]
[ -n ] [ -p ] [ -g ] [ -d ] [ -u ] [ -v ]
look at all those flags. she's got range π
π¦ DESCRIPTION π¦
so the message conversion filter emil is here to convert the encoding of enclosures and the character set of an Internet message, and also to convert between the three message formats MIME, SUN Mailtool and plain old style RFC822. she loads the message and applies the changes in encoding and formatting in core. there is no spooling. lowkey efficient of her honestly β¨
emil can be applied by sendmail, if you specify her as a delviery agent (yes, that's how the page spells it, don't come for me π), and she can also invoke sendmail or other programs for it's output. when you use her like that, emil does not close the connection with the calling sendmail until it returns an EX_OK from the called program. that's a safety measure, bestie β she's not letting go until she gets the good answer π«Ά
emil can also be used by a mail client program, or as a prefix to a delivery agent like binmail, when acting like a regular filter. usage is mainly limited by your imagination π (their words!! and honestly? slay.)
conversion is controlled either by the combination of Sender, Recipient and Recipient_host as specified in the configuration file /usr/lib64/emil.cf, by the Target_Group, or as specified by the command line options. pick your fighter π
π₯ OPTIONS π₯
options may appear in any order. no rules, just vibes β¨
-sSender β sender's mail address.-rRecipient β recipient's mail address.-xRecipient_host β name of the recipient host or relay.-fSyslog_facility β pick one of:mβLOG_MAIL,dβLOG_DAEMON,0-7βLOG_LOCAL[0-7]. choose your facility babes π-lSyslog_level β log level is set by specifying a number1-4. log level becomes:1βLOG_ERR,2βLOG_NOTICE,3βLOG_INFO,4and more βLOG_DEBUG. chaos mode starts at 4 tbh π-mMailer β send output to the specified Mailer, where Mailer corresponds to a mailer definition in the configuration fileemil.cf.-iInput_file β path to file for use as input. defaults to standard input.-oOutput_file β path to file for use as output. defaults to standard output.-eConfiguration_file β path to file for use as configuration file. defaults to/usr/lib64/emil.cf.-cCharsets_file β path to file for use as charsets file. defaults to/usr/lib64/charsets.cpl.
β οΈ beware, when applying any of the next five options, there is no recipient look up in the configuration file. it's giving "you're on your own bestie" π
-ARecipient_applefile_encoding β recipient applefile encoding. one ofB(inhex),(apple)d(ouble)or(apple)s(ingle). this defaults to nothing, so no applefile conversion if omitted β unless it got gotten from the configuration file π-BRecipient_binary_encoding β recipient binary encoding. one ofBAse64,BInhexorUuencode. this defaults to nothing, so no binary encoding conversion if omitted β unless it got gotten from the configuration file π-CRecipient_charset β recipient charset according to RFC1345.-FRecipient_format β recipient format. one ofMIME,MAILTOOL,RFC822orTRANSPARENT. defaults toRFC822.-HRecipient_header_encoding β recipient header encoding. one ofSe,7bit,8bit,BAse64orQuoted-printable. see alsoemil.cf(8).-TRecipient_text_encoding β recipient text encoding. one ofSe,7bit,8bit,BAse64,BInhex,Quoted-printableorUuencode. see alsoemil.cf(8).-GTarget_Group β use Target_Group to specify use of a conversion group, as declared inemil.cf. if Target_Group is specified,emilwill not try to resolve the conversion group using recipient, sender and recipient host. instead she performs a case sensitive match on the conversion groups as declared inemil.cf. see alsoemil.cf(8). case sensitive fr fr, don't test her π
β οΈ beware, when applying the Sender_charset option, there is no sender look up in the configuration file. again β solo mission, bestie π
-SSender_charset β sender charset according to RFC1345.-hHeaderlog_level β log in message header. this is for testing, not for production use. log level is specified by a number1-4. log level becomes:1βLOG_ERR,2βLOG_NOTICE,3βLOG_INFO,4and more βLOG_DEBUG. cute for debugging, terrible for real life π-pβ adds a pseudo route tosendmailwhen using the-foption. instead of callingsendmailwith the recipient's address, call with@EMIL:"recipient address". used whensendmailis used to callemil, to catch the visit toemilof the message π-uβ prepends a unix from line first in the message / keeps the unix from line if provided in the incoming message. if not specified, the unix from line will be removed / not prepended. she's either keeping it or she's not, no in-between π-gβ test configuration file. returns the matching group name based on the provided recipient, sender and recipient host. vibe check for your config β¨-vβ just prints version, then exits. short and sweet, we respect it πΈ-dβ enables debugging onstderr. using this will create voluminous output. like, VOLUMINOUS. you've been warned π-nβ set up an SMTP connection to the host, as specified by the Recipient_host, and send output on that connection. this makesemilact as an SMTP-client, and can be used as a replacement for thetcpmailer ofsendmail. main character energy fr π₯
π§ EXAMPLES π§
to use emil as a simple filter:
%cat message.in | emil [OPTIONS] > message.out
or
%emil [OPTIONS] -i message.in -o message.out
see the other documentation for further information π«Ά
π FILES π
/usr/lib64/emil.cfβ configuration file./usr/lib64/charsets.cplβ file containing the character set conversion tables.
π AUTHOR π
Martin Wendel (Martin.Wendel@its.uu.se) and Torbjorn Wictorin (Torbjorn.Wictorin@its.uu.se) β legends, honestly π
π SEE ALSO π
π BUGS π
None? (her words, not mine. iconic confidence. periodt π )
and that's the whole page, bestie!! source and version vibes are from the System Manager's Manual, dated 19 December 1994 β a whole vintage queen π go forth and convert those messages β¨π¦π
π¦ where this page comes from
- opensuse-leap 16.0: emil 2.1.0beta9-bp160.1.5 Β· GPL-2.0-or-later
- opensuse-leap 16.0: emil 2.1.0beta9-bp160.1.5 Β· GPL-2.0-or-later
- opensuse-leap 16.0: emil 2.1.0beta9-bp160.1.5 Β· GPL-2.0-or-later
- opensuse-leap 16.0: emil 2.1.0beta9-bp160.1.5 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms