Update README.txt
This commit is contained in:
parent
5a0f7526d5
commit
7e59213f13
1 changed files with 12 additions and 8 deletions
20
README.txt
20
README.txt
|
@ -170,10 +170,6 @@ chown -R root:postfix /etc/postfix/sql/*
|
||||||
sudo chmod 0640 /etc/postfix/sql/*
|
sudo chmod 0640 /etc/postfix/sql/*
|
||||||
chown -R postfix. /var/lib/postfix/smtpd_scache
|
chown -R postfix. /var/lib/postfix/smtpd_scache
|
||||||
|
|
||||||
# Dovecot config permission and ownership update.
|
|
||||||
|
|
||||||
chown -R vmail.mail /var/run/dovecot/dict
|
|
||||||
|
|
||||||
# Update postfixadmin and roundcubemail configuration.
|
# Update postfixadmin and roundcubemail configuration.
|
||||||
|
|
||||||
chown -R apache. /var/www/html/*
|
chown -R apache. /var/www/html/*
|
||||||
|
@ -182,16 +178,24 @@ chown -R apache. /var/www/html/*
|
||||||
|
|
||||||
cp /root/mail_server/httpd/* /etc/httpd/conf.d/
|
cp /root/mail_server/httpd/* /etc/httpd/conf.d/
|
||||||
|
|
||||||
# Send mail from command line.
|
|
||||||
|
|
||||||
echo "hello" | mail -r harish@example.com -s "test sub" postmaster@example.com
|
|
||||||
|
|
||||||
# Service restart.
|
# Service restart.
|
||||||
|
|
||||||
systemctl enable mariadb dovecot postfix httpd spamassassin php-fpm
|
systemctl enable mariadb dovecot postfix httpd spamassassin php-fpm
|
||||||
systemctl restart mariadb dovecot postfix httpd spamassassin php-fpm
|
systemctl restart mariadb dovecot postfix httpd spamassassin php-fpm
|
||||||
systemctl status mariadb dovecot postfix httpd spamassassin php-fpm
|
systemctl status mariadb dovecot postfix httpd spamassassin php-fpm
|
||||||
|
|
||||||
|
# Dovecot config permission and ownership update.
|
||||||
|
|
||||||
|
chown -R vmail.mail /var/run/dovecot/dict
|
||||||
|
|
||||||
|
# Send mail from command line.
|
||||||
|
|
||||||
|
echo "hello" | mail -r harish@example.com -s "test sub" postmaster@example.com
|
||||||
|
|
||||||
|
# Verify mail delivery in maillog.
|
||||||
|
|
||||||
|
tail -f /var/log/maillog
|
||||||
|
|
||||||
# Default password:
|
# Default password:
|
||||||
PostfixadminDB:
|
PostfixadminDB:
|
||||||
MySQL USER: vmailadmin
|
MySQL USER: vmailadmin
|
||||||
|
|
Loading…
Reference in a new issue