以下の例は、各種の SMTP メール サーバー用に EmailRelay を設定する方法を示します。以下の例をガイドラインとして利用して開始します。
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 電子メール サーバー
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
また、Hotmail アカウントには、EmailRelay サーバーを実行中のコンピュータでブラウザを使用してログインする必要があります。こうしないと、[550 5.3.4 要求されたアクションは実行されません。メッセージの送信を継続するには、自分のアカウントにサインインしてください。(Requested action not taken; To continue sending messages, please sign in to your account.)] というエラーが表示されます。
IBM Lotus® Domino® SMTP 電子メール サーバー
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