On Tue, 2012-01-03 at 01:07 +0100, Patrik Magnusson wrote:
> I am unable to see any of my folders on our exchange
> server using evolution-mapi. I can see a folder
> called 'Favorites', but as far as I can tell, there
> is no such folder on the server. There are no
> error messages to indicate that anything is wrong.

        Hi,
the 'Favorites' folder is a special forlde for Evolution-mapi, under
which are shown all public folders you are subscribed to.

> My system is Gentoo. I have installed samba4 (0.16),
> openchange (0.11), evolution-data-server+evolution+
> evolution-mapi (3.3.2) from sources manually.

Good, the 3.3.3 contains more changes in evolution-mapi, none of them
directly related to your issue.

> I have run evolution with CAMEL_DEBUG=all and E2K_DEBUG=2
> (not sure if that is relevant) without seeing anything
> that looks like an outright error.

Yup, those two are not relevant directly to evolution-mapi.

> I also tried adding
> MAPI_DEBUG=10, but that didn't give any further output.

This one should print all raw comunication between evolution-mapi and
your exchange server. It's quite chatty and it works for me. I do:
   $ MAPI_DEBUG=15 evolution

> At one point I thought I needed to add the Inbox-folder
> in order to browse it. This resulted in a folder called
> New Inbox being created on the server - so authentication
> is probably working from within evolution.

That's confusing, because doing so with the MAPI_DEBUG being set may
produce quite many debug information on the evolution console. 

> When I first started evolution and had added my account,
> I realized that I hadn't yet done the imap-db setup
> described in the openchange install manual. I removed
> and recreated the account in evolution after I had
> done those steps - but I'm not sure if there is any more
> cleanup needed?

I didn't run imap-db setup on my system, I do not recall I ever did
that. How do you compile samba4? I use the 'make samba' in openchange's
checkout folder. Note that OpenChange 0.11 tar ball requires two patches
to be able to work properly with evolution-mapi, namely:
   http://tracker.openchange.org/issues/366
   http://tracker.openchange.org/issues/367
I recall I saw similar issue some time ago, and the reason was that
something failed, but the error was not propagated to the UI, nor on a
console, thus it silently failed in the background. For me it was an
incorrect server address, and I fixed it by there steps:
a) run evolution and disable your mapi account
b) close evolution and all its related processes (like
evolution-calendar-factory, evolution-addressbook-factory,
evolution-alarm-notify)
c) remove ~/.local/share/evolution/mapi-profiles.ldb file
d) run evolution from console with debugging on:
   $ MAPI_DEBUG=15 evolution
e) go to Edit->Preferences->Mail Accounts-><mapi-account>->Edit,
Receiving Options tab, and click Authenticate button; it should create
the file removed in step c) and print some debugging information on the
console too. Then it should finish with a message dialogue.
f) enable the account and wait till it's updated. It sometimes happens
that the folder list is not propagated properly the first run after
account enabling (I was not able to reproduce it when trying to debug
the cause), thus maybe another evolution close & run will be needed.

It's also possible that your ldb library doesn't match the one in
samba4, in that case edit script/installsamba4.sh in OpenChange sources
and change:
>       ./configure -C --prefix=$SAMBA_PREFIX --enable-developer
> --bundled-libraries=NONE
to
>       ./configure -C --prefix=$SAMBA_PREFIX --enable-developer
before invoking "make samba", which will build ldb library and others as
required.
        Hope that helps,
        Milan

_______________________________________________
evolution-list mailing list
[email protected]
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-list

Reply via email to