7,164
edits
(10 intermediate revisions by the same user not shown) | |||
Line 171: | Line 171: | ||
my_hostname = os.popen("/bin/hostname -s").read().rstrip() | my_hostname = os.popen("/bin/hostname -s").read().rstrip() | ||
# replace the ubuntu hostname in /etc/hosts | # replace the ubuntu hostname in /etc/hosts | ||
mp = {'localipv4' : my_ip, 'hostname' : my_hostname, 'fqdn' : my_fqdn} | mp = {'localipv4' : my_ip, 'hostname' : my_hostname, 'fqdn' : my_fqdn} | ||
t = Template(file="/usr/local/etc/bind/templates/hosts.tmpl", searchList=[mp]) | t = Template(file="/usr/local/etc/bind/templates/hosts.tmpl", searchList=[mp]) | ||
Line 535: | Line 535: | ||
Main menu | Main menu | ||
1) Common Configuration: | 1) Common Configuration: | ||
2) zimbra-ldap: Enabled | 2) zimbra-ldap: Enabled | ||
3) zimbra-store: Enabled | 3) zimbra-store: Enabled | ||
+Create Admin User: yes | +Create Admin User: yes | ||
+Admin user to create: admin@aws.example.com | +Admin user to create: admin@aws.example.com | ||
******* +Admin Password UNSET | ******* +Admin Password UNSET | ||
+Anti-virus quarantine user: virus-quarantine.xxxxxxxxx@aws.example.com | +Anti-virus quarantine user: virus-quarantine.xxxxxxxxx@aws.example.com | ||
+Enable automated spam training: yes | +Enable automated spam training: yes | ||
+Spam training user: spam.xxxxxxxxx@aws.example.com | +Spam training user: spam.xxxxxxxxx@aws.example.com | ||
+Non-spam(Ham) training user: ham.xxxxxxxxx@aws.example.com | +Non-spam(Ham) training user: ham.xxxxxxxxx@aws.example.com | ||
+SMTP host: aws.example.com | +SMTP host: aws.example.com | ||
+Web server HTTP port: 80 | +Web server HTTP port: 80 | ||
+Web server HTTPS port: 443 | +Web server HTTPS port: 443 | ||
+Web server mode: http | +Web server mode: http | ||
+IMAP server port: 143 | +IMAP server port: 143 | ||
+IMAP server SSL port: 993 | +IMAP server SSL port: 993 | ||
+POP server port: 110 | +POP server port: 110 | ||
+POP server SSL port: 995 | +POP server SSL port: 995 | ||
+Use spell check server: yes | +Use spell check server: yes | ||
+Spell server URL: http://aws.example.com:7780/aspell.php | +Spell server URL: http://aws.example.com:7780/aspell.php | ||
+Configure for use with mail proxy: FALSE | +Configure for use with mail proxy: FALSE | ||
+Configure for use with web proxy: FALSE | +Configure for use with web proxy: FALSE | ||
+Enable version update checks: TRUE | +Enable version update checks: TRUE | ||
+Enable version update notifications: TRUE | +Enable version update notifications: TRUE | ||
+Version update notification email: admin@aws.example.com | +Version update notification email: admin@aws.example.com | ||
+Version update source email: admin@aws.example.com | +Version update source email: admin@aws.example.com | ||
4) zimbra-mta: Enabled | 4) zimbra-mta: Enabled | ||
5) zimbra-snmp: Enabled | 5) zimbra-snmp: Enabled | ||
6) zimbra-logger: Enabled | 6) zimbra-logger: Enabled | ||
7) zimbra-spell: Enabled | 7) zimbra-spell: Enabled | ||
8) Default Class of Service Configuration: | 8) Default Class of Service Configuration: | ||
r) Start servers after configuration yes | r) Start servers after configuration yes | ||
s) Save config to file | s) Save config to file | ||
x) Expand menu | x) Expand menu | ||
q) Quit | q) Quit | ||
Address unconfigured (**) items (? - help) 1<RETURN> | Address unconfigured (**) items (? - help) 1<RETURN> | ||
Line 577: | Line 577: | ||
Common configuration | Common configuration | ||
1) Hostname: aws.example.com | 1) Hostname: aws.example.com | ||
2) Ldap master host: aws.example.com | 2) Ldap master host: aws.example.com | ||
3) Ldap port: 389 | 3) Ldap port: 389 | ||
4) Ldap Admin password: set | 4) Ldap Admin password: set | ||
5) Secure interprocess communications: yes | 5) Secure interprocess communications: yes | ||
6) TimeZone: America/Los_Angeles | 6) TimeZone: America/Los_Angeles | ||
Select, or 'r' for previous menu [r] 6<RETURN> | Select, or 'r' for previous menu [r] 6<RETURN> | ||
Line 596: | Line 596: | ||
Common configuration | Common configuration | ||
1) Hostname: aws.example.com | 1) Hostname: aws.example.com | ||
2) Ldap master host: aws.example.com | 2) Ldap master host: aws.example.com | ||
3) Ldap port: 389 | 3) Ldap port: 389 | ||
4) Ldap Admin password: set | 4) Ldap Admin password: set | ||
5) Secure interprocess communications: yes | 5) Secure interprocess communications: yes | ||
6) TimeZone: Asia/Tokyo | 6) TimeZone: Asia/Tokyo | ||
Select, or 'r' for previous menu [r] <RETURN> | Select, or 'r' for previous menu [r] <RETURN> | ||
Line 607: | Line 607: | ||
Main menu | Main menu | ||
1) Common Configuration: | 1) Common Configuration: | ||
2) zimbra-ldap: Enabled | 2) zimbra-ldap: Enabled | ||
3) zimbra-store: Enabled | 3) zimbra-store: Enabled | ||
+Create Admin User: yes | +Create Admin User: yes | ||
+Admin user to create: admin@aws.example.com | +Admin user to create: admin@aws.example.com | ||
******* +Admin Password UNSET | ******* +Admin Password UNSET | ||
+Anti-virus quarantine user: virus-quarantine.xxxxxxxxx@aws.example.com | +Anti-virus quarantine user: virus-quarantine.xxxxxxxxx@aws.example.com | ||
+Enable automated spam training: yes | +Enable automated spam training: yes | ||
+Spam training user: spam.xxxxxxxxx@aws.example.com | +Spam training user: spam.xxxxxxxxx@aws.example.com | ||
+Non-spam(Ham) training user: ham.xxxxxxxxx@aws.example.com | +Non-spam(Ham) training user: ham.xxxxxxxxx@aws.example.com | ||
+SMTP host: aws.example.com | +SMTP host: aws.example.com | ||
+Web server HTTP port: 80 | +Web server HTTP port: 80 | ||
+Web server HTTPS port: 443 | +Web server HTTPS port: 443 | ||
+Web server mode: http | +Web server mode: http | ||
+IMAP server port: 143 | +IMAP server port: 143 | ||
+IMAP server SSL port: 993 | +IMAP server SSL port: 993 | ||
+POP server port: 110 | +POP server port: 110 | ||
+POP server SSL port: 995 | +POP server SSL port: 995 | ||
+Use spell check server: yes | +Use spell check server: yes | ||
+Spell server URL: http://aws.example.com:7780/aspell.php | +Spell server URL: http://aws.example.com:7780/aspell.php | ||
+Configure for use with mail proxy: FALSE | +Configure for use with mail proxy: FALSE | ||
+Configure for use with web proxy: FALSE | +Configure for use with web proxy: FALSE | ||
+Enable version update checks: TRUE | +Enable version update checks: TRUE | ||
+Enable version update notifications: TRUE | +Enable version update notifications: TRUE | ||
+Version update notification email: admin@aws.example.com | +Version update notification email: admin@aws.example.com | ||
+Version update source email: admin@aws.example.com | +Version update source email: admin@aws.example.com | ||
4) zimbra-mta: Enabled | 4) zimbra-mta: Enabled | ||
5) zimbra-snmp: Enabled | 5) zimbra-snmp: Enabled | ||
6) zimbra-logger: Enabled | 6) zimbra-logger: Enabled | ||
7) zimbra-spell: Enabled | 7) zimbra-spell: Enabled | ||
8) Default Class of Service Configuration: | 8) Default Class of Service Configuration: | ||
r) Start servers after configuration yes | r) Start servers after configuration yes | ||
s) Save config to file | s) Save config to file | ||
x) Expand menu | x) Expand menu | ||
q) Quit | q) Quit | ||
Address unconfigured (**) items (? - help) 3<RETURN> | Address unconfigured (**) items (? - help) 3<RETURN> | ||
Line 649: | Line 649: | ||
Store configuration | Store configuration | ||
1) Status: Enabled | 1) Status: Enabled | ||
2) Create Admin User: yes | 2) Create Admin User: yes | ||
3) Admin user to create: admin@aws.example.com | 3) Admin user to create: admin@aws.example.com | ||
** 4) Admin Password UNSET | ** 4) Admin Password UNSET | ||
5) Anti-virus quarantine user: virus-quarantine.xxxxxxxxx@aws.example.com | 5) Anti-virus quarantine user: virus-quarantine.xxxxxxxxx@aws.example.com | ||
6) Enable automated spam training: yes | 6) Enable automated spam training: yes | ||
7) Spam training user: spam.xxxxxxxxx@aws.example.com | 7) Spam training user: spam.xxxxxxxxx@aws.example.com | ||
8) Non-spam(Ham) training user: ham.xxxxxxxxx@aws.example.com | 8) Non-spam(Ham) training user: ham.xxxxxxxxx@aws.example.com | ||
9) SMTP host: aws.example.com | 9) SMTP host: aws.example.com | ||
10) Web server HTTP port: 80 | 10) Web server HTTP port: 80 | ||
11) Web server HTTPS port: 443 | 11) Web server HTTPS port: 443 | ||
12) Web server mode: http | 12) Web server mode: http | ||
13) IMAP server port: 143 | 13) IMAP server port: 143 | ||
14) IMAP server SSL port: 993 | 14) IMAP server SSL port: 993 | ||
15) POP server port: 110 | 15) POP server port: 110 | ||
16) POP server SSL port: 995 | 16) POP server SSL port: 995 | ||
17) Use spell check server: yes | 17) Use spell check server: yes | ||
18) Spell server URL: http://aws.example.com:7780/aspell.php | 18) Spell server URL: http://aws.example.com:7780/aspell.php | ||
19) Configure for use with mail proxy: FALSE | 19) Configure for use with mail proxy: FALSE | ||
20) Configure for use with web proxy: FALSE | 20) Configure for use with web proxy: FALSE | ||
21) Enable version update checks: TRUE | 21) Enable version update checks: TRUE | ||
22) Enable version update notifications: TRUE | 22) Enable version update notifications: TRUE | ||
23) Version update notification email: admin@aws.example.com | 23) Version update notification email: admin@aws.example.com | ||
24) Version update source email: admin@aws.example.com | 24) Version update source email: admin@aws.example.com | ||
Select, or 'r' for previous menu [r] 4<RETURN> | Select, or 'r' for previous menu [r] 4<RETURN> | ||
Line 680: | Line 680: | ||
Store configuration | Store configuration | ||
1) Status: Enabled | 1) Status: Enabled | ||
2) Create Admin User: yes | 2) Create Admin User: yes | ||
3) Admin user to create: admin@aws.example.com | 3) Admin user to create: admin@aws.example.com | ||
4) Admin Password set | 4) Admin Password set | ||
5) Anti-virus quarantine user: virus-quarantine.xxxxxxxxx@aws.example.com | 5) Anti-virus quarantine user: virus-quarantine.xxxxxxxxx@aws.example.com | ||
6) Enable automated spam training: yes | 6) Enable automated spam training: yes | ||
7) Spam training user: spam.xxxxxxxxx@aws.example.com | 7) Spam training user: spam.xxxxxxxxx@aws.example.com | ||
8) Non-spam(Ham) training user: ham.xxxxxxxxx@aws.example.com | 8) Non-spam(Ham) training user: ham.xxxxxxxxx@aws.example.com | ||
9) SMTP host: aws.example.com | 9) SMTP host: aws.example.com | ||
10) Web server HTTP port: 80 | 10) Web server HTTP port: 80 | ||
11) Web server HTTPS port: 443 | 11) Web server HTTPS port: 443 | ||
12) Web server mode: http | 12) Web server mode: http | ||
13) IMAP server port: 143 | 13) IMAP server port: 143 | ||
14) IMAP server SSL port: 993 | 14) IMAP server SSL port: 993 | ||
15) POP server port: 110 | 15) POP server port: 110 | ||
16) POP server SSL port: 995 | 16) POP server SSL port: 995 | ||
17) Use spell check server: yes | 17) Use spell check server: yes | ||
18) Spell server URL: http://aws.example.com:7780/aspell.php | 18) Spell server URL: http://aws.example.com:7780/aspell.php | ||
19) Configure for use with mail proxy: FALSE | 19) Configure for use with mail proxy: FALSE | ||
20) Configure for use with web proxy: FALSE | 20) Configure for use with web proxy: FALSE | ||
21) Enable version update checks: TRUE | 21) Enable version update checks: TRUE | ||
22) Enable version update notifications: TRUE | 22) Enable version update notifications: TRUE | ||
23) Version update notification email: admin@aws.example.com | 23) Version update notification email: admin@aws.example.com | ||
24) Version update source email: admin@aws.example.com | 24) Version update source email: admin@aws.example.com | ||
Select, or 'r' for previous menu [r] 12<RETURN> | Select, or 'r' for previous menu [r] 12<RETURN> | ||
Line 711: | Line 711: | ||
Store configuration | Store configuration | ||
1) Status: Enabled | 1) Status: Enabled | ||
2) Create Admin User: yes | 2) Create Admin User: yes | ||
3) Admin user to create: admin@aws.example.com | 3) Admin user to create: admin@aws.example.com | ||
4) Admin Password set | 4) Admin Password set | ||
5) Anti-virus quarantine user: virus-quarantine.xxxxxxxxx@aws.example.com | 5) Anti-virus quarantine user: virus-quarantine.xxxxxxxxx@aws.example.com | ||
6) Enable automated spam training: yes | 6) Enable automated spam training: yes | ||
7) Spam training user: spam.xxxxxxxxx@aws.example.com | 7) Spam training user: spam.xxxxxxxxx@aws.example.com | ||
8) Non-spam(Ham) training user: ham.xxxxxxxxx@aws.example.com | 8) Non-spam(Ham) training user: ham.xxxxxxxxx@aws.example.com | ||
9) SMTP host: aws.example.com | 9) SMTP host: aws.example.com | ||
10) Web server HTTP port: 80 | 10) Web server HTTP port: 80 | ||
11) Web server HTTPS port: 443 | 11) Web server HTTPS port: 443 | ||
12) Web server mode: https | 12) Web server mode: https | ||
13) IMAP server port: 143 | 13) IMAP server port: 143 | ||
14) IMAP server SSL port: 993 | 14) IMAP server SSL port: 993 | ||
15) POP server port: 110 | 15) POP server port: 110 | ||
16) POP server SSL port: 995 | 16) POP server SSL port: 995 | ||
17) Use spell check server: yes | 17) Use spell check server: yes | ||
18) Spell server URL: http://aws.example.com:7780/aspell.php | 18) Spell server URL: http://aws.example.com:7780/aspell.php | ||
19) Configure for use with mail proxy: FALSE | 19) Configure for use with mail proxy: FALSE | ||
20) Configure for use with web proxy: FALSE | 20) Configure for use with web proxy: FALSE | ||
21) Enable version update checks: TRUE | 21) Enable version update checks: TRUE | ||
22) Enable version update notifications: TRUE | 22) Enable version update notifications: TRUE | ||
23) Version update notification email: admin@aws.example.com | 23) Version update notification email: admin@aws.example.com | ||
24) Version update source email: admin@aws.example.com | 24) Version update source email: admin@aws.example.com | ||
Select, or 'r' for previous menu [r] <RETURN> | Select, or 'r' for previous menu [r] <RETURN> | ||
Line 740: | Line 740: | ||
Main menu | Main menu | ||
1) Common Configuration: | 1) Common Configuration: | ||
2) zimbra-ldap: Enabled | 2) zimbra-ldap: Enabled | ||
3) zimbra-store: Enabled | 3) zimbra-store: Enabled | ||
4) zimbra-mta: Enabled | 4) zimbra-mta: Enabled | ||
5) zimbra-snmp: Enabled | 5) zimbra-snmp: Enabled | ||
6) zimbra-logger: Enabled | 6) zimbra-logger: Enabled | ||
7) zimbra-spell: Enabled | 7) zimbra-spell: Enabled | ||
8) Default Class of Service Configuration: | 8) Default Class of Service Configuration: | ||
r) Start servers after configuration yes | r) Start servers after configuration yes | ||
s) Save config to file | s) Save config to file | ||
x) Expand menu | x) Expand menu | ||
q) Quit | q) Quit | ||
*** CONFIGURATION COMPLETE - press 'a' to apply | *** CONFIGURATION COMPLETE - press 'a' to apply | ||
Select from menu, or press 'a' to apply config (? - help) a<RETURN> | Select from menu, or press 'a' to apply config (? - help) a<RETURN> | ||
Save configuration data to a file? [Yes] <RETURN> | Save configuration data to a file? [Yes] <RETURN> | ||
Save config in file: [/opt/zimbra/config.9999] | Save config in file: [/opt/zimbra/config.9999] | ||
Saving config in /opt/zimbra/config.9999...done. | Saving config in /opt/zimbra/config.9999...done. | ||
The system will be modified - continue? [No] Yes<RETURN> | The system will be modified - continue? [No] Yes<RETURN> | ||
Line 861: | Line 861: | ||
dpkg -i mta-dummy_1.0_all.deb | dpkg -i mta-dummy_1.0_all.deb | ||
aptitude install bsd-mailx | aptitude install bsd-mailx | ||
# Add the following to /etc/mail.rc: | |||
# set sendmail=/opt/zimbra/postfix/sbin/sendmail | |||
</syntaxhighlight> | </syntaxhighlight> | ||