Impostazione di EmailRelay per diversi tipi di server email

EmailRelay di IBM® Rational ClearQuest utilizza i file di configurazione per supportare un server email SMTP. Se il server richiede parametri aggiuntivi, essi vengono forniti utilizzando le impostazioni <properties>.

I seguenti esempi mostrano come impostare EmailRelay per diversi server di posta SMTP. Utilizzarli come orientamento per iniziare.

Server email SMTP GMail

Utilizzare questi parametri per impostare EmailRelay di ClearQuest per un server email SMTP GMail. Inoltre, consultare https://www-304.ibm.com/support/docview.wss?uid=swg21444700 How to setup messaging with Gmail SMTP per istruzioni su come impedire l'errore di handshake SSL.
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

Server email SMTP Hotmail

Utilizzare questi parametri per impostare EmailRelay di ClearQuest per il server email SMTP Hotmail:
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
Nota: osservare come il parametro -usessl sia stato impostato su no nell'esempio precedente. Ciò è necessario perché il server email SMTP Hotmail non utilizza SSL. Utilizza TLS. Inoltre, è necessario aggiungere il seguente parametro al file cqemailrelay_cfg.xml: "<property key="mail.smtp.starttls.enable" val="true"/>"

Inoltre, è necessario accedere all'account Hotmail utilizzando un browser sullo stesso computer su cui è in esecuzione il server EmailRelay. Altrimenti, verrà ricevuto il seguente errore: 550 5.3.4 Requested action not taken; To continue sending messages, please sign in to your account.

Server email SMTP IBM Lotus Domino

Il seguente esempio presume che sia stato abilitato SMTPS con SSL sul server IBM Lotus Domino e che la porta 483 sia quella su cui è in ascolto IBM Lotus Domino.
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

Server email SMTP Microsoft Exchange Server

Il seguente esempio presume che sia stato abilitato SMTP con TLS su Microsoft Exchange Server e che la porta 465 sia quella su cui è in ascolto Microsoft Exchange Server.

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 
Nota: come con l'impostazione di Hotmail, è necessario aggiungere "" al file cqemailrelay_cfg.xml.

Feedback