- install debian 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
- debian8
- set hosts
- root# cp /etc/hosts /etc/hosts.bak
- root# vi /etc/hosts
- 10.64.204.8 opensuse8.sus8.com opensuse8
- close firewall
- root# systemctl disable firewalld
- root# systemctl stop firewalld
- install bind9
- root# zypper install -y bind9
- root# systemctl enable named
- root# systemctl start named
- after install DNS server, we modify setting of DNS.
- vi /etc/named.conf
- listen-on port 53 { 10.64.204.X; };
- dnssec-validateion no;
- add recursion yes;
- go to webmin.com to install webmin
- open webmin by https://fedora8:10000
- webmin fix in openSUSE to control bind as below pic:
- create master zoons(sus8.com and sus8.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.204.8
- Install postfix for openSUSE.
- zypper install postfix
- After installed postfix, we need to modify main.cf
- root# vi /etc/postfix/main.cf
- Make sure the settings:
- myhostname = opensuse8.sus8.com
- mydestination add deb8.com, deb8.ca
- mydomain = sus8.com (Not find the place to put)
- mynetworks add 10.64.0.0/12 (Not find the place to put)
- Install alpine
- zypper install alpine
- Install Dovecot
- Install dovecot
- zypper install -y dovecot
- Vi /etc/dovecot/dovecot.conf
- #listen = *,;; àlisten = *
- #login_trusted_networks = à login_trusted_networks = 10.64.0.0/12
- Add the end of following at the bottom
- pop3_uidl_format = %08Xu%08Xv
- mail_location = mbox:~/mail:INBOX=/var/mail/%u
- chmod 600 /var/spool/mail/*
- systemctl restart postfix
- vi /etc/dovecot/conf.d/10-mail.conf
- remove the # 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
- save the file, Restart the service
- In outlook turn of secure authentication SPA
- And under the advanced tab uncheck the pop3 ssl authentication
- Now we can setup the client email using outlook
- add new pop and imap account in outlook
No comments:
Post a Comment