-
Notifications
You must be signed in to change notification settings - Fork 564
Install and configure a simple mail server for sending mails using PHP mail function in Faveo on Centos 7 server
This document will list steps on how to install a simple mail server for Faveo.
Firewall Access You will need to set your firewall(s) to allow access to the following ports:
- SMTP: 25
- POP3: 110
- IMAP: 143
- SMTP Secure: 465
By default, the Cloud Panel Firewall denies access to all but the most commonly-used ports. For instructions on how to allow port access, consult our article "Creating a Cloud Panel Firewall".
We need following dependencies in order to make mail server work:
- PHP 7.1
- PHP Extensions: listed in server requirement
- Composer
- Telnet
If you have already installed composer skip this Step
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/bin/composer
chmod +x /usr/bin/composer
composer require phpmailer/phpmailer
yum install -y postfix
Main configuration file for Postfix is ‘/etc/postfix/main.cf’.
Open the file to make changes to it
vi /etc/postfix/main.cf
myhostname = example.com # Line 77
mydomain = example.com # Line 85
myorigin = $mydomain # Line 101
inet_interfaces = all # Line 115
inet_protocols = all # Line 121
#mydestination = $myhostname, localhost.$mydomain, localhost, # Line 166 (comment_it)
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain # Line 167 (uncomment)
mynetworks = 192.168.1.0/24, 127.0.0.0/8 # Line 266
home_mailbox = Maildir/ # Line 421
Make sure you make changes as per your domain. Save the file & exit and restart the postfix service to implement the changes
systemctl restart postfix
systemctl enable postfix
yum install -y telnet
telnet localhost 25
You will see a screen with following,
Trying ::1…
Connected to localhost.
Escape character is ‘^]’.
220 example.com ESMTP Postfix
To send a mail
mail from:<mailid>
Then enter recipient mail address
rcpt to:<mailid>
Enter the mail you want to type
data # will put text in mail body
354 End data with <CR><LF>.<CR><LF>
This is a test mail .
After you mail body is complete, type . (dot)
.
To exit from the session, type
quit
Did you find it helpful? If not email us on support@faveohelpdesk.com
Installation and Upgrade Guide
- GUI Install Wizard
- Manual Install
- CLI Install
- Server Requirements
- Installation with Apache
- Installation with cPanel
- Cron Job or any Job scheduler
- Faveo Helpdesk Installation on CentOS 7 with Apache on PHP 7.1
- Faveo Helpdesk Installation on CentOS 7 with Nginx on PHP 7.1
- Faveo Helpdesk Installation on Ubuntu 18.04 LTS with Apache on PHP 7.1
- Faveo Helpdesk Installation on Ubuntu 18.04 LTS with Nginx on PHP 7.1
- Faveo Helpdesk Installation on Debian 9 with Nginx on PHP 7.1
- Faveo Helpdesk Installation on Debian 9 with Apache on PHP 7.1
- Migrating Faveo from one server to another
- Configuration of Redis with Faveo
- Install and configure Redis, Supervisor and Worker for Faveo on Ubuntu 16.04
- Install Let’s Encrypt SSL on CentOS 7 Running Apache Web Server
- Install and configure a simple mail server for sending mails using PHP mail function in Faveo on Ubuntu 16.04 server
- Install and configure Redis, Supervisor and Worker for Faveo on Centos 7
- Install and configure a simple mail server for sending mails using PHP mail function in Faveo on Centos 7 server
- Faveo Helpdesk Pro Installation on Windows Server 2012 R2
- Install Active Directory Domain Services in Windows Server 2012 R2
- Install Faveo Helpdesk Community on Centos, Ubuntu or Debian Using Script
- Set up automatic backup for Faveo-Helpdesk
Administrator's Guide
- Faveo File Storage
- Change client side theme color
- How to edit or change the footer in faveo
- How to change agent and admin panel Faveo logo link and logo
- Agents
- Departments
- Team
- Priority
- SLA
- Workflow
- Helptopic
- Default Ticket Settings
- Status
- Rating
- Close Ticket Workflow
- Company Settings
- Social Login
- Language
- Security
- Debugging/Logs
- Ban Emails
- Widgets
Agent's Guide
Email Integration
Release & Upgrade Notes
- General Faveo Upgrade Guide Manual
- General Faveo Upgrade Guide Auto
- Upgrade guide to v1.9.2
- Upgrade guide to v1.9.0
- How to update v1.0.7.9 to v1.0.8.0
- Manual Upgrade from v1.0.7.8 to v1.0.7.9
- Faveo Release notes & upgrade guide for V1.0.7.7
- Faveo Release notes & upgrade guide for V1.0.7.5
- Faveo Release notes & upgrade guide for V1.0.7
Known Issues
- The open_basedir restriction in effect
- 404 Not Found
- 500 Internal Server Error
- Bug after update from 1.0.7.4 to 1.0.7.5 or higher version
- Syntax error, unexpected ‘var’(T_VAR), expecting ‘;’
Contribute & Feedback
- Support the community edition
- Contribution Guide
- Faveo Feedback & Customisation
- Help in language translate
Knowledge Base
Third Party Integration
Plugins
API