Evolution: completely disable junk mail filter?

Hi,
how to completely turn off the junk mail filtering? Evolution keeps moving totally regular mails (including email I send myself) into the junk folder and subsequently removes them completely even from trash. Despite the fact that I request not to delete eMail without confirmation. This happens with my Exchange account and I loose business emails because of this.

So how to turn junk filtering off for good?

Thanks.

This happens with my Exchange account and I loose business emails
because of this.

Hi,

which Evolution version, please? How do you connect to the Exchange
server, using “Exchange Web Services” account type from
the evolution-ews project or any other way?

Using a real Junk folder, the recognized messages with a junk flag
(even if set by some other application) could be moved to that Junk
folders. it used to be a problem with IMAP, fixed some time ago.

So how to turn junk filtering off for good?

Each mail account has in its Properties an option to enable/disable
both message filtering (from Edit->Messages Filters->Incoming Messages
type) and Junk filtering.

In addition, Edit->Preferences->Mail Preferences->Junk tab has other
junk-detection related options.

Bye,
Milan

See Junk Mail Settings

Thanks for the replies!

Evolution version: 3.52.3-0ubuntu1

I do use the evolution-ews way to access the exchange server.

I did turn off junk detection in the options and even did turn on notifications before emptying the trash (cf. screenshots), but nonetheless perfectly valid emails got identified as junk, moved to the trash and deleted there for good, even if you check immediately with Outlook in a virtual machine. Seems I discovered bugs, not sure how many. Our exchange server appears to be lame, though. Days later I found out using Outlook in a virtual machine that there were short of fifty emails in trash and Outlook offered me to retrieve short of ten from its own Nirwana (deleted from trash). One containing the important meeting link that I was desperately looking for …

But frankly, I need this for work. I will check out evolution once in a while, but for now I need to leave it aside.

Best,


Hi,
there is also a junk filtering for each Mail account, in the account
Properties. Nonetheless, having disabled the Junk filtering in the
Preferences, as your screenshot shows, might work too (unless I’m
mistaken and that is for the POP3 and similar local accounts only).

In any case, I do not recall seeing any such thing for the EWS
accounts. The screenshot suggests you’ve installed bogofilter. Unless
you use it for anything else, could you remove it? It can classify the
messages as spam and then Evolution does the right thing with it.

There’s surely a reason why they are moved to the Junk E-mail folder on
the server, supposing Evolution(-ews) does it. You can run Evolution
from a terminal like this:

   CAMEL_DEBUG=junk evolution

which will show some information about the junk filtering being
involved. Running with:

   EWS_DEBUG=2 evolution

will show raw communication between the server and the Evolution(-ews),
which means it exposes everything being downloaded and uploaded,
including (encoded) message content and all those private things. It
does not show the reason for the message move though. I mention it here
only that you are aware it exists, not to use it. Definitely do not
share such log in the public.

I understand you need to work without losing the emails. I agree with
it. The odd thing on this is that it happens only to you, and I’d say
suddenly. There had not been many changes in the EWS recently
(including before your version), thus when it breaks only for you I’m
wondering what the problem is.

With respect of the Trash emptying, there is an option to empty trash
on exit or after some days in the Edit->Preferences->Mail Preferences.
It’s disabled by default. You have disabled automatic deletion of the
Junk messages (shown on your screenshot), from which I suppose
something else is deleting it, unless you’ve any such filters in the
Edit->Message Filters->Incoming. I also do not expect you having
enabled emptying the Trash folders automatically, thus I guess there is
some server-side rule applied to empty the trash folder on the server
soon. When you open the web interface of the Exchange server, the Mail
part has the Preferences, and there is “Junk email” section with
settings how to handle new messages, and also “Message handling”
section, where I see at the very top an option “When signing out, empty
my deleted items folder”.

These are the things I think might be checked. Additional (detailed)
debugging takes significantly more time.

Bye,
Milan