Configure a Mail/SMTP Server

Chances are, that in the pre-configured setup sending email will not work out of the box.  The most reliable and secure way to make sure that ]po[ sends out emails is setting up a relay and use a SMTP server to send out emails. Setting up a relay can happen in tow ways: 

Option 1: Configure generic postfix relay 

Reference: See article on HowToForge
postconf -e 'relayhost = mail.example.com'
postconf -e 'smtp_sasl_auth_enable = yes'
postconf -e 'smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd'
postconf -e 'smtp_sasl_security_options ='

echo "smtp.example.com   user_name:password" > /etc/postfix/sasl_passwd

chown root:root /etc/postfix/sasl_passwd
chmod 600 /etc/postfix/sasl_passwd

postmap /etc/postfix/sasl_passwd

/etc/init.d/postfix restart

Option 2: Configure postfix relay through GMAIL

See https://devops.profitbricks.com/tutorials/configure-a-postfix-relay-through-gmail-on-centos-7/  for more information.

Option 3: Configure postfix relay through EXCHANGE

Follow the steps below to configure an external EXCHANGE mail server to send emails:
  • Specify IP of this server in the \servers\projop\etc\config.tcl file.
  • Allow anonymous authentication for the smtp virtual server,
  • Limit "connection control" and "relay restrictions" to the IP of the proj-open server (and of course itself)
  • Set parameter "SendmailBin" in acs-mail-lite to "smtp"
Provided by Erik Andelman: http://sourceforge.net/projects/project-open/forums/forum/295937/topic/3743653

Option 4: Configure using acs-mail-lite 

Mail is managed using package acs-mail-lite. To setup your SMTP rely server please go to ADMIN->PARAMETERS and set the parameters of package acs-mail-lite accordingly:

smtp

Further references:

 


  Contact Us
  Project Open Business Solutions S.L.

Calle Aprestadora 19, 12o-2a

08902 Hospitalet de Llobregat (Barcelona)

Spain

 Tel Europe: +34 609 953 751
 Tel US: +1 415 200 2465
 Mail: info@project-open.com