さまざまなタイプの電子メール サーバーでの EmailRelay の設定

IBM® Rational® ClearQuest® EmailRelay は、構成ファイルを使用して SMTP 電子メール サーバーをサポートします。サーバーに追加のパラメータが必要な場合は、<properties> 設定を使用してそれらのパラメータを指定します。

以下の例は、各種の SMTP メール サーバー用に EmailRelay を設定する方法を示します。以下の例をガイドラインとして利用して開始します。

GMail SMTP 電子メール サーバー

以下のパラメータを使用して、GMail SMTP 電子メール サーバー用に ClearQuest EmailRelay を設定します。 また、SSL ハンドシェークの失敗を防ぐための説明については、『https://www-304.ibm.com/support/docview.wss?uid=swg21444700How to setup messaging with Gmail SMTP』を参照してください。
cqperl cqemailrelay.pl -dbset EmailPlus -userdb SAMPL -username admin -password "" -serverurl https:// cqweb.server.com/cqweb/ -outputpath C:\EmailRelay -smtpserver smtp.gmail.com -smtpport 465 -smtpuser you@gmail.com -smtppassword secret -mode postoffice

Hotmail SMTP 電子メール サーバー

以下のパラメータを使用して、Hotmail SMTP 電子メール サーバー用に ClearQuest EmailRelay を設定します。
cqperl cqemailrelay.pl -dbset EmailPlus -userdb SAMPL -username admin -password "" -serverurl https:// cqweb.server.com/cqweb/ -outputpath C:\EmailRelay -smtpserver smtp.live.com -smtpport 587 -smtpuser you@hotmail.com -smtppassword secret -mode direct -usessl no
注: 前の例で -usessl パラメータが no に設定された方法に着目してください。 Hotmail SMTP 電子メール サーバーでは SSL が使用されないため、この方法が要求されます。このサーバーでは TLS が使用されます。さらに、cqemailrelay_cfg.xml ファイルにパラメータ "<property key="mail.smtp.starttls.enable" val="true"/>" も追加する必要があります。

また、Hotmail アカウントには、EmailRelay サーバーを実行中のコンピュータでブラウザを使用してログインする必要があります。こうしないと、[550 5.3.4 要求されたアクションは実行されません。メッセージの送信を継続するには、自分のアカウントにサインインしてください。(Requested action not taken; To continue sending messages, please sign in to your account.)] というエラーが表示されます。

IBM Lotus® Domino® SMTP 電子メール サーバー

次の例では、IBM Lotus Domino サーバーで SSL を指定して SMTPS を有効にしたこと、および IBM LotusDomino がポートが 483 で listen することが想定されます。
cqperl cqemailrelay.pl -dbset EmailPlus -userdb SAMPL -username admin -password "" -serverurl https:// cqweb.server.com/cqweb/ -outputpath C:\EmailRelay -smtpserver your_domino.com -smtpport 483 -smtpuser you@your_domino.com -smtppassword secret -mode direct -usessl yes

Microsoft Exchange Server の SMTP 電子メール サーバー

次の例では、Microsoft Exchange Server で TLS を指定して SMTP を有効にしたこと、および Microsoft Exchange Server がポート 465 で listen することが想定されます。

cqperl cqemailrelay.pl -dbset EmailPlus -userdb SAMPL -username admin -password "" -serverurl https:// cqweb.server.com/cqweb/ -outputpath C:\EmailRelay -smtpserver your_exchange.com -smtpport 465 -smtpuser you@your_exchange.com -smtppassword secret -mode direct -usessl no 
注: Hotmail の設定と同様に、cqemailrelay_cfg.xml ファイルに "" を追加する必要があります。

フィードバック