TUTORIAL FOR EMIL VERSION 2.1Written by Martin Wendel, ITS, Uppsala university. Martin.Wendel@its.uu.se
COMMAND LINE ARGUMENTS
Address specification arguments:
The address specifications are used when you want to redirect output to a program such as /bin/mail or sendmail. The usage of these addresses is as arguments to the execv of the program. They are also used to lookup sender and recipient information such as format and encoding etc. Emil does not rewrite addresses, so beware the address format you use.
Target Group specification
The target group specification is used when you want Emil to act according to a conversion profile specified in emil.cf. The conversion profile should be specified in emil.cf using the group command (see the documentation of emil.cf).
Format, Encodings and Charsets
It is possible to explicitly specify the format, encoding or charset of the target message on the command line. If done, the lookup for this information in the configuration file is disabled. Therefore, make sure to apply a complete specification of the format and encoding features using these arguments, if one of them is omitted the value of that feature will be set to the default value.
The specification of the sender's charset will not override the charset specification of a MIME or Mailtool message. Therefore this is really only used when converting an old style RFC822 message.
Logging and Debug
Logging and debug is controlled using the above command line arguments.
It is possible to explicitly specify the path of the configuration or charsets files. If not specified, the default paths will be used.
Input/Output is controlled by command line arguments and this applies for the SMTP client and the redirect of output to arbitrary programs aswell. When using the builtin SMTP client, an SMTP connection to the recipient host (as specified by the command line arguments) will be opened. In the SMTP conversation, the specified sender and recipient addresses will be used. Therefore, make sure (when using this) that you have specified all three of these arguments.
It is possible the get information from Emil using the above flags. These arguments disables all other activities and should be used for testing purposes only. Emil will print the desired information and then exit.