特殊:Badtitle/NS100:KolabMailServer:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/KolabMailServer}} | {{From|https://help.ubuntu.com/community/KolabMailServer}} | ||
{{Languages|UbuntuHelp:KolabMailServer}} | {{Languages|UbuntuHelp:KolabMailServer}} | ||
== Introduction == | == Introduction == | ||
This page will describe how to setup an excellent Mail and Calendaring Server solution using Kolab. This article uses Kolab 2.0.4 which is the latest stable version (as of this writing). You could also use Kolab 2.1.10 which has better support for multiple domains. | This page will describe how to setup an excellent Mail and Calendaring Server solution using Kolab. This article uses Kolab 2.0.4 which is the latest stable version (as of this writing). You could also use Kolab 2.1.10 which has better support for multiple domains. | ||
This wiki introduces Kolab and its' features. This article also talks about installing and configuring Kolab 2.0.4. | This wiki introduces Kolab and its' features. This article also talks about installing and configuring Kolab 2.0.4. | ||
Please feel free to add to this Kolab installation and Wiki. It would be awesome if everyone contributed and added things (like Mailman, Fetchmail, etc.). | Please feel free to add to this Kolab installation and Wiki. It would be awesome if everyone contributed and added things (like Mailman, Fetchmail, etc.). | ||
== About Kolab == | == About Kolab == | ||
[http://www.kolab.org Kolab] is a Groupware Mail and Calendaring server. It is a stable Groupware server which doesn't get enough attention so I am creating this wiki so I can introduce people in the Ubuntu world to catch on and start using Kolab. It is a great alternative to Microsoft Exchange. It supports POP3, SMTP, POP3S, SSMTP, IMAP, IMAPS and features shared LDAP Address Book, Shared Calendars, Out of the Office Notifications, etc. | [http://www.kolab.org Kolab] is a Groupware Mail and Calendaring server. It is a stable Groupware server which doesn't get enough attention so I am creating this wiki so I can introduce people in the Ubuntu world to catch on and start using Kolab. It is a great alternative to Microsoft Exchange. It supports POP3, SMTP, POP3S, SSMTP, IMAP, IMAPS and features shared LDAP Address Book, Shared Calendars, Out of the Office Notifications, etc. | ||
== Pros & Cons == | == Pros & Cons == | ||
This should help people decide on using Kolab by tackling on its' features and limitations. | This should help people decide on using Kolab by tackling on its' features and limitations. | ||
PROS | PROS | ||
* Web Interface Administration - This is awesome because you can do all the basic & some advanced things via a simple web interface! | * Web Interface Administration - This is awesome because you can do all the basic & some advanced things via a simple web interface! | ||
第28行: | 第18行: | ||
* 100% Open Source | * 100% Open Source | ||
* Works perfectly with Kontact, Evolution, and Thunderbird (by using the [https://addons.mozilla.org/en-US/thunderbird/addon/519 Sync Kolab] plugin). | * Works perfectly with Kontact, Evolution, and Thunderbird (by using the [https://addons.mozilla.org/en-US/thunderbird/addon/519 Sync Kolab] plugin). | ||
CONS | CONS | ||
* No Web Interface for users who want to view their emails from a browser. However, we can use any email client that supports POP3, POP3S, IMAP, IMAPS, and SSMTP. The developers are currently working on a web interface that will integrate well with Kolab. You can use Squirrelmail or the testing software called [http://www.horde.org/ Horde], a web calendar & webmail solution that works with Kolab. | * No Web Interface for users who want to view their emails from a browser. However, we can use any email client that supports POP3, POP3S, IMAP, IMAPS, and SSMTP. The developers are currently working on a web interface that will integrate well with Kolab. You can use Squirrelmail or the testing software called [http://www.horde.org/ Horde], a web calendar & webmail solution that works with Kolab. | ||
* MS Outlook users need to install [http://www.toltec.co.za/ Toltec Connector 2] or [http://konsec.com/ KONSEC Konnektor] before they can view and share calendars. However, emails would still work even without those connectors. | * MS Outlook users need to install [http://www.toltec.co.za/ Toltec Connector 2] or [http://konsec.com/ KONSEC Konnektor] before they can view and share calendars. However, emails would still work even without those connectors. | ||
* Kolab 2.0 doesn't fully support multiple domains but it ''can'' be configured. Kolab 2.1 has full multiple domain support out of the box. | * Kolab 2.0 doesn't fully support multiple domains but it ''can'' be configured. Kolab 2.1 has full multiple domain support out of the box. | ||
== Installation == | == Installation == | ||
This has been tested and works on Kubuntu 6.10 Desktop. | This has been tested and works on Kubuntu 6.10 Desktop. | ||
=== Kolab Base Install === | === Kolab Base Install === | ||
NOTE: You can read through 1st.README file you downloaded if you need more info. | NOTE: You can read through 1st.README file you downloaded if you need more info. | ||
1. Download all files from http://ftp.belnet.be/packages/kolab/server/release/kolab-server-2.0.4/ix86-debian3.1/ | 1. Download all files from http://ftp.belnet.be/packages/kolab/server/release/kolab-server-2.0.4/ix86-debian3.1/ | ||
I suggest using Konqueror with Kget(apt-get install kget) and select list links (from within Konqueror), select all and download. Thats the quick way but you could simply go to http://www.kolab.org and go the long way but the site's documentation isn't really friendly. | I suggest using Konqueror with Kget(apt-get install kget) and select list links (from within Konqueror), select all and download. Thats the quick way but you could simply go to http://www.kolab.org and go the long way but the site's documentation isn't really friendly. | ||
2. Open Konsole and type ''sudo ./obmtool kolab'' from the directory where you downloaded the files. | 2. Open Konsole and type ''sudo ./obmtool kolab'' from the directory where you downloaded the files. | ||
3. When thats finished, type ''sudo /kolab/etc/kolab/kolab_bootstrap -b''. Go through the instructions on the screen. | 3. When thats finished, type ''sudo /kolab/etc/kolab/kolab_bootstrap -b''. Go through the instructions on the screen. | ||
4. Run ''/kolab/bin/openpkg rc kolabd restart'' to restart kolab after installation. | 4. Run ''/kolab/bin/openpkg rc kolabd restart'' to restart kolab after installation. | ||
5. Go to https://youripaddress/admin and login as ''manager'' with the password you chose during installation. | 5. Go to https://youripaddress/admin and login as ''manager'' with the password you chose during installation. | ||
=== Installing SmartSieve === | === Installing SmartSieve === | ||
This is so you can manage auto-forwards, vacations and do fancy rules, custom things for a users mailbox. (Eg, autoforward to more than one mailbox). | This is so you can manage auto-forwards, vacations and do fancy rules, custom things for a users mailbox. (Eg, autoforward to more than one mailbox). | ||
1.Download Smart``Sieve from http://smartsieve.sourceforge.net/ use latest source tar build. I used version 0.5.2 . | 1.Download Smart``Sieve from http://smartsieve.sourceforge.net/ use latest source tar build. I used version 0.5.2 . | ||
2.Save it to /kolab/var/kolab/www/smartsieve/ (create that directory and copy it there). | 2.Save it to /kolab/var/kolab/www/smartsieve/ (create that directory and copy it there). | ||
3.Restart Kolab and then go to https://yourserverip/smartsieve/ and login as the user whom you would like to customize/configure. | 3.Restart Kolab and then go to https://yourserverip/smartsieve/ and login as the user whom you would like to customize/configure. | ||
=== Kolabadmin Application === | === Kolabadmin Application === | ||
NOTE: This step is not needed. | NOTE: This step is not needed. | ||
About Kolab``Admin: Kolab``Admin is a native client application to configure the Kolab groupware server. It is written in C++/Qt4, which makes it portable to all platforms (*nix, MacOSX, Windows) and allows a clean and easy installation. | About Kolab``Admin: Kolab``Admin is a native client application to configure the Kolab groupware server. It is written in C++/Qt4, which makes it portable to all platforms (*nix, MacOSX, Windows) and allows a clean and easy installation. | ||
If you would like to install kolabadmin tool (from http://wgess16.dyndns.org/~tobias/qt/kolabadmin/) simply do the following. | If you would like to install kolabadmin tool (from http://wgess16.dyndns.org/~tobias/qt/kolabadmin/) simply do the following. | ||
1. sudo apt-get install libqt4-dev g++ g++-4.1 libstdc++6-4.1-dev libldap2-dev libssl-dev | 1. sudo apt-get install libqt4-dev g++ g++-4.1 libstdc++6-4.1-dev libldap2-dev libssl-dev | ||
2. tar -xjf kolabadmin.tar.bz2 | 2. tar -xjf kolabadmin.tar.bz2 | ||
3. cd kolabadmin | 3. cd kolabadmin | ||
4. qmake | 4. qmake | ||
5. make | 5. make | ||
6. sudo make install | 6. sudo make install | ||
I think Ubuntu 7.04 Feisty Fawn has a kolabadmin package, however, it's incompatible with this installation. | I think Ubuntu 7.04 Feisty Fawn has a kolabadmin package, however, it's incompatible with this installation. | ||
=== Configuring Multiple Domains === | === Configuring Multiple Domains === | ||
Kolab 2.1.10 has better multiple domain support but you can get a simple multiple domains configuration running on Kolab 2.0.4 stable as well. | Kolab 2.1.10 has better multiple domain support but you can get a simple multiple domains configuration running on Kolab 2.0.4 stable as well. | ||
Note: As per http://wiki.kolab.org/index.php/Multiple_Domains | Note: As per http://wiki.kolab.org/index.php/Multiple_Domains | ||
1. Edit /kolab/etc/kolab/templates/main.cf.template and find line ''mydestination'' and ensure it looks as example below: | 1. Edit /kolab/etc/kolab/templates/main.cf.template and find line ''mydestination'' and ensure it looks as example below: | ||
<pre><nowiki> | <pre><nowiki> | ||
mydestination = @@@postfix-mydestination|join @@@ anotherdomain1.com @@@ anotherdomain2.com | mydestination = @@@postfix-mydestination|join @@@ anotherdomain1.com @@@ anotherdomain2.com | ||
</nowiki></pre> | </nowiki></pre> | ||
2.Run /kolab/sbin/kolabconf | 2.Run /kolab/sbin/kolabconf | ||
3.Modify user details and add an alias such as [email protected] | 3.Modify user details and add an alias such as [email protected] | ||
=== Configuring Anti-Spam & Anti-Virus === | === Configuring Anti-Spam & Anti-Virus === | ||
1.Setup everything (or those that you only like) as per this link: | 1.Setup everything (or those that you only like) as per this link: | ||
http://wiki.kolab.org/index.php/Fighting_spam | http://wiki.kolab.org/index.php/Fighting_spam | ||
2. After doing the above, add a script to auto learn spam & ham in the hambox/spambox. | 2. After doing the above, add a script to auto learn spam & ham in the hambox/spambox. | ||
a. Run crontab -e as root and add 0 0 "* * * sudo -u kolab-r /usr/local/scripts/spam-learn.sh" to line in crontab file. | a. Run crontab -e as root and add 0 0 "* * * sudo -u kolab-r /usr/local/scripts/spam-learn.sh" to line in crontab file. | ||
b. Create script in /usr/local/scripts/spam-learn.sh with below contents in file and also make it executable: ''chmod 700 /usr/local/scripts/spam-learn.sh'' | b. Create script in /usr/local/scripts/spam-learn.sh with below contents in file and also make it executable: ''chmod 700 /usr/local/scripts/spam-learn.sh'' | ||
<pre><nowiki> | <pre><nowiki> | ||
#!/bin/bash | #!/bin/bash | ||
第127行: | 第69行: | ||
/kolab/bin/sa-learn --ham /kolab/var/imapd/spool/domain/*/shared^ham/[1-9]* | /kolab/bin/sa-learn --ham /kolab/var/imapd/spool/domain/*/shared^ham/[1-9]* | ||
</nowiki></pre> | </nowiki></pre> | ||
3. Disable Virus notifications – edit /kolab/etc/kolab/templates/amavisd.conf search for the section below and ensure its uncommented. | 3. Disable Virus notifications – edit /kolab/etc/kolab/templates/amavisd.conf search for the section below and ensure its uncommented. | ||
<pre><nowiki> | <pre><nowiki> | ||
# Notify virus (or banned files) RECIPIENT? | # Notify virus (or banned files) RECIPIENT? | ||
# (not very useful, but some policies demand it) | # (not very useful, but some policies demand it) | ||
#$warnvirusrecip = 0; # (defaults to false (undef)) | #$warnvirusrecip = 0; # (defaults to false (undef)) | ||
#$warnbannedrecip = 0; # (defaults to false (undef)) | #$warnbannedrecip = 0; # (defaults to false (undef)) | ||
</nowiki></pre> | </nowiki></pre> | ||
4. Change detected spam email (in file /kolab/etc/kolab/templates/amavisd.conf) to not come through as simply flagged but rather be discarded(which will be quarantined if setup correctly as per link above) – Ensure below options are set as per example below: | 4. Change detected spam email (in file /kolab/etc/kolab/templates/amavisd.conf) to not come through as simply flagged but rather be discarded(which will be quarantined if setup correctly as per link above) – Ensure below options are set as per example below: | ||
<pre><nowiki> | <pre><nowiki> | ||
$final_spam_destiny = D_DISCARD; # (defaults to D_REJECT) | $final_spam_destiny = D_DISCARD; # (defaults to D_REJECT) | ||
$final_bad_header_destiny = D_DISCARD; # (defaults to D_PASS), D_BOUNCE suggested | $final_bad_header_destiny = D_DISCARD; # (defaults to D_PASS), D_BOUNCE suggested | ||
</nowiki></pre> | </nowiki></pre> | ||
5. Run /kolab/sbin/kolabconf | 5. Run /kolab/sbin/kolabconf | ||
6. Monitor peoples mailboxes over week or so (with leave mail on host) for spam and move or copy (don't forward!) the spam to the spambox you created earlier. Your script you added to cron will study the spam in spambox and will quarantine similar emails in the future. | 6. Monitor peoples mailboxes over week or so (with leave mail on host) for spam and move or copy (don't forward!) the spam to the spambox you created earlier. Your script you added to cron will study the spam in spambox and will quarantine similar emails in the future. | ||
=== Intergrating MailMan === | === Intergrating MailMan === | ||
Mail``Man is great if you would to control who can email and can't email certain email lists and control it tightly. It can be intergrated quite easily. | Mail``Man is great if you would to control who can email and can't email certain email lists and control it tightly. It can be intergrated quite easily. | ||
http://wiki.kolab.org/index.php/Kolab2_Integration_with_mailman | http://wiki.kolab.org/index.php/Kolab2_Integration_with_mailman | ||
=== Intergrating HylaFax === | === Intergrating HylaFax === | ||
This could be cool. | This could be cool. | ||
http://wiki.kolab.org/index.php/Kolab2_Integration_with_HylaFax | http://wiki.kolab.org/index.php/Kolab2_Integration_with_HylaFax | ||
== Administration == | == Administration == | ||
=== Managing Users === | === Managing Users === | ||
How to create/delete/modify user accounts. | How to create/delete/modify user accounts. | ||
=== Distribution lists === | === Distribution lists === | ||
How to create/delete/modify distribution lists. | How to create/delete/modify distribution lists. | ||
=== Address book === | === Address book === | ||
How to add a all email clients to use the LDAP Address book. | How to add a all email clients to use the LDAP Address book. | ||
NOTE: By default Kolab will add all users(if they normal account) to the address book. | NOTE: By default Kolab will add all users(if they normal account) to the address book. | ||
=== Configuring Forwards === | === Configuring Forwards === | ||
1. Go to Kolab Webadmin interface and login as the user. Click on vacation/forward/out of office etc. | 1. Go to Kolab Webadmin interface and login as the user. Click on vacation/forward/out of office etc. | ||
If you need something that can forward to more than one account and have custom rules for a persons mailbox then you need to install Smartsieve. | If you need something that can forward to more than one account and have custom rules for a persons mailbox then you need to install Smartsieve. | ||
=== Using SmartSieve === | === Using SmartSieve === | ||
1.If you need to setup multiple forward or something more fancy then go to the Smartsieve website at https://yourserverip/smartsieve/ | 1.If you need to setup multiple forward or something more fancy then go to the Smartsieve website at https://yourserverip/smartsieve/ | ||
2.Login as the user and make the changes. If you create a new rule and want to forward to multiple ensure to check the box that says “Check message against next rule also”. | 2.Login as the user and make the changes. If you create a new rule and want to forward to multiple ensure to check the box that says “Check message against next rule also”. | ||
Very simple. | Very simple. | ||
== Support == | == Support == | ||
=== Community Support&Feedback === | === Community Support&Feedback === | ||
Please join the community! Join the mailing list or IRC, read the posts, ask questions and try to help out. If you have any problems or anything just mail the mailing list! | Please join the community! Join the mailing list or IRC, read the posts, ask questions and try to help out. If you have any problems or anything just mail the mailing list! | ||
https://kolab.org/mailman/listinfo/kolab-users | https://kolab.org/mailman/listinfo/kolab-users | ||
Join #kolab channel on irc.freenode.net | Join #kolab channel on irc.freenode.net | ||
=== Professional Support === | === Professional Support === | ||
You might need professional support and backing. In such, below is a few contacts and details.(Feel free to add more!) | You might need professional support and backing. In such, below is a few contacts and details.(Feel free to add more!) | ||
Kolab Konsortium (Germany) | Kolab Konsortium (Germany) | ||
http://www.kolab-konsortium.de/en/index.html | http://www.kolab-konsortium.de/en/index.html | ||
Univention (Germany) | Univention (Germany) | ||
http://www.univention.de/english.html | http://www.univention.de/english.html | ||
---- | ---- | ||
[[category:CategoryDocumentation]] | [[category:CategoryDocumentation]] | ||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2007年11月30日 (五) 20:00的版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/KolabMailServer }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:KolabMailServer | UbuntuHelp:KolabMailServer | {{#if: | :}}KolabMailServer}}/af | • {{#if: UbuntuHelp:KolabMailServer|Afrikaans| [[::KolabMailServer/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:KolabMailServer | UbuntuHelp:KolabMailServer | {{#if: | :}}KolabMailServer}}/ar | • {{#if: UbuntuHelp:KolabMailServer|العربية| [[::KolabMailServer/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:KolabMailServer | UbuntuHelp:KolabMailServer | {{#if: | :}}KolabMailServer}}/az | • {{#if: UbuntuHelp:KolabMailServer|azərbaycanca| [[::KolabMailServer/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:KolabMailServer | UbuntuHelp:KolabMailServer | {{#if: | :}}KolabMailServer}}/bcc | • {{#if: UbuntuHelp:KolabMailServer|جهلسری بلوچی| [[::KolabMailServer/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:KolabMailServer | UbuntuHelp:KolabMailServer | {{#if: | :}}KolabMailServer}}/bg | • {{#if: UbuntuHelp:KolabMailServer|български| [[::KolabMailServer/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:KolabMailServer | UbuntuHelp:KolabMailServer | {{#if: | :}}KolabMailServer}}/br | • {{#if: UbuntuHelp:KolabMailServer|brezhoneg| [[::KolabMailServer/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:KolabMailServer | UbuntuHelp:KolabMailServer | {{#if: | :}}KolabMailServer}}/ca | • {{#if: UbuntuHelp:KolabMailServer|català| [[::KolabMailServer/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:KolabMailServer | UbuntuHelp:KolabMailServer | {{#if: | :}}KolabMailServer}}/cs | • {{#if: UbuntuHelp:KolabMailServer|čeština| [[::KolabMailServer/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:KolabMailServer | UbuntuHelp:KolabMailServer | {{#if: | :}}KolabMailServer}}/de | • {{#if: UbuntuHelp:KolabMailServer|Deutsch| [[::KolabMailServer/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:KolabMailServer | UbuntuHelp:KolabMailServer | {{#if: | :}}KolabMailServer}}/el | • {{#if: UbuntuHelp:KolabMailServer|Ελληνικά| [[::KolabMailServer/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:KolabMailServer | UbuntuHelp:KolabMailServer | {{#if: | :}}KolabMailServer}}/es | • {{#if: UbuntuHelp:KolabMailServer|español| [[::KolabMailServer/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:KolabMailServer | UbuntuHelp:KolabMailServer | {{#if: | :}}KolabMailServer}}/fa | • {{#if: UbuntuHelp:KolabMailServer|فارسی| [[::KolabMailServer/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:KolabMailServer | UbuntuHelp:KolabMailServer | {{#if: | :}}KolabMailServer}}/fi | • {{#if: UbuntuHelp:KolabMailServer|suomi| [[::KolabMailServer/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:KolabMailServer | UbuntuHelp:KolabMailServer | {{#if: | :}}KolabMailServer}}/fr | • {{#if: UbuntuHelp:KolabMailServer|français| [[::KolabMailServer/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:KolabMailServer | UbuntuHelp:KolabMailServer | {{#if: | :}}KolabMailServer}}/gu | • {{#if: UbuntuHelp:KolabMailServer|ગુજરાતી| [[::KolabMailServer/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:KolabMailServer | UbuntuHelp:KolabMailServer | {{#if: | :}}KolabMailServer}}/he | • {{#if: UbuntuHelp:KolabMailServer|עברית| [[::KolabMailServer/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:KolabMailServer | UbuntuHelp:KolabMailServer | {{#if: | :}}KolabMailServer}}/hu | • {{#if: UbuntuHelp:KolabMailServer|magyar| [[::KolabMailServer/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:KolabMailServer | UbuntuHelp:KolabMailServer | {{#if: | :}}KolabMailServer}}/id | • {{#if: UbuntuHelp:KolabMailServer|Bahasa Indonesia| [[::KolabMailServer/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:KolabMailServer | UbuntuHelp:KolabMailServer | {{#if: | :}}KolabMailServer}}/it | • {{#if: UbuntuHelp:KolabMailServer|italiano| [[::KolabMailServer/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:KolabMailServer | UbuntuHelp:KolabMailServer | {{#if: | :}}KolabMailServer}}/ja | • {{#if: UbuntuHelp:KolabMailServer|日本語| [[::KolabMailServer/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:KolabMailServer | UbuntuHelp:KolabMailServer | {{#if: | :}}KolabMailServer}}/ko | • {{#if: UbuntuHelp:KolabMailServer|한국어| [[::KolabMailServer/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:KolabMailServer | UbuntuHelp:KolabMailServer | {{#if: | :}}KolabMailServer}}/ksh | • {{#if: UbuntuHelp:KolabMailServer|Ripoarisch| [[::KolabMailServer/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:KolabMailServer | UbuntuHelp:KolabMailServer | {{#if: | :}}KolabMailServer}}/mr | • {{#if: UbuntuHelp:KolabMailServer|मराठी| [[::KolabMailServer/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:KolabMailServer | UbuntuHelp:KolabMailServer | {{#if: | :}}KolabMailServer}}/ms | • {{#if: UbuntuHelp:KolabMailServer|Bahasa Melayu| [[::KolabMailServer/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:KolabMailServer | UbuntuHelp:KolabMailServer | {{#if: | :}}KolabMailServer}}/nl | • {{#if: UbuntuHelp:KolabMailServer|Nederlands| [[::KolabMailServer/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:KolabMailServer | UbuntuHelp:KolabMailServer | {{#if: | :}}KolabMailServer}}/no | • {{#if: UbuntuHelp:KolabMailServer|norsk| [[::KolabMailServer/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:KolabMailServer | UbuntuHelp:KolabMailServer | {{#if: | :}}KolabMailServer}}/oc | • {{#if: UbuntuHelp:KolabMailServer|occitan| [[::KolabMailServer/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:KolabMailServer | UbuntuHelp:KolabMailServer | {{#if: | :}}KolabMailServer}}/pl | • {{#if: UbuntuHelp:KolabMailServer|polski| [[::KolabMailServer/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:KolabMailServer | UbuntuHelp:KolabMailServer | {{#if: | :}}KolabMailServer}}/pt | • {{#if: UbuntuHelp:KolabMailServer|português| [[::KolabMailServer/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:KolabMailServer | UbuntuHelp:KolabMailServer | {{#if: | :}}KolabMailServer}}/ro | • {{#if: UbuntuHelp:KolabMailServer|română| [[::KolabMailServer/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:KolabMailServer | UbuntuHelp:KolabMailServer | {{#if: | :}}KolabMailServer}}/ru | • {{#if: UbuntuHelp:KolabMailServer|русский| [[::KolabMailServer/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:KolabMailServer | UbuntuHelp:KolabMailServer | {{#if: | :}}KolabMailServer}}/si | • {{#if: UbuntuHelp:KolabMailServer|සිංහල| [[::KolabMailServer/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:KolabMailServer | UbuntuHelp:KolabMailServer | {{#if: | :}}KolabMailServer}}/sq | • {{#if: UbuntuHelp:KolabMailServer|shqip| [[::KolabMailServer/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:KolabMailServer | UbuntuHelp:KolabMailServer | {{#if: | :}}KolabMailServer}}/sr | • {{#if: UbuntuHelp:KolabMailServer|српски / srpski| [[::KolabMailServer/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:KolabMailServer | UbuntuHelp:KolabMailServer | {{#if: | :}}KolabMailServer}}/sv | • {{#if: UbuntuHelp:KolabMailServer|svenska| [[::KolabMailServer/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:KolabMailServer | UbuntuHelp:KolabMailServer | {{#if: | :}}KolabMailServer}}/th | • {{#if: UbuntuHelp:KolabMailServer|ไทย| [[::KolabMailServer/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:KolabMailServer | UbuntuHelp:KolabMailServer | {{#if: | :}}KolabMailServer}}/tr | • {{#if: UbuntuHelp:KolabMailServer|Türkçe| [[::KolabMailServer/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:KolabMailServer | UbuntuHelp:KolabMailServer | {{#if: | :}}KolabMailServer}}/vi | • {{#if: UbuntuHelp:KolabMailServer|Tiếng Việt| [[::KolabMailServer/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:KolabMailServer | UbuntuHelp:KolabMailServer | {{#if: | :}}KolabMailServer}}/yue | • {{#if: UbuntuHelp:KolabMailServer|粵語| [[::KolabMailServer/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:KolabMailServer | UbuntuHelp:KolabMailServer | {{#if: | :}}KolabMailServer}}/zh | • {{#if: UbuntuHelp:KolabMailServer|中文| [[::KolabMailServer/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:KolabMailServer | UbuntuHelp:KolabMailServer | {{#if: | :}}KolabMailServer}}/zh-hans | • {{#if: UbuntuHelp:KolabMailServer|中文(简体)| [[::KolabMailServer/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:KolabMailServer | UbuntuHelp:KolabMailServer | {{#if: | :}}KolabMailServer}}/zh-hant | • {{#if: UbuntuHelp:KolabMailServer|中文(繁體)| [[::KolabMailServer/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:KolabMailServer|:KolabMailServer|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :KolabMailServer/zh | | {{#ifexist: KolabMailServer/zh | | {{#ifeq: {{#titleparts:KolabMailServer|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:KolabMailServer|1|-1|}} | zh | | }}
Introduction
This page will describe how to setup an excellent Mail and Calendaring Server solution using Kolab. This article uses Kolab 2.0.4 which is the latest stable version (as of this writing). You could also use Kolab 2.1.10 which has better support for multiple domains. This wiki introduces Kolab and its' features. This article also talks about installing and configuring Kolab 2.0.4. Please feel free to add to this Kolab installation and Wiki. It would be awesome if everyone contributed and added things (like Mailman, Fetchmail, etc.).
About Kolab
Kolab is a Groupware Mail and Calendaring server. It is a stable Groupware server which doesn't get enough attention so I am creating this wiki so I can introduce people in the Ubuntu world to catch on and start using Kolab. It is a great alternative to Microsoft Exchange. It supports POP3, SMTP, POP3S, SSMTP, IMAP, IMAPS and features shared LDAP Address Book, Shared Calendars, Out of the Office Notifications, etc.
Pros & Cons
This should help people decide on using Kolab by tackling on its' features and limitations. PROS
- Web Interface Administration - This is awesome because you can do all the basic & some advanced things via a simple web interface!
- SSMTP - which means can send emails off the server securely.
- Shared Calenders - like MS Exchange Server
- Shared Address Books
- Full Groupware functionalities
- Excellent Anti-Spam and Anti-Virus feature built into the server (needs minimal configuration to get it going)
- 100% Open Source
- Works perfectly with Kontact, Evolution, and Thunderbird (by using the Sync Kolab plugin).
CONS
- No Web Interface for users who want to view their emails from a browser. However, we can use any email client that supports POP3, POP3S, IMAP, IMAPS, and SSMTP. The developers are currently working on a web interface that will integrate well with Kolab. You can use Squirrelmail or the testing software called Horde, a web calendar & webmail solution that works with Kolab.
- MS Outlook users need to install Toltec Connector 2 or KONSEC Konnektor before they can view and share calendars. However, emails would still work even without those connectors.
- Kolab 2.0 doesn't fully support multiple domains but it can be configured. Kolab 2.1 has full multiple domain support out of the box.
Installation
This has been tested and works on Kubuntu 6.10 Desktop.
Kolab Base Install
NOTE: You can read through 1st.README file you downloaded if you need more info. 1. Download all files from http://ftp.belnet.be/packages/kolab/server/release/kolab-server-2.0.4/ix86-debian3.1/ I suggest using Konqueror with Kget(apt-get install kget) and select list links (from within Konqueror), select all and download. Thats the quick way but you could simply go to http://www.kolab.org and go the long way but the site's documentation isn't really friendly. 2. Open Konsole and type sudo ./obmtool kolab from the directory where you downloaded the files. 3. When thats finished, type sudo /kolab/etc/kolab/kolab_bootstrap -b. Go through the instructions on the screen. 4. Run /kolab/bin/openpkg rc kolabd restart to restart kolab after installation. 5. Go to https://youripaddress/admin and login as manager with the password you chose during installation.
Installing SmartSieve
This is so you can manage auto-forwards, vacations and do fancy rules, custom things for a users mailbox. (Eg, autoforward to more than one mailbox). 1.Download Smart``Sieve from http://smartsieve.sourceforge.net/ use latest source tar build. I used version 0.5.2 . 2.Save it to /kolab/var/kolab/www/smartsieve/ (create that directory and copy it there). 3.Restart Kolab and then go to https://yourserverip/smartsieve/ and login as the user whom you would like to customize/configure.
Kolabadmin Application
NOTE: This step is not needed. About Kolab``Admin: Kolab``Admin is a native client application to configure the Kolab groupware server. It is written in C++/Qt4, which makes it portable to all platforms (*nix, MacOSX, Windows) and allows a clean and easy installation. If you would like to install kolabadmin tool (from http://wgess16.dyndns.org/~tobias/qt/kolabadmin/) simply do the following. 1. sudo apt-get install libqt4-dev g++ g++-4.1 libstdc++6-4.1-dev libldap2-dev libssl-dev 2. tar -xjf kolabadmin.tar.bz2 3. cd kolabadmin 4. qmake 5. make 6. sudo make install I think Ubuntu 7.04 Feisty Fawn has a kolabadmin package, however, it's incompatible with this installation.
Configuring Multiple Domains
Kolab 2.1.10 has better multiple domain support but you can get a simple multiple domains configuration running on Kolab 2.0.4 stable as well. Note: As per http://wiki.kolab.org/index.php/Multiple_Domains 1. Edit /kolab/etc/kolab/templates/main.cf.template and find line mydestination and ensure it looks as example below:
mydestination = @@@postfix-mydestination|join @@@ anotherdomain1.com @@@ anotherdomain2.com
2.Run /kolab/sbin/kolabconf 3.Modify user details and add an alias such as [email protected]
Configuring Anti-Spam & Anti-Virus
1.Setup everything (or those that you only like) as per this link: http://wiki.kolab.org/index.php/Fighting_spam 2. After doing the above, add a script to auto learn spam & ham in the hambox/spambox. a. Run crontab -e as root and add 0 0 "* * * sudo -u kolab-r /usr/local/scripts/spam-learn.sh" to line in crontab file. b. Create script in /usr/local/scripts/spam-learn.sh with below contents in file and also make it executable: chmod 700 /usr/local/scripts/spam-learn.sh
#!/bin/bash export HOME=/kolab/var/amavisd /kolab/bin/sa-learn --spam /kolab/var/imapd/spool/domain/*/shared^spam/[1-9]* /kolab/bin/sa-learn --ham /kolab/var/imapd/spool/domain/*/shared^ham/[1-9]*
3. Disable Virus notifications – edit /kolab/etc/kolab/templates/amavisd.conf search for the section below and ensure its uncommented.
# Notify virus (or banned files) RECIPIENT? # (not very useful, but some policies demand it) #$warnvirusrecip = 0; # (defaults to false (undef)) #$warnbannedrecip = 0; # (defaults to false (undef))
4. Change detected spam email (in file /kolab/etc/kolab/templates/amavisd.conf) to not come through as simply flagged but rather be discarded(which will be quarantined if setup correctly as per link above) – Ensure below options are set as per example below:
$final_spam_destiny = D_DISCARD; # (defaults to D_REJECT) $final_bad_header_destiny = D_DISCARD; # (defaults to D_PASS), D_BOUNCE suggested
5. Run /kolab/sbin/kolabconf 6. Monitor peoples mailboxes over week or so (with leave mail on host) for spam and move or copy (don't forward!) the spam to the spambox you created earlier. Your script you added to cron will study the spam in spambox and will quarantine similar emails in the future.
Intergrating MailMan
Mail``Man is great if you would to control who can email and can't email certain email lists and control it tightly. It can be intergrated quite easily. http://wiki.kolab.org/index.php/Kolab2_Integration_with_mailman
Intergrating HylaFax
This could be cool. http://wiki.kolab.org/index.php/Kolab2_Integration_with_HylaFax
Administration
Managing Users
How to create/delete/modify user accounts.
Distribution lists
How to create/delete/modify distribution lists.
Address book
How to add a all email clients to use the LDAP Address book. NOTE: By default Kolab will add all users(if they normal account) to the address book.
Configuring Forwards
1. Go to Kolab Webadmin interface and login as the user. Click on vacation/forward/out of office etc. If you need something that can forward to more than one account and have custom rules for a persons mailbox then you need to install Smartsieve.
Using SmartSieve
1.If you need to setup multiple forward or something more fancy then go to the Smartsieve website at https://yourserverip/smartsieve/ 2.Login as the user and make the changes. If you create a new rule and want to forward to multiple ensure to check the box that says “Check message against next rule also”. Very simple.
Support
Community Support&Feedback
Please join the community! Join the mailing list or IRC, read the posts, ask questions and try to help out. If you have any problems or anything just mail the mailing list! https://kolab.org/mailman/listinfo/kolab-users Join #kolab channel on irc.freenode.net
Professional Support
You might need professional support and backing. In such, below is a few contacts and details.(Feel free to add more!) Kolab Konsortium (Germany) http://www.kolab-konsortium.de/en/index.html [email protected] Univention (Germany) http://www.univention.de/english.html