The Lazy Admin Blog

Home  /  Uncategorized  /  XenServer – Configure Mail Sending using SSMTP

XenServer – Configure Mail Sending using SSMTP

November 15, 2017 Uncategorized Leave a Comment

Xenserver uses sSMTP to send email notifications, sSMTP is a program which delivers email from a local computer to a configured mailhost (mailhub).

We will configure XenServer to send mails through SMTP servers that require authentication.

To configure your SMTP server,  you will need edit its configuration file that located in : /etc/smtp/ssmtp.conf :

#The person who gets all mail

root=root@example.net

# The place where the mail goes. The actual machine name is required

# The example will fit if you are in domain.com and your mailhub is so named.
mailhub={YOUR-SMTP-SERVER}:25
hostname={LOCAL-MACHINE-HOST-NAME}
AuthUser={EMAIL-BOX-USER}
AuthPass={EMAIL-BOX-PASSWORD}
UseSTARTTLS=YES
FromLineOverride=YES

Example:

root=admin@mydomain.net
mailhub=10.10.10.10:25
hostname=mymachine.mydomain.net
AuthUser=myuser@mydomain.com
AuthPass=qREWsdfsd5sdS45
UseSTARTTLS=YES
FromLineOverride=YES

 

Test your configuration:

echo test | mail -v -s “TEST” daniel@mydomain.com

 

 

 

 

Previous Article
Next Article

Leave a Reply

Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Search Our Blog

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Filter by Categories
Apache
CentOS
CloudLinux
cPanel
Emails
ESXI
iSCSI
JetBackup
Litespeed
MySQL
NGINX
Oracle
Reduxio
Security
SSL
Uncategorized
VMware
Wordpress
XEN

Tags

apache aspx backup CentOS cloudlinux cPanel CXS Emails freetds google htaccess IMAP InnoDB iscsi JetBackup Libmodsecurity litespeed modsec modsecurity mssql MySQL netapp nginx odbc Oracle php php.ini phpselector rsync ssh VMFS WHM Wordpress xenserver

Popular Posts

  • How To Install & Configure a Galera Cluster with MariaDB on Centos 7 February 6, 2018
  • Allow a cPanel server to run a VHOST from multiple IP addresses April 3, 2018
  • Convert JetBackup to cPanel structure October 6, 2022
  • Libmodsecurity installation April 14, 2016

Recent Posts

  • rsync without prompting for password October 10, 2022
  • Convert JetBackup to cPanel structure October 6, 2022
  • Configure LiteSpeed Crawler October 5, 2022
  • Change Hostname in Oracle Cloud Infrastructure (OCI) October 3, 2022

Recent Comments

  • Anonymous on Convert JetBackup to cPanel structure
  • TheLazyAdmin on How To Install & Configure a Galera Cluster with MariaDB on Centos 7
  • AO on How To Install & Configure a Galera Cluster with MariaDB on Centos 7
  • Javier Bastet on Convert JetBackup to cPanel structure
  • Anonymous on InnoDB: Failed to find tablespace for table `X` in the cache
Privacy Policy • Contact