Sun Java System Messaging Server 6 2005Q4 管理指南

額外 sms_option 檔案設定

sms_option 檔案的額外設定為:

! So that we don’t add text to the body of the SMS message
FROM_FORMAT=
SUBJECT_FORMAT=
CONTENT_PREFIX=

如果沒有這些設定,則包含:

user@domain.com (Sample subject) Sample text

的電子郵件將會轉換成 SMS 郵件:

From:user@domain.com Subject:Sample Subject Msg:Sample text

反之將不會使用行動電話至電子郵件程式碼預期的格式,而是:

user@domain.com (Sample subject) Sample text

因此,需要 (對於迴路測試) 為 FROM_FORMATSUBJECT_FORMAT 以及 CONTENT_PREFIX 選項指定空白字串。

執行回返測試

傳送定址至 000@sms.domain.com 的測試電子郵件,例如

user@domain.com (Test message) This is a test message which should loop back

結果是這封電子郵件應路由回電子郵件收件者 user@domain.com。請確定已將 sms.domain.com 增加到您的 DNS 或主機表中,以進行測試。