2.5.4 Sample shell script for a mail filter application
JP1/AJS3 provides a sample shell script for a mail filter application that converts a character code. This shell script converts only the character code of the received email text; it does not decode MIME or other encoding.
The name of the file is /opt/jp1ajs2/tools/converter.
The character code conversion by this sample shell script varies according to the OS as follows:
-
When the OS is Solaris and Linux: JIS to EUC
-
When the OS is other than Solaris and Linux: JIS to Shift-JIS
Note that Solaris 11 does not support the sample shell script. If the OS is Solaris 11 and a mail filter application will be used, create a shell script that matches the character encoding used for the emails to be received and the character encoding being used by JP1/AJS3.