Synchronize filters opera mail

Forums » Opera for Windows/Mac/Linux » Opera mail, chat and news

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

15. April 2010, 14:32:09

ruudh

Posts: 7

Synchronize filters opera mail

Hi,

I've been trying to sync the m2 filters between my desktop and laptop, but no succes.
The only way I found is to sync the mail folder with other software (like dropbox).

Is there a way to synchronize these filters in opera itself?

Thanks in advance,
Ruud

16. April 2010, 03:59:14

burnout426

Posts: 13195

Originally posted by ruudh:

Is there a way to synchronize these filters in opera itself?



Welcome to the My Opera forums!

Unfortunately, you can't do that in Opera. Filters pretty much need to travel with the mail folder they were set up in.

16. April 2010, 04:02:08

WildEnte

Posts: 3532

Except if you used Imap folders, i.e. folders stored on the mail server. Does your mail provider offer IMAP?
Cetero censeo <a href="http://my.opera.com/community/forums/topic.dml?id=173410" >Opera Web Mail esse delendam</a>
<a href="http://my.opera.com/community/forums/topic.dml?id=513921" >How to use the Opera Mail client</a>
<a href="http://my.opera.com/community/forums/topic.dml?id=527532" >Wie man Opera Mail (M2) benutzen sollte</a>

16. April 2010, 04:06:11

burnout426

Posts: 13195

Ah, yes indeed. Forget about that.

Opera will add a named flag to the message that corresponds to the filter you create (if the IMAP server supports it). Then, when another Opera automatically sees the named flags on the messages, Opera will automatically generate filters from the flags. In essence, you have filter synchronization.

19. April 2010, 15:03:37

ruudh

Posts: 7

Thanks for the reply's

My email server supports IMAP, but how can I assign a keyword to a message?

19. April 2010, 21:24:37

burnout426

Posts: 13195

Originally posted by ruudh:

My email server supports IMAP, but how can I assign a keyword to a message?



It's done automatically when you add a message to a filter. The keyword will be the name of the filter. The IMAP server has to support arbirtrary keyword names though for it to work.

20. May 2010, 15:05:57

pqs

Posts: 15

Does gmail IMAP server support arbitrary keyword names?

21. May 2010, 04:36:00 (edited)

burnout426

Posts: 13195

Originally posted by pqs:

Does gmail IMAP server support arbitrary keyword names?



openssl s_client -crlf -quiet -connect imap.gmail.com:993 
. login username@gmail.com password 
. xlist "" "*"
. select INBOX
. store 1 +flags zipzambam


Then, do a "check/send all" in Opera and you should see a new filter in Opera. (If that doesn't work, restart Opera).

Then, you can do:

. fetch 1 flags


to see what flags are on the first message.

However, when creating a filter yourself in Opera and adding a message to it, Opera doesn't seem to add a flag to the message. Adding/removing a message from a filter only add/removes the flag from the message on the server if the filter was auto-generated by the server (or if you generate it yourself by manually logging into the server and adding the flag on at least one message).

To remove a flag from the first message:

. store 1 -flags foo


Instead of 1, you can use a range like 1:5

To logout:

. logout


Note: In Opera, turn off sorting (no arrows shown on any of the message list column headers). Then, message 1 will be the top message in the list.

So, in short, it looks like the Gmail IMAP server does indeed support (or, if not support, at least not reject) arbitrary (ones without \ at the beginning) keywords. But, it doesn't auto-generate any filters. So, none of your user-generated filters will be retained if you just set up the IMAP account in another Opera mail profile.

To work around this, don't manually create the filters in Opera. Do it manually with the . store command like above so that Opera auto-generates them. Then add to them. But, I'm not sure how well this will work when messages are added to the filter by a rule that you then set up for the filter. But, even then, this all doesn't seem to work very well with the Gmail IMAP server. I don't think it supports somethings needed as adding a flag to a message with openssl doesn't create a new filter in Opera right away. (Things work fine though with the imap.1and1.com IMAP server though)

For Win32, you can get openssl (the light version is fine) from http://www.slproweb.com/products/Win32OpenSSL.html

Forums » Opera for Windows/Mac/Linux » Opera mail, chat and news