[Evolution] storing Inbox mails from Exchange into local folder

2009-07-17 Thread Matthias Apitz

Hello,

Is there a way to store all mail (or at least all mail which have been
fetched for reading) from Exchange's Inbox into a local folder?
Thx

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
People who hate Microsoft Windows use Linux but people who love UNIX use 
FreeBSD.
___
Evolution-list mailing list
Evolution-list@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-list


[Evolution] Problem with evolution-exchange-storage.exe (Evolution 2.26.2)

2009-07-17 Thread Maciej Malawski
Hello

This is my first poist here. 

I try to use Evolution 2.26.2 (Windows XP Prof.) with Exchange System
6.5

After initial configuration I am able to watch and send messages.

Unfortunately after 1-2 minutes I always get error:

 

Assertion failed!

Program: ...\evolution\2.26\evolution-exchange-storage.exe

File: ath.c

Line: 193

Expression: *lock == MUTEX_UNLOCKED

 

After that system closes volution-exchange-storage.exe and access to
messages is disabled.

It happened on 2 computers.

Has anyone any solution?

 

Maciej Malawski

___
Evolution-list mailing list
Evolution-list@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-list


[Evolution] Rewritten "Compiling Evolution from SVN" guide

2009-07-17 Thread H.Habighorst
Hello,

I have rewritten the Compiling from Evolution from SVN guide.

It's heavily based on the old manual, but I've tried to add more
information and to remove old / deprecated information.

Feel free to edit this and to use it like you want.

Henning Habighorst / liam 
This guide is heavily based on the "Compile Evolution from SVN guide".

I wanted to port this to the new GIT interface and correct or improve some 
things.

Prerequisites

sudo make install magic

Most distributions have already added the necessary steps to use sudo. It's 
common to use the group "wheel" to give users the permission to use sudo.

You can check this in "/etc/sudoers". For editing, visudo is recommended - but 
not necessary. Just be careful! 

"%wheel ALL=(ALL) ALL" - would be the necessary line to give users of the group 
wheel the permission to use sudo with every command.

"usermod -a -G wheel username" for example adds the group wheel to username.

Dependencies...

Evolution < 2.29 : glib2 , gtk+ , libbonobo & libbonoboui , gtkhtml , gconf, 
libglade, libgnomecanvas,
libgnome & libgnomeui, libxml , shared-mime-info, nss & nspr [for ssl]

Evolution-Data-Server <= 2.29 : additionally libsoup , gnome-keyring , sqlite , 
libical 

Evolution >= 2.29 : the same as < 2.29 plus unique, except 
libbonobo/libbonoboui/libgnome/libgnomeui 

Every distribution has it's own packaging system.

Like this, you need to find out for yourself how to install these packages - 
please be aware that in most cases you'll need to install the -dev packages!

Debugging

You'll might wonder why we start with debugging before building. Well, because 
building influences debugging...

There is an simple explanation for this : Usually, you want to have a fast 
software - so the distributions use the compiler to optimize the software while 
building...

This is indeed something good - if you just want to run the software. If you 
want to debug the software it's pretty bad.

Optimizing means that information gets stripped away that's necessary for 
debugging - the devs get a backtrace that contains information which is not 
useful or not human readable.

So we should be careful while building - this is especially an warning to those 
who use source based distributions!

My Shell config file contains the following two entries :

export CFLAGS="-O0 -ggdb"
export CXXFLAGS="${CFLAGS}"

These cflags/cxxflags will tell the compiler to turn off optimization and to 
turn on debugging code.

I would recommend that you'll transfer this in your .bashrc or whatever you use.

Please install the -dbg packages, if your distribution ships them! These are 
required for proper debugging!

If you are using a source based distribution, turn off stripping at least for 
the dependencies! See "!strip" Feature in ArkLinux BuildSystem, Gentoo : 
http://www.gentoo.org/proj/en/qa/backtraces.xml etc!

Before the actual build takes place

Prepare a build-directory

mkdir -p ~/sources/gnome
cd ~/sources/gnome

I guess you are not an developer on gnome, like this we use the anonymous GIT 
access :

The server is "git://git.gnome.org/".

Now it depends on what you want to have :

evolution | evolution-data-server | gtkhtml | libsoup | evolution-mapi | 
evolution-exchange 

The general checkout command is "git clone git://git.gnome.org/MODULE_NAME" 
where MODULE_NAME is one of the above.

evolution-mapi / evolution-exchange are optional!

Please fetch now evolution | evolution-data-server | gtkhtml | libsoup !

A few notes before building :

I build with the usual prefix /usr/local. Therefore everything that's written 
here depends on this prefix.[ as it is the usual prefix, I don't need to set 
--prefix=/usr/local. If you want another prefix, please append the --prefix 
option to autogen.sh! ]

The following might be necessary to run evolution after building or influences 
building too : 
[ replace BASE_VERSION with the version of evolution... ]

export CPUS="-jX" 
--> defines that make uses X jobs.

export 
PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:$PKG_CONFIG_PATH"
--> tells pkg-config where to look for his configuration files

export 
LD_LIBRARY_PATH="/usr/local/lib:/usr/local/lib/evolution/BASE_VERSION:$LD_LIBRARY_PATH"
--> directories in which to search for shared libraries

export 
PATH="/usr/local/bin:/usr/local/libexec:/usr/local/libexec/evolution/BASE_VERSION/$PATH"
--> sets the PATH variable 

For evolution < 2.29 :

export 
BONOBO_ACTIVATION_PATH="/usr/local/lib/bonobo/servers:$BONOBO_ACTIVATION_PATH"

(or edit /etc/bonobo-activation/bonobo-activation-config.xml [or wherever 
bonobo-activation-config.xml lies] to include 
/usr/local/lib64/bonobo/servers ! [leave the rest like it is!] )

Doing libsoup

pushd libsoup
./autogen.sh
make $CPUS
make install
popd

Doing gtkhtml

pushd gtkhtml
./autogen.sh
make $CPUS
make install
popd

Doing evolution-data-server ( with gnome-keyring support enabled )
( < 2.27.4 : add --ena

Re: [Evolution] storing Inbox mails from Exchange into local folder

2009-07-17 Thread Ng Oon-Ee
On Fri, 2009-07-17 at 09:59 +0200, Matthias Apitz wrote:
> Hello,
> 
> Is there a way to store all mail (or at least all mail which have been
> fetched for reading) from Exchange's Inbox into a local folder?
> Thx
> 
>   matthias

Message filters? Just set the originating account and a 'copy to' or
'move to' depending what you want.

___
Evolution-list mailing list
Evolution-list@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] storing Inbox mails from Exchange into local folder

2009-07-17 Thread Matthias Apitz
El día Friday, July 17, 2009 a las 04:51:36PM +0800, Ng Oon-Ee escribió:

> On Fri, 2009-07-17 at 09:59 +0200, Matthias Apitz wrote:
> > Hello,
> > 
> > Is there a way to store all mail (or at least all mail which have been
> > fetched for reading) from Exchange's Inbox into a local folder?
> > Thx
> > 
> > matthias
> 
> Message filters? Just set the originating account and a 'copy to' or
> 'move to' depending what you want.

Thanks for the hint; I've tried a test filter because this is new to me
in Evo; based on the Subject containing 'ttt' it should be copied to a
folder; the filter does not work; I went to the FAQ and enabled filter
logging; the log file is created but zero size; and yes: I've set in the
options of the Exchange accout 'apply filter to Inbox on this server';
what else could be wrong?

thx

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
People who hate Microsoft Windows use Linux but people who love UNIX use 
FreeBSD.
___
Evolution-list mailing list
Evolution-list@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] storing Inbox mails from Exchange into local folder

2009-07-17 Thread Matthias Apitz
El día Friday, July 17, 2009 a las 12:40:23PM +0200, Matthias Apitz escribió:

> > Message filters? Just set the originating account and a 'copy to' or
> > 'move to' depending what you want.
> 
> Thanks for the hint; I've tried a test filter because this is new to me
> in Evo; based on the Subject containing 'ttt' it should be copied to a
> folder; the filter does not work; I went to the FAQ and enabled filter
> logging; the log file is created but zero size; and yes: I've set in the
> options of the Exchange account 'apply filter to Inbox on this server';
> what else could be wrong?

Reading the FAQ again and thinking about, I have the feeling that this
(filtering in an Exchange located Inbox) can't work at all. The mail
arrives in the Exchange server's Inbox, regardless if I'm connected to
this with my Evolution client. Only filters which are installed there on
the other side of the world could be run through, but not mine one I'm
defining locally. This kind of filtering can only work locally based on
IMAP fetches.

Someone should correct the FAQ, I think.

matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
People who hate Microsoft Windows use Linux but people who love UNIX use 
FreeBSD.
___
Evolution-list mailing list
Evolution-list@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] storing Inbox mails from Exchange into local folder

2009-07-17 Thread Milan Crha
On Fri, 2009-07-17 at 14:35 +0200, Matthias Apitz wrote:
> Reading the FAQ again and thinking about, I have the feeling that this
> (filtering in an Exchange located Inbox) can't work at all. The mail
> arrives in the Exchange server's Inbox, regardless if I'm connected to
> this with my Evolution client. Only filters which are installed there on
> the other side of the world could be run through, but not mine one I'm
> defining locally. This kind of filtering can only work locally based on
> IMAP fetches.

Hi,
are you connecting to your exchange account with the exchange plugin or
with an IMAP? When you were talking about exchange I would think of the
exchange plugin, not IMAP.

Note that filters are applied to newly downloaded messages only. There
had been done some change in the past in IMAP, thus this might also need
"a proper version" for this to have it working.

I'm talking about bug #324804, though looking into it it's in since
2.21.91, thus quite old change.

Nonetheless you've right, if you want to move your messages on the
server, without having evolution running, then it cannot be done within
Evolution only. Though if you access your mail account only with
evolution, from one machine, then you should be able to do that within
the client itself.

I hope I didn't confuse you much.
Bye,
Milan

___
Evolution-list mailing list
Evolution-list@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] storing Inbox mails from Exchange into local folder

2009-07-17 Thread Matthias Apitz
El día Friday, July 17, 2009 a las 03:47:44PM +0200, Milan Crha escribió:

> On Fri, 2009-07-17 at 14:35 +0200, Matthias Apitz wrote:
> > Reading the FAQ again and thinking about, I have the feeling that this
> > (filtering in an Exchange located Inbox) can't work at all. The mail
> > arrives in the Exchange server's Inbox, regardless if I'm connected to
> > this with my Evolution client. Only filters which are installed there on
> > the other side of the world could be run through, but not mine one I'm
> > defining locally. This kind of filtering can only work locally based on
> > IMAP fetches.
> 
>   Hi,
> are you connecting to your exchange account with the exchange plugin or
> with an IMAP? When you were talking about exchange I would think of the
> exchange plugin, not IMAP.

I have to use Exchange OWA and not IMAP (this is disabled).

> Note that filters are applied to newly downloaded messages only. There
> had been done some change in the past in IMAP, thus this might also need
> "a proper version" for this to have it working.

I understand. But using the exchange plugin, the mail is not really
downloaded, but only presented. Ofc, I could download the mail moving it
from the in...@exchange to some local folder with drag&drop.

> I'm talking about bug #324804, though looking into it it's in since
> 2.21.91, thus quite old change.

I'm using:

$ pkg_info | fgrep evolution
evolution-2.24.5_1  An integrated mail, calendar and address book distributed s
evolution-data-server-2.24.5 The data backends for the Evolution integrated 
mail/PIM sui
evolution-exchange-2.24.5 Evolution plugin to connect to Microsoft Exchange 
servers

> Nonetheless you've right, if you want to move your messages on the
> server, without having evolution running, then it cannot be done within
> Evolution only. Though if you access your mail account only with
> evolution, from one machine, then you should be able to do that within
> the client itself.
> 
> I hope I didn't confuse you much.
>   Bye,

I want to copy every mail from my in...@exchange to a local folder, just
for backup purpose. How can I do this?

matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
People who hate Microsoft Windows use Linux but people who love UNIX use 
FreeBSD.
___
Evolution-list mailing list
Evolution-list@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] storing Inbox mails from Exchange into local folder

2009-07-17 Thread Milan Crha
On Fri, 2009-07-17 at 15:58 +0200, Matthias Apitz wrote:
> I want to copy every mail from my in...@exchange to a local folder, just
> for backup purpose. How can I do this?

As was said above, filters should work here. Though they don't for you.
You can check the filter functionality when you manually apply the
filter on selected messages, with Message->Apply Filters menu option.
If that will work then the filter is configured properly, if not then
try to fix it.

Properly configured filters should be applied to your exchange Inbox
automatically, as you said you've that set in your account preferences.
I cannot recall any exact bug mentioning this beyond 2.24.5 and today,
though I've such a feeling that there was something. But just a feeling.
Bye,
Milan

___
Evolution-list mailing list
Evolution-list@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] storing Inbox mails from Exchange into local folder

2009-07-17 Thread Matthias Apitz
El día Friday, July 17, 2009 a las 04:09:11PM +0200, Milan Crha escribió:

> On Fri, 2009-07-17 at 15:58 +0200, Matthias Apitz wrote:
> > I want to copy every mail from my in...@exchange to a local folder, just
> > for backup purpose. How can I do this?
> 
> As was said above, filters should work here. Though they don't for you.
> You can check the filter functionality when you manually apply the
> filter on selected messages, with Message->Apply Filters menu option.
> If that will work then the filter is configured properly, if not then
> try to fix it.
> 
> Properly configured filters should be applied to your exchange Inbox
> automatically, as you said you've that set in your account preferences.
> I cannot recall any exact bug mentioning this beyond 2.24.5 and today,
> though I've such a feeling that there was something. But just a feeling.
>   Bye,
>   Milan

Thanks for your hint. I have applied the filter by hand as you suggested
and it works; even in the logfile there is now a message:

$ cat /tmp/evo-filter.log 
Applied filter "test filter" to message from Matthias Apitz  
- "ttt" at Fri, 17 Jul 2009 16:15:17
Action: Copy to folder email://lo...@local/zTODO

And now? I file a bug report? Thx

matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
People who hate Microsoft Windows use Linux but people who love UNIX use 
FreeBSD.
___
Evolution-list mailing list
Evolution-list@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] storing Inbox mails from Exchange into local folder

2009-07-17 Thread Patrick O'Callaghan
On Fri, 2009-07-17 at 16:19 +0200, Matthias Apitz wrote:
> El día Friday, July 17, 2009 a las 04:09:11PM +0200, Milan Crha escribió:
> 
> > On Fri, 2009-07-17 at 15:58 +0200, Matthias Apitz wrote:
> > > I want to copy every mail from my in...@exchange to a local folder, just
> > > for backup purpose. How can I do this?
> > 
> > As was said above, filters should work here. Though they don't for you.
> > You can check the filter functionality when you manually apply the
> > filter on selected messages, with Message->Apply Filters menu option.
> > If that will work then the filter is configured properly, if not then
> > try to fix it.
> > 
> > Properly configured filters should be applied to your exchange Inbox
> > automatically, as you said you've that set in your account preferences.
> > I cannot recall any exact bug mentioning this beyond 2.24.5 and today,
> > though I've such a feeling that there was something. But just a feeling.
> > Bye,
> > Milan
> 
> Thanks for your hint. I have applied the filter by hand as you suggested
> and it works; even in the logfile there is now a message:
> 
> $ cat /tmp/evo-filter.log 
> Applied filter "test filter" to message from Matthias Apitz 
>  - "ttt" at Fri, 17 Jul 2009 16:15:17
> Action: Copy to folder email://lo...@local/zTODO
> 
> And now? I file a bug report? Thx

Note that filters only apply to Unseen messages. This is a FAQ:
http://www.go-evolution.org/FAQ#Why_do_my_mail_filters_not_work.3F

poc

___
Evolution-list mailing list
Evolution-list@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] storing Inbox mails from Exchange into local folder

2009-07-17 Thread Matthias Apitz
El día Friday, July 17, 2009 a las 09:59:52AM -0430, Patrick O'Callaghan 
escribió:

> > Thanks for your hint. I have applied the filter by hand as you suggested
> > and it works; even in the logfile there is now a message:
> > 
> > $ cat /tmp/evo-filter.log 
> > Applied filter "test filter" to message from Matthias Apitz 
> >  - "ttt" at Fri, 17 Jul 2009 16:15:17
> > Action: Copy to folder email://lo...@local/zTODO
> > 
> > And now? I file a bug report? Thx
> 
> Note that filters only apply to Unseen messages. This is a FAQ:
> http://www.go-evolution.org/FAQ#Why_do_my_mail_filters_not_work.3F

Yes, I've read this and the msg was Unseen. It was just send from my
private mail provider  to my office.

matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
People who hate Microsoft Windows use Linux but people who love UNIX use 
FreeBSD.
___
Evolution-list mailing list
Evolution-list@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] storing Inbox mails from Exchange into local folder

2009-07-17 Thread Patrick O'Callaghan
On Fri, 2009-07-17 at 16:41 +0200, Matthias Apitz wrote:
> El día Friday, July 17, 2009 a las 09:59:52AM -0430, Patrick O'Callaghan 
> escribió:
> 
> > > Thanks for your hint. I have applied the filter by hand as you suggested
> > > and it works; even in the logfile there is now a message:
> > > 
> > > $ cat /tmp/evo-filter.log 
> > > Applied filter "test filter" to message from Matthias Apitz 
> > >  - "ttt" at Fri, 17 Jul 2009 16:15:17
> > > Action: Copy to folder email://lo...@local/zTODO
> > > 
> > > And now? I file a bug report? Thx
> > 
> > Note that filters only apply to Unseen messages. This is a FAQ:
> > http://www.go-evolution.org/FAQ#Why_do_my_mail_filters_not_work.3F
> 
> Yes, I've read this and the msg was Unseen. It was just send from my
> private mail provider  to my office.

In that case I'd assume it's an Exchange issue (e.g. does Exchange
respect the \Unseen flag?) Alternativelym, are there server-side filters
running which might affect the flag? Do you have a "new-mail" applet
which reads the mailbox and might affect the flag? Do your other filters
work or is this the only one with problems?

poc

___
Evolution-list mailing list
Evolution-list@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] storing Inbox mails from Exchange into local folder

2009-07-17 Thread Ng Oon-Ee
On Fri, 2009-07-17 at 10:28 -0430, Patrick O'Callaghan wrote:
> On Fri, 2009-07-17 at 16:41 +0200, Matthias Apitz wrote:
> > 
> > Yes, I've read this and the msg was Unseen. It was just send from my
> > private mail provider  to my office.
> 
> In that case I'd assume it's an Exchange issue (e.g. does Exchange
> respect the \Unseen flag?) Alternativelym, are there server-side filters
> running which might affect the flag? Do you have a "new-mail" applet
> which reads the mailbox and might affect the flag? Do your other filters
> work or is this the only one with problems?
> 
> poc

Since Matthias is using the evolution-exchange plugin, perhaps he may
want to test whether the behaviour is the same with evolution-mapi? I
know its not part of the regular install in most distros (in fact I
can't even get it installed in my normal one, but Ubuntu has it, with
dependency issues though, you need to manually install samba4), but I
believe that is supposed to be 'the' canonical way to connect to
exchange?

___
Evolution-list mailing list
Evolution-list@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-list