- Webmin DNS
- install ubuntu with GUI
- set static id address with nds 8.8.8.8
- set hostname
- root# cp /etc/hostname /etc/hostname.bak
- root# vi /etc/hostname
- ubuntu8
- set hosts
- root# cp /etc/hosts /etc/hosts.bak
- root# vi /etc/hosts
- 10.64.203.8 ubuntu8.ubu8.com ubuntu8
- close firewall
- root# systemctl disable ufw
- root# systemctl stop ufw
- install bind9
- root# apt-get install -y bind9
- root# systemctl enable named
- root# systemctl start named
- after install dns server, we modify setting of DNS.
- vi /etc/bind/named.conf.options
- dnssec-validateion no;
- add recursion yes;
- go to webmin.com to install webmin
- open webmin by https://ubuntu8:10000
- create master zoons(ubu8.com and ubu8.ca), and A records, and MX records.
- In ‘zoon option’ allow zoon transfer to class dns server.
- Create secondary zoon in class dns server to transfer dns zoons.
- After these DNS setting, we change back DNS from 8.8.8.8 to local 10.64.203.8
- This time we remove sendmail and install postfix for Debian.
- Apt-get install postfix.
- After installed postfix, we need to modify main.cf
- Make sure the settings for myhostname: ubuntu8.ubu8.com
- Mydestination add ubu8.com, ubu8.ca
- mynetworks add 10.64.0.0/12
- Install alpine
- Install Dovecot
- Install dovecot
- apt-get install -y dovecot-core dovecot-pop3d dovecot-imapd dovecot-lmtpd
- Check the configure file: (not need to change anything for now)
vi /etc/dovecot/dovecot.conf
- vi /etc/dovecot/conf.d/10-mail.conf
- remove the # in order to indicate the mail location.
- SOLUTION FOR ERROR WITH OUTLOOK CONNECTING TO POP3 (Not yet test)
cd /etc/dovecot/conf.d
vi 10-auth.conf
disable_plaintext_auth = no
No comments:
Post a Comment