General

This FAQ didnt help me !

 #evo-mapi in irc.gimp.org - Poke us !

Compiling from source

/usr/include/samba-4.0/ndr.h:404: error: expected declaration specifiers or â€~…’ before â€~comparison_fn_t’

UPDATE : Fixed in evolution-mapi 0.25.90
Error :
/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/bonobo-activation-2.0 -g -O2 -DHAVE_IMMEDIATE_STRUCTURES=1 -I/usr/include/samba-4.0 -g -O2 -MT exchange-mapi-folder.lo -MD -MP -MF .deps/exchange-mapi-folder.Tpo -c exchange-mapi-folder.c -fPIC -DPIC -o .libs/exchange-mapi-folder.o In file included from /usr/include/samba-4.0/dcerpc.h:32, from /usr/include/libmapi/libmapi.h:46, from exchange-mapi-connection.h:30, from exchange-mapi-folder.c:24: /usr/include/samba-4.0/ndr.h:404: error: expected declaration specifiers or â€~…’ before â€~comparison_fn_t’ make[3]: *** [exchange-mapi-folder.lo] Error 1
Solution :
Comment out : /usr/include/samba-4.0/ndr.h:420 which has â€~comparison_fn_t’

configure.ac:163: error: m4_defn: undefined macro: _AC_SUBST_VARS || build/m4/public.m4:171: SMB_WRITE_PERLVARS is expanded from... configure.ac:163: the top level

Solution : Use mmeeks-smb_write_makevars.m4.patch on samba or use a newer version of Samba.

Account Setup

I get an error on the console: "(evolution:XXXXX): e-utils-WARNING **: cant load plugin libdcerpc.so.0: cannot open shared object file: No such file or directory"

The above warning indicates that the Exchange MAPI plugin is not getting loaded when Evolution starts up. You have to export this variable in the terminal before starting Evolution:

 export LD_LIBRARY_PATH=<samba4 installation directory>/lib:$LD_LIBRARY_PATH

For example, if your samba4 installation directory is '/usr/local/samba', then

 export LD_LIBRARY_PATH=/usr/local/samba/lib:$LD_LIBRARY_PATH

(You could add this command in your ~/.profile so that you won't need to do this every time you start Evolution. This warning is also the reason why 'plug-in won't stay on after Evolution shuts down and reopens')

I get an error on the console: "(evolution:XXXXX): libmapi.so.0: cannot open shared object file: No such file or directory"

  Check for the symlink in /opt/samba4 (or libmapi install directory. ) if it is not there,  create symlink with libmapi.so.x

How do I specify my account details?

If a user has an e-mail address first.lastname@xyz.com, then use:

If the Exchange server is part of an AD domain, where the user's handle is somedomain\someuser, then use:

  • 2) Username: someuser

  • 3) Domain: somedomain

Domain? I cant specify that in my setup. Am I screwed?

No! Please check Edit -> Plugins and enable the Exchange MAPI plugin.

Ive specified all the details correctly, but Im unable to get past the Authentication?

Please make sure:

  • Your mailbox is enabled for MAPI (This is a setting on the server).
  • Your Exchange server has Public Folders set up (There have been some issues observed if there is no PF hierarchy setup on the server).

Calendars/Tasks/Memos

Why does each calendar/task list/memo list ask for a password everytime I enable it?

Yes.. Sorry.. It is a bug.. And, we're working really hard to fix it.

UPDATE: This has been fixed in the branch. Yippee!! See the e-d-s fix and the evolution fix

Apps/Evolution/MAPI_FAQ (last edited 2013-08-08 22:50:01 by WilliamJonMcCann)