In this setup:
IP address of server = 161.101.234.62
Hostname = mail
Domain Name = yeswedeal.com
Full Computer name (FQDN) = mail.yeswedeal.com
Note: Make sure DNS Server is properly configured.
Install Required package:
yum install postfix dovecot squirrelmail http -y
# vim /etc/postfix/main.cf
inet_interface = all
# inet_interface = localhost
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
home_mailbox = Maildir/
vim /etc/dovecot.conf
protocols = imap imaps pop3 pop3s
mail_location = maildir:~/Maildir
pop3_uidl_format = %09Xu%09Xv
imap_client_workarounds = outlook-idle delay-newmail netscape-eoh
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
vim /etc/squirrelmail/config.php
$domain = ‘yeswedeal.com’;
$imapServerAddress = ‘161.101.234.62’;
$smtpServerAddress = ‘161.101.234.62’;
$default_folder_prefix = ‘Maildir/’;
service postfix restart
service dovecot restart
service httpd restart
IP address of server = 161.101.234.62
Hostname = mail
Domain Name = yeswedeal.com
Full Computer name (FQDN) = mail.yeswedeal.com
Note: Make sure DNS Server is properly configured.
Install Required package:
yum install postfix dovecot squirrelmail http -y
# vim /etc/postfix/main.cf
inet_interface = all
# inet_interface = localhost
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
home_mailbox = Maildir/
vim /etc/dovecot.conf
protocols = imap imaps pop3 pop3s
mail_location = maildir:~/Maildir
pop3_uidl_format = %09Xu%09Xv
imap_client_workarounds = outlook-idle delay-newmail netscape-eoh
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
vim /etc/squirrelmail/config.php
$domain = ‘yeswedeal.com’;
$imapServerAddress = ‘161.101.234.62’;
$smtpServerAddress = ‘161.101.234.62’;
$default_folder_prefix = ‘Maildir/’;
service postfix restart
service dovecot restart
service httpd restart