User Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:adminmanual:outgoingserver [2014/07/22 00:38]
joebordes [How to Configure Outgoing Server]
en:adminmanual:outgoingserver [2020/04/06 11:51] (current)
joebordes
Line 1: Line 1:
 ====== How to Configure Outgoing Server ====== ====== How to Configure Outgoing Server ======
  
-coreBOS ​necesita una cuenta de correo de salida para poder enviar correos administrativos relativos al funcionamiento de la aplicaciónUtilizando esta cuenta de correo enviará correos de aviso provenientes de los flujos de trabajodel calendario o al finalizar una importación ​(por ejemplo).+coreBOS ​needs an email account to send out administrative emails regarding the operation of the applicationUsing this email account the program will send warning emails from workflowsnotification of calendar events and end of import information ​(for example).
  
-Dado que es necesaria esta cuenta de correo se ha tomado la decisión de utilizarla también para enviar los correos de trabajo de los propios usuariosPara que esto funcione y parezca que cada usuario manda los correos desde su propia cuenta se utiliza una técnica permitida por el protocolo de envíos de correo ​(SMTP) ​denominado ​RELAY. ​Esto consiste en que el programa se conecta al servidor con la cuenta que tiene configurada y le indica que va a mandar el correo en nombre de otra cuenta de correo.+Since the application requires this email account we decided to also use it to send normal work email messages from the usersFor this to work and appear that each user sends emails from his own email we use a feature implemented into the mailing protocol ​(SMTP) ​called ​RELAY. ​Using this technique, the program connects to the server with the account that is configured and tells it that it will be sending an mail on behalf of another email account.
  
-Esta característica propia del sistema ​SMTP ha pasado por una fase de mala prensa debido ​su abuso por parte de generadores de spam y virus que lo aprovechan para enviar emails no autorizados en nombre de otros usuariosEs por ello que **algunos servidoresmás estrictos** con los emails que pasan por ellosno lo permiten y **NO FUNCIONARAN** con coreBOS ​o solo permitirán enviar ​emails ​como un único usuarioel que se utiliza para conectar al servidor.+This characteristic of the SMTP system has gone through ​phase of bad press because of its abuse by spammers and viruses that exploit it to send unauthorized messages on behalf of other usersThat is why some serverswith stricter security measuresdo not support this feature and will **NOT** work with coreBOS ​or only allow sending ​emails ​as one single userthe one configured in the outgoing server settings.
  
-Para introducir los datos de la cuenta de correo de salida hay que ir a la sección de Configuración y dentro de la misma a la sección Configuración del Servidor de Correo+The outgoing server settings can be set in the Settings section of the application and in there, in the Outgoing Server section.
  
 <​code>​Settings > Outgoing Server</​code>​ <​code>​Settings > Outgoing Server</​code>​
Line 13: Line 13:
 {{ :​images:​outgoingserver.png?​750 |}} {{ :​images:​outgoingserver.png?​750 |}}
  
-^Outgoing Server|es el servidor al que hemos de conectar para poder enviar correoseste campo soporte una sintaxis extendida mediante la cual podremos indicar el protocolo y el puerto, algo así: <​code>​ssl://​smtp.gmail.com:​467</​code> ​<​code>​tsl://​msexchange:​587</​code>​| +^Outgoing Server|this is the server to which we must connect to send emailsThis field supports a special extended syntax with which we can specify the protocol and port to use like this: <​code>​tls://​smtp.gmail.com:​587</​code> ​or <​code>​ssl://​msexchange:​587</​code>​| 
-^User Name and Password|son el usuario y la contraseña para conectar al servidor+^User Name and Password|the user name and passwords that will give us access to the server
-^Email From|Este campo forzará que todos los emails ​que salgan del sistema parezcan que provienen de este email. ​Es algo bastante restrictivo ya que ningún usuario recibirá las respuestas pero sí podrán enviar si su servidor está entre los que no funcionan con RELAY (leer arriba)+^Email From|This field will force all emails ​leaving the system to seem to come from this email. ​Although the email will be sent from this account, the "Reply to" field will be the email of the user sending the email. Thus if the recipient clicks on respond the response will be sent to the user. I suppose this has some spam/​company image justification
-^Requires Authentication?​|no permite definir el protocolo a utilizar para la conexión|+^Requires Authentication?​|permits us to define the protocol to use for the connection|
  
-Al guardar los datos se hará una comprobación de conexión y envío de correoSi no se consigue enviar correctamente el correo ​NO se guardarán los datosSeremos devueltos ​la página de configuración con un mensaje que indica que no se ha podido enviar el correoLlegados ​este punto hay un error de conexión o autentificación o de soporte de RELAY y hay que acudir a las [[en:​devel:​debuging#​email|técnicas de depuración]].+When you save the connection data, coreBOS will launch a test to connect and send an emailIf the email is not successfully sent **NO** data will be savedWe will be returned to the configuration page with message saying that the email could not be sentAt this point, there is connection, authentication or lack of RELAY support error and you must go to the [[en:​devel:​debuging#​email|debugging techniques]].
  
-Si al depurar llegamos a un mensaje de error del tipo:+<WRAP center round important 75%> 
 +When we are returned to the settings page, the previous values are present. We cannot see the password field but is it most probably INCORRECT, the value you introduced is NOT filled in again. Please introduce the password on ALL tests that you launch. 
 +</​WRAP>​ 
 + 
 +<WRAP center round important 75%>​coreBOS prior to March 2015 did not support sending emails with an empty body. The error message returned was very misleading indicating that there was a problem with the email configuration. **DO NOT test** emails with empty bodies. As of March 2015 emails with no body are supported.</​WRAP>​ 
 + 
 +If we reach this message while debugging:
 <​code>​SMTP -> FROM SERVER:550 5.7.1 Client does not have permissions to send as this sender <​code>​SMTP -> FROM SERVER:550 5.7.1 Client does not have permissions to send as this sender
 SMTP -> ERROR: DATA END command failed: 550 5.7.1 Client does not have permissions to send as this sender SMTP -> ERROR: DATA END command failed: 550 5.7.1 Client does not have permissions to send as this sender
 SMTP Error: data not accepted.</​code>​ SMTP Error: data not accepted.</​code>​
  
-El servidor de correo está diciendo que no tenemos permiso para enviarBásicamente dice que el error es porque la cuenta con la que se conecta ha de ser la misma que el remitenteel servidor no soporta ​RELAY.+The mail server is saying that we do NOT have permission to sendIt basically says that the error is because the account that is connected must be the same as the senderthe server does not support ​RELAY.
  
-Si os pasa estoos recomiendo pillar una cuenta en [[http://​sendgrid.com|sendgrid]], ​de verdad que funciona de maravilla y os da mucha más información de la que tenéis ahoraTienen cuentas gratuitas con un limite de 200 correos al día y por poco dinero podéis hacer aun másNosotros lo utilizamos con regularidad para envíos masivos desde coreBOS y para controlar las entregas de correo administrativoVale más de lo que cuesta.+If you reach this pointI recommend you register for an account at [[http://​sendgrid.com|sendgrid]], ​it really works great and gives you much more information than you have nowThey have free accounts with a limit of 400 emails a day and for a small amount of money, you can do even moreWe use it regularly to mass mailings from coreBOSCRM and to control administrative email deliveriesIt is worth more than it costs.
  
 ===== Some pages related to problems configuring outgoing server ===== ===== Some pages related to problems configuring outgoing server =====
Line 34: Line 40:
 [[https://​discussions.vtiger.com/​index.php?​p=/​discussion/​55230/​smtp-mail-settings-for-office-365-exchange/​p1]]\\ [[https://​discussions.vtiger.com/​index.php?​p=/​discussion/​55230/​smtp-mail-settings-for-office-365-exchange/​p1]]\\
 [[http://​technet.microsoft.com/​en-us/​library/​dn554323.aspx]]\\ [[http://​technet.microsoft.com/​en-us/​library/​dn554323.aspx]]\\
 +
 +
 +=====  FAQ =====
 +
 +??? Method for installing coreBOS on a 1and1 Linux Shared Hosting Package
 +
 +!!! {{:​en:​corebos:​vtigercrm_1and1_installation.pdf|This very old PDF file}} shared on the forum explains some issues. The important part is this one:
 +
 +Open the file vtigercrm/​modules/​Emails/​class.phpmailer.php in your favorite text editor.
 +
 +Find the following lines:
 +
 +<​code>​function IsSMTP() {
 +$this->​Mailer = "​smtp";</​code>​
 +
 +Change "​smtp"​ to "​sendmail"​
 +
 +??? How do I configure a gmail account?
 +
 +!!! [[http://​discussions.corebos.org/​viewtopic.php?​f=7&​t=1020&​p=2240|This forum thread says]] that you have to use **smtp.gmail.com** and select **TLS** as the authentication method. Also leave the "Email from" field empty as (I think) gmail does not support that feature.
 +
 +Also [[es:​adminmanual:​outgoingservergmail|this page explains activating the service on Google side]].
 +
 +??? How can I check my spam score?
 +
 +!!! Send an email from the application to the email address indicated at [[https://​www.mail-tester.com/​|Mail Tester]] and after a few seconds click on the "Check Score" button. Review the recommendations and repeat.
  
 ====== Debugging errors ====== ====== Debugging errors ======
  
 {{page>​en:​devel:​debuging#​email}} {{page>​en:​devel:​debuging#​email}}