Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
By
Siwat Siwarborvorn
X-Sidekick Co.,Ltd.
(siwat@xsidekick.com)
● Introduction – COS
● Installation – Domain
– Server Settings
● Process Control
– Zimlets
● Administration – Monitoring
– Account ● Zimbra log
– Alias
● Misc topics
– Distribution List
– Resource
Copyright (c) 2012 X-Sidekick Co.,Ltd. 2
Introduction to Zimbra
● Web base
– Mail client
– Server Admin Console
● External Accounts
– Pop3/Imap client
● SMTP/Pop3(s)/Imap(s) Server
● Spam/Virus scan software include
● Running on Linux
● DNS ready
● All components packed to Zimbra package
– No need to install separately
– If already installed, remove or turn off
● /var/log/zimbra.log
– Will show the line as example below
Aug 28 08:22:20 sampledomain postfix/smtp[23917]: 78DF362ACC:
to=<siwat@sampledomain.com>, orig_to=<all@sampledomain.com>,
relay=127.0.0.1[127.0.0.1]:10024, delay=429, delays=423/0.11/4.3/2.5,
dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in
processing, id=02469-01, parts_decode_ext FAILED: Unix utility file(1) not
available, but is needed at (eval 102) line 110. (in reply to end of DATA
command))
● If no file command
[root@zimbra-class log]# which file
/usr/bin/which: no file in
(/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
● Edit /etc/selinux.conf/config
– Need to be root
– Change line
SELINUX=disabled
● Then... reboot
● Edit /etc/sysconfig/network
● Edit Line
HOSTNAME=your_hostname
# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain
192.168.52.2 sampledomain.com zimbra-class.sampledomain.com
zimbra-class
nameserver your_name_server_ip
;; Got answer:
;; QUESTION SECTION:
;sampledomain.com. IN MX
;; ANSWER SECTION:
● Edit /etc/sysconfig/iptables
– Add lines to allow other hosts to connect
– Format (as of CentOS5/6)
-A INPUT -m state --state NEW -m tcp -p tcp --dport port_no -j ACCEPT
– Append to others “-A INPUT -m state” lines
● Before “-A INPUT -j reject” line
● Restart iptables
# service iptables restart
● Check iptables
# iptables -L -n -v
- or -
# service iptables status
ERROR
Configuration failed
● /opt/zimbra
– Execute file
● /opt/zimbra/bin
– Components (eg, openldap, postfix, mysql …)
– Config file
● /opt/zimbra/conf
– Log directory
● /opt/zimbra/log
# ./install.sh -u
● Two ways
– Web Admin Console
● Routinely admin task
● Setup
– Zimbra Command line
● Special setup
● Not frequently
st
●
1 user
● Password get assigned during installation
● Any user can get admin right
– Access web admin console
● Manage all domains
– OSS version,no aggregate admin
Two Types
● Advanced web client
– Default
– AJAX
– New browser / fast internet connection
● HTML web client
– HTML
– Low resource consume.
● Two basic
– Searching
– Sharing
● On zimbra objects
● New Email
● Options button
– Check “Request Read Receipt”
● Not enable forever
● Advance
– User created folder
– Tag Emails
– External Account
– Email Filter
● Keep contacts
● Multiple Address Books support
– Personal
– Share Contacts
● Company wide
● Department wide
● GAL = Global Address List
● Multiple Calendar
● Share to others
● Add appointments on a calendar
● Views
– Day, week, month , ...
● WYSIWYG editor
● Group documents to notebook
● Versioning
● Store
– Upload files
– Zimbra document (beta)
● Spreadsheet
● Presentation
● User setting
● To access specific setting on preference
– Need to select feature on left pane
● Navigation Pane
– → Addresses
– → Accounts
● Tab will change to “Manage Accounts”
● Select “New” button
– New account wizard
– An attribute group per page
– Editable later
Copyright (c) 2012 X-Sidekick Co.,Ltd. 78
Account Attribute Group
● Account Name
– Hide in GAL (check box)
● Account Setup
– Status
– Class of Service
– Global Administrator
● Password
– Must change password (check box)
Copyright (c) 2012 X-Sidekick Co.,Ltd. 80
Account Status
● Active
● Closed
– disable login, mail bounce
– Set temporary before deleting account
● Locked
– disable login
● Pending
– disable login, mail bounce, not finish setup
● Maintenance
– disable login, mail queue at MTA
Disable/Enable Features
● Major Features
– Disable/Enable access to Zimbra client
components (tabs)
– Ex. Calendar, Task, Preference
● Other features
– General,Mail, Calendar,Search
● Alias is
– An email address
– No mailbox or account
– Forward to another email address
● User can add his/her aliases
● An email address
● No account exists
● Redirect to A single address
● sales@mycompany.com
– Forward to all email addresses of sales
● support@mycompany.com
– Forward to all email addresses of support staff
● all_team@mycompany.com
– Forward to sales@mycompany,
support@mycompaney, ...
● Left pane
– Addresses
– → Distribution Lists
● A type of accounts
– Can login
● Types
– Meeting rooms
– Shared equipments
● Projectors, Video Recorders, ...
● We can use Zimbra to help reserving these
stuffs
● Configuration (pane)
– → Class of Service
● COS tab is opened
– New / Duplicate / Delete / Edit COS
● COS attribute groups (tab)
– similar to user attribute groups
● Internal
● External
– Sync to GAL sync account
– Multiple External Source support
– Sync from
● External LDAP
– Need to specify ldap filter
● Active Directory (AD) server
● Time Zone
● Inbound SMTP hostname
– Hostname MX record point to
– Ex. Virus/spam relay host
● Default COS
● Domain status
– Active
– Closed (no login, not receive emails)
– Locked (no login, still receive emails)
– Maintenance (no login, mail queued on MTA)
– Suspended (as Maintenance, no account
/distribution list get created /modify)
– Shutdown
● Zimbra calendar
– Zimbra queries Exchange
– Zimbre propergates to Exchange
● Authentication
– Enable
● Relay email, need to authen if
– Host is outside trusted network
– TSL authentication only
● Not send password in clear text
● DNS lookup
– Lookup mail server for each destination domain
– Contact directly
– Uncheck, if set “Relay MTA”
● Enable IMAP
● Enable SSL support
● IMAP port number
● IMAP SSL port number
● Enable POP3
● Enable SSL on POP3
● POP3 Port number
● POP3 SSL Port number
● New message
– Store in the current volume
● Benefit
– Selected Backup
– Reuse disk space
● New message
– Store in current volume
● Cannot delete
– Current volume
– Volumes having message referencing
● New account
– Assigned to current index volume
● Old index volumes are used
● Cannot delete
– If index volume referenced by a mailbox
● http://gallery.zimbra.com
– → zimlets
– Or searching by words
● Check supported versions
● Initial zimlets exist
● Multi servers
– Apply to servers
● Single servers
– Some config's not available anywhere else
● General information
– Maximum upload files
● Briefcase
● Emails
● Calendar appointments
● Messages
– Max message size
● Policy service checks (?)
● Protocol checks
● DNS checks
● RBL (Realtime blackhole list)
– Admin Guide , P48
● Advanced Statistic
● Message Count
● Message Volume
● Antispam/ Antivirus Activity
Advanced Statistic
● Add charts (graphs) to be display
– Select domain
– Select Group
– Select Counter
● Multiple Counters supported
● Add / Delete graphs
● Two places
– /var/log/zimbra.log
● All MTA log (postfix)
● Amavis
● ClamAV
– /opt/zimbra/log directory
● Mostly automatically get rotated
● Example
– Company Signature
● Not see during mail composing
● Command line setup only
● Zimbra wiki
● Google
● May need zimbra command line setup