I seguenti esempi mostrano come impostare EmailRelay per diversi server di posta SMTP. Utilizzarli come orientamento per iniziare.
Server email SMTP GMail
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
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
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
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