Jetserver – The Lazy Admin Blog
Home  /  Uncategorized  /  XenServer – Configure Mail Sending using SSMTP

XenServer – Configure Mail Sending using SSMTP

Daniel Alum November 15, 2017 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

About Author

Daniel Alum

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
ESXI
iSCSI
JetBackup
Litespeed
MySQL
NGINX
Reduxio
SSL
Uncategorized
VMware
Wordpress
XEN

Tags

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

Popular Posts

  • Allow a cPanel server to run a VHOST from multiple IP addresses April 3, 2018
  • How To Install & Configure a Galera Cluster with MySQL on Centos 7 February 6, 2018
  • Libmodsecurity installation April 14, 2016
  • JetBackup Cheat Sheet :: Automatically Acknowledge Alerts November 15, 2018

Recent Posts

  • Building your own private cloud April 20, 2021
  • Dealing with aggressive bot scanners September 14, 2020
  • Litespeed Geo Location Redirect September 14, 2020
  • JetBackup :: Restore on steroids ! August 21, 2020

Recent Comments

  • Khan on Allow a cPanel server to run a VHOST from multiple IP addresses
  • Khan on Allow a cPanel server to run a VHOST from multiple IP addresses
  • Oleg Drabkin on Allow a cPanel server to run a VHOST from multiple IP addresses
  • Khan on Allow a cPanel server to run a VHOST from multiple IP addresses
  • Daniel on How To Install & Configure a Galera Cluster with MySQL on Centos 7
אחסון אתרים | JetApps