Update README.txt

This commit is contained in:
harishjadhav26 2021-05-06 15:33:18 +05:30 committed by GitHub
parent 5a0f7526d5
commit 7e59213f13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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