DavMail POP/IMAP/SMTP/Caldav to Exchange

Here you can post links to your contributed packages.
Post Reply
User avatar
damNageHack
Posts: 663
Joined: 24. Sep 2009, 17:07

DavMail POP/IMAP/SMTP/Caldav to Exchange

Post by damNageHack »

Okay, I've read (hopefully like you guys also) the recent newsletter from SF.

http://davmail.sourceforge.net/
Ever wanted to get rid of Outlook ? DavMail is a POP/IMAP/SMTP/Caldav/Carddav/LDAP exchange gateway allowing users to use any mail/calendar client (e.g. Thunderbird with Lightning or Apple iCal) with an Exchange server, even from the internet or behind a firewall through Outlook Web Access. DavMail now includes an LDAP gateway to Exchange global address book and user personal contacts to allow recipient address completion in mail compose window and full calendar support with attendees free/busy display.

DavMail also supports the CardDav protocol to sync address books. This new feature is sponsored by French Defense / DGA through project Trustedbird
Image

Source: http://sourceforge.net/projects/davmail/files/

For build instructions and support, check this out:
http://davmail.sourceforge.net/build.html
http://www.linuxquestions.org/questions ... on-760789/


:arrow: You will need jdk and ant to be able to build.

svn.sh

Code: Select all

#!/bin/bash
pkgname=davmail

# retrieve revision given on command line - else latest revision
svn_rev=${1:-""}
# svn url
svn_dir=${pkgname}
svn_url=http://davmail.svn.sourceforge.net/svnroot/davmail/trunk

# let's rock!
svn_cmd=" co"
# set pkgver to the downloaded revision
cur_rev=$(svn $svn_cmd $svn_url $svn_dir 2>svn_err.log | tail -1 |tr -c -d "[:digit:]")
pkgver="r${cur_rev}"

# create the source archive
tar czf $pkgname-$pkgver.src.tar.gz $svn_dir

# change the SLKBUILD
sed -i 's#^pkgver=.*#pkgver='$pkgver'#' SLKBUILD
SLKBUILD

Code: Select all

#Packager: xx <email@address.com>


pkgname=davmail
pkgver=r1470
pkgrel=1xx
arch=noarch
source=($pkgname-$pkgver.src.tar.gz)
docs=(releasenotes.txt releaseguide.txt)
url=http://davmail.sourceforge.net/

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"DavMail (Outlook exchange gateway)"
"Ever wanted to get rid of Outlook ? DavMail is a "
"POP/IMAP/SMTP/Caldav/Carddav/LDAP exchange gateway allowing users to "
"use any mail/calendar client (e.g. Thunderbird with Lightning or "
"Apple iCal) with an Exchange server, even from the internet or behind "
"a firewall through Outlook Web Access. DavMail now includes an LDAP "
"gateway to Exchange global address book and user personal contacts "
"calendar support with attendees free/busy display."
""
"Homepage: http://davmail.sourceforge.net/"
)


build() {
	cd $startdir/src/$pkgname
	echo JAVA_HOME=$JAVA_HOME
	ant -nice 7 || return 1
	mkdir -p $startdir/pkg/usr/share
	cp -r dist $startdir/pkg/usr/share/$pkgname
	
	(
		# remove all useless crap from the package (todo: exclude w/ ant)
		cd $startdir/pkg/usr/share/$pkgname
		rm *.deb *.zip *.tgz *.exe
		
		# nicer usability
		mkdir -p $startdir/pkg/usr/share/icons/hicolor/48x48/apps
		ln -s davmail.png
		 $startdir/pkg/usr/share/icons/hicolor/48x48/apps
		mkdir -p $startdir/pkg/usr/share/applications
		sed "s,\(Icon=\).*\(davmail\.png\),\1\2," davmail.desktop\
		 >$startdir/pkg/usr/share/applications/davmail.desktop
		mkdir -p $startdir/pkg/usr/bin
		ln -s $startdir/pkg/usr/share/davmail/davmail.sh\
		 $startdir/pkg/usr/bin
		chmod 750 $startdir/pkg/usr/share/davmail/davmail.sh
	)
} 

{ You probably can delete the similiar thread in Package requests section ... }
Last edited by damNageHack on 23. Sep 2010, 14:41, edited 1 time in total.
User avatar
Akuna
Salix Wizard
Posts: 1038
Joined: 14. Jun 2009, 12:25

Re: DavMail

Post by Akuna »

Zarafa is great!
Image
What really matters is where you are going, not where you come from.
User avatar
damNageHack
Posts: 663
Joined: 24. Sep 2009, 17:07

Re: DavMail

Post by damNageHack »

Akuna wrote:Zarafa is great!
Zarafa is only available as a stand-alone server to be a complete alternative to an Outlook Exchange server?
DavMail is a gateway between some mail client not able to talk directly to Exchange and needs therefore some software which translates to another protocol, e.g. POP3.
Post Reply