To change the default locale (C) so that notary messages (text messages sent by the IMTA to an email sender indicating delivery or non-delivery status of a sent message) appear in a different character set, you will need to create a separate locale directory under the IMTA configuration directory and edit imta_tailor file such that the IMTA_LANG points to the new locale directory.
|
To Change the Notary Message Locale |
For example, if you want the notary messages to appear in Japanese, do the following:
| 1. | Create a directory for the Japanese locale in /etc/opt/SUNWmail/imta/locale: |
| % mkdir /etc/opt/SUNWmail/imta/locale/ja |
| 2. | Create a directory under the ja directory to hold the messages: |
| % mkdir /etc/opt/SUNWmail/imta/locale/ja/LC_MESSAGES |
| 3. | Copy the nine message files from the /etc/opt/SUNWmail/imta/locale/C/LC_MESSSAGES (default) directory into the /etc/opt/SUNWmail/imta/locale/ja/LC_MESSAGES directory. |
| The files are: |
| return_bounced.txt return_delivered.txt return_prefix.txt return_deferred.txt return_failed.txt return_suffix.txt return_delayed.txt return_forwarded.txt return_timedout.txt |
| 4. | Translate the message text in the files into the Japanese character set. |
| You may also wish to provide the message text in English as well as any other local languages for senders who do not speak Japanese. |
| 5. | Edit the tailor file (/etc/opt/SUNWmail/imta/imta_tailor). |
| Change the line: |
| IMTA_LANG=/etc/opt/SUNWmail/imta/locale/C/LC_MESSAGES |
| to |
| IMTA_LANG=/etc/opt/SUNWmail/imta/locale/ja/LC_MESSAGES |
| 6. | Restart the IMTA. |