Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Filtering IMAP mail

8 views
Skip to first unread message

Anton Shepelev

unread,
Jan 30, 2012, 8:29:30 AM1/30/12
to
Hello all,

At work I have a POP3 account for external mail and
an IMAP (Exchange) account for internal, and I want
letters from the latter account automatically go to
my main mailbox, to which the POP3 account is at-
tached.

I can't seem to find a suitable kind of rule:

a. New mail rules are only applied to the "New
mail" folder.

b. General rulesets are triggered only manually.

c. POP3 rules don't work with IMAP.

Can Pegasus be configured to automatically move new
mail from an IMAP "New Mail" folder to its own "New
Mail" folder?

Anton
Message has been deleted

Euler German

unread,
Jan 30, 2012, 12:23:10 PM1/30/12
to

On article <20120130172930.5a8eb8b7.anton.txt@g{oogle}mail.com>, Anton Shepelev
wrote:
It seems to me what you are describing is more a POP3 behavior, not IMAP. The
IMAP protocol is meant to keep all your messages AT server. On the other hand,
the POP3 protocol is meant to download all messages from server (moving, as you
said) to your local HD. Apples and oranges.

Maybe what you want is a POP3 download of "unread mail only", so you'd have all
messages at your local mailbox (for fast access) and at remote server (for
extra safety/backup).

--
Kind regards,
Euler German

Please, reply preferably to the list.
Reply-To: partially ROT13, invalid=com
Due to spam I'm filtering-out GoogleGroups. Sorry. :(

Anton Shepelev

unread,
Jan 31, 2012, 3:37:03 AM1/31/12
to
Euler German:

> It seems to me what you are describing is more a
> POP3 behavior, not IMAP. The IMAP protocol is
> meant to keep all your messages AT server. On the
> other hand, the POP3 protocol is meant to download
> all messages from server (moving, as you said) to
> your local HD. Apples and oranges.

Excactly. But at work I am already given an IMAP
account for inside mail and POP3 account for exter-
nal mail; and I want mail both the sources to be di-
rected to the same local mailbox where it'd be fil-
tered and stored in a single hierarchy of folders.
I don't like having to go to two locations -- the
regular and IMAP's "New Mail folders -- to read all
new mail.

I don't care about deleting or leaving mail on the
IMAP server, because I only need to access it from
my work and I backup all my local mail anyway.

I have been able to set up Sylpheed to behave this
way, thanks to its rules being triggered whenever a
new message arrives, irregardless of the account
type.

Pegasus exit and entry rules are good if you follow
the workflow they are intended for: read all new
mail while it's in the "New Mail" folder, then leave
the folder and cause them to be filtered according
to the on-exit rules.

Thanks for the response,
Anton

Anton Shepelev

unread,
Feb 1, 2012, 11:12:00 AM2/1/12
to
Guy:

> > Can Pegasus be configured to automatically move
> > new mail from an IMAP "New Mail" folder to its
> > own "New Mail" folder?
>
> Not as you desire.

OK. And now I got a futher question: do the "New
mail" filtering rules work only if the user "opens"
the New mail folder by double-clicking on it? I am
working in Preview mode, where a single click is
enough to show a folder's contents, yet no fitering
rules attached to the folder are executed upon this
event.

Anton

Evertjan.

unread,
Feb 1, 2012, 1:38:25 PM2/1/12
to
Anton Shepelev wrote on 01 feb 2012 in comp.mail.pegasus-mail.ms-windows:

> Guy:
>
>> > Can Pegasus be configured to automatically move
>> > new mail from an IMAP "New Mail" folder to its
>> > own "New Mail" folder?
>>
>> Not as you desire.
>
> OK. And now I got a futher question:

On usenet, you should not change the subject of a thread.
Start a new one.


> do the "New
> mail" filtering rules work only if the user "opens"
> the New mail folder by double-clicking on it?

No.

There are 2 types of new mail filtering rules, on opening and on closing
the New Mail window.

> I am
> working in Preview mode, where a single click is
> enough to show a folder's contents,

No. you do not see the New Mail window then.

> yet no fitering
> rules attached to the folder are executed upon this
> event.

Indeed. There are no filtering rules attached to the preview folder. It
isn't even a folder in it's own right, just a mode.

Use the New Mail window if you want to use those rules,
that's the way it works, methinks.

I am not absolutly sure, as since like many a long time pmail user I do
not use the preview mode. Preview mode makes Pmail to a kind of
Thunderbird where you never know what happens or just happend.


--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Michael in der Wiesche

unread,
Feb 1, 2012, 1:41:59 PM2/1/12
to
Am 01.02.2012, 19:38 Uhr, schrieb Evertjan.
<exjxw.ha...@interxnl.net>:

> Indeed. There are no filtering rules attached to the preview folder. It
> isn't even a folder in it's own right, just a mode.

Wrong: On open rules are executed in preview mode as well (whenever you
select the new mail folder in the folder tree), only on close rules aren't.


Michael

--
PGP Key ID (RSA 2048): 0xC45D831B
PGP Plugin for Pegasus Mail: <http://www.pmpgp.de/pmpgp/>
S/MIME Fingerprint: 26 5c a3 60 02 c6 e3 8a 75 70 d5 6a 67 ff d3 8d b0 b5
5e 5b

Evertjan.

unread,
Feb 1, 2012, 1:51:34 PM2/1/12
to
Michael in der Wiesche wrote on 01 feb 2012 in
comp.mail.pegasus-mail.ms-windows:

> Am 01.02.2012, 19:38 Uhr, schrieb Evertjan.
> <exjxw.ha...@interxnl.net>:
>
>> Indeed. There are no filtering rules attached to the preview folder.
>> It isn't even a folder in it's own right, just a mode.
>
> Wrong: On open rules are executed in preview mode as well (whenever
> you select the new mail folder in the folder tree), only on close
> rules aren't.

See, you left out quoting my explicit uncertancy.
[Still, rules cannot be attached to a mode, methinks,
but that's just semantics]

Are you sure about select [meaning "open"?] ?
What about new mail arriving after when the folder is open,
is't that filtered too?

Anton Shepelev

unread,
Feb 2, 2012, 4:55:08 AM2/2/12
to
Evertjan.:

> On usenet, you should not change the subject of a
> thread. Start a new one.

I thought my other question to be a natural continu-
ation of the thread because on-exit and on-entry
rules can also be attached to IMAP folders via gen-
eral rulesets.

> Anton Shepelev:
>
> > I am working in Preview mode, where a single
> > click is enough to show a folder's contents,
>
> No. you do not see the New Mail window then.

There is no seprate New Mail window in Preview mode,
but the contents of the New Mail folder are shown in
the upper right corner instead, and this functional-
ity replaces the Open operation of the Classic view,
except for the on-close rues, which it does't not
trigger.

> Indeed. There are no filtering rules attached to
> the preview folder. It isn't even a folder in it's
> own right, just a mode.

What is the preview folder? A hierarchical list of
folders is present in both Preview and Classic views
in a window called "the folder view". The folders
there are the same regardless of which mode is used.

> I am not absolutly sure, as since like many a long
> time pmail user I do not use the preview mode.
> Preview mode makes Pmail to a kind of Thunderbird
> where you never know what happens or just happend.

Do you mean rules applied silently without the us-
er's first reading new mail, as it is with Pegasus's
on-exit rules?

> Michael in der Wiesche:
>
> > Wrong: On open rules are executed in preview
> > mode as well (whenever you select the new mail
> > folder in the folder tree), only on close rules
> > aren't.
>
> [...]
> Are you sure about select [meaning "open"?] ?
> What about new mail arriving after when the folder
> is open, is't that filtered too?

Michael is correct here, but using on-entry rules
for this purpose will make me have to click on IMAP
folder thereby having the new mail filtered and then
cycle through individual locations it was moved to.

I agree that for serious use only the Classic mode
is suitable.

Anton

Evertjan.

unread,
Feb 2, 2012, 10:04:29 AM2/2/12
to
Anton Shepelev wrote on 02 feb 2012 in comp.mail.pegasus-mail.ms-windows:

>> Indeed. There are no filtering rules attached to
>> the preview folder. It isn't even a folder in it's
>> own right, just a mode.
>
> What is the preview folder? A hierarchical list of
> folders is present in both Preview and Classic views
> in a window called "the folder view". The folders
> there are the same regardless of which mode is used.

As I said, there isn't a preview-folder.
A window is not a folder,
but can show the contents of a pmail-folder.
A mode is a way something is done.

The subsection of the folders-window in it's preview mode,
can show the contents of a pmail-folder,
but I seem to have been wrong about what it does filter-wize.

>
>> I am not absolutly sure, as since like many a long
>> time pmail user I do not use the preview mode.
>> Preview mode makes Pmail to a kind of Thunderbird
>> where you never know what happens or just happend.
>
> Do you mean

I don't exactly know wht happens in Thunderbird,
it feels strange to a pmailer.

> rules applied silently without the us-
> er's first reading new mail,
> as it is with Pegasus's on-exit rules?

Do you mean the pegasus "on open"-filter-rules?

Anton Shepelev

unread,
Feb 2, 2012, 11:16:43 AM2/2/12
to
Evertjan.:

> As I said, there isn't a preview-folder. A window
> is not a folder, but can show the contents of a
> pmail-folder. A mode is a way something is done.

Got it.

> > > I am not absolutly sure, as since like many a
> > > long time pmail user I do not use the preview
> > > mode. Preview mode makes Pmail to a kind of
> > > Thunderbird where you never know what happens
> > > or just happend.
> >
> > Do you mean rules applied silently without the
> > user's first reading new mail, as it is with Pe-
> > gasus's on-exit rules?
>
> Do you mean the pegasus "on open"-filter-rules?

I was just asking what it was you didn't like in
Thunderbird and what you meant by "you never know
what happens or just happend". I suggested that in
TB rules worked silently without the user seeing
them work.

I have switched to Classic mode and my new problem
is that pressing CTRL-L in a folder window does not
close it and, therefore, does not trigger on-close
rules, so I have to close the folder window with the
mouse. Is there a hotkey for that?

Anton

Michael in der Wiesche

unread,
Feb 2, 2012, 11:29:48 AM2/2/12
to
Am 01.02.2012, 19:51 Uhr, schrieb Evertjan.
<exjxw.ha...@interxnl.net>:

> See, you left out quoting my explicit uncertancy.

Next time I'll do a full quote ...

Euler German

unread,
Feb 2, 2012, 2:29:28 PM2/2/12
to

On article <20120131123703.b9918bc85f6ceed808ab21f9@g{oogle}mail.com>, Anton
Shepelev wrote:

>
> Euler German:
>
> > It seems to me what you are describing is more a
> > POP3 behavior, not IMAP. The IMAP protocol is
> > meant to keep all your messages AT server. On the
> > other hand, the POP3 protocol is meant to download
> > all messages from server (moving, as you said) to
> > your local HD. Apples and oranges.
>
> Excactly. But at work I am already given an IMAP
> account for inside mail and POP3 account for exter-
> nal mail; and I want mail both the sources to be di-
> rected to the same local mailbox where it'd be fil-
> tered and stored in a single hierarchy of folders.
> I don't like having to go to two locations -- the
> regular and IMAP's "New Mail folders -- to read all
> new mail.
>
> I don't care about deleting or leaving mail on the
> IMAP server, because I only need to access it from
> my work and I backup all my local mail anyway.
>
You'll need to mark it somewhat, say like read.

> I have been able to set up Sylpheed to behave this
> way, thanks to its rules being triggered whenever a
> new message arrives, irregardless of the account
> type.
>
> Pegasus exit and entry rules are good if you follow
> the workflow they are intended for: read all new
> mail while it's in the "New Mail" folder, then leave
> the folder and cause them to be filtered according
> to the on-exit rules.
>
I'd use an "on close rule" attached to the IMAP folder. The rule should look
for any unread messages; if found, mark them as read and them copy (not move)
it to your local New Mail folder as it would do if you were using a POP3
protocol.

You'll have to open your IMAP folder manually.

> Thanks for the response,
> Anton

YW.

Evertjan.

unread,
Feb 2, 2012, 2:46:51 PM2/2/12
to
Anton Shepelev wrote on 02 feb 2012 in comp.mail.pegasus-mail.ms-windows:

> I have switched to Classic mode

Well done. David Harris calls it the list-mode, btw.

> and my new problem
> is that pressing CTRL-L in a folder window does not
> close it and, therefore, does not trigger on-close
> rules, so I have to close the folder window with the
> mouse. Is there a hotkey for that?

The standard windows shortcut of closing a sub-window is ctrl-F4,
which wordks fine on folder-windows including the New mail folder-window.
[while alt-F4 standardly closes a programme.]

ctrl-L is for opening the "Folders"-window, it seems,
which has no rules [in the list-mode].

Evertjan.

unread,
Feb 2, 2012, 2:48:49 PM2/2/12
to
Michael in der Wiesche wrote on 02 feb 2012 in comp.mail.pegasus-mail.ms-
windows:

> Am 01.02.2012, 19:51 Uhr, schrieb Evertjan.
> <exjxw.ha...@interxnl.net>:
>
>> See, you left out quoting my explicit uncertancy.
>
> Next time I'll do a full quote ...

You are exagerating.

Critisizing a statement without quoting the uncertency-clause is another
matter.

Anton Shepelev

unread,
Feb 3, 2012, 6:54:56 AM2/3/12
to
Euler German:

> I'd use an "on close rule" attached to the IMAP
> folder. The rule should look for any unread mes-
> sages; if found, mark them as read and them copy
> (not move) it to your local New Mail folder as it
> would do if you were using a POP3 protocol.
>
> You'll have to open your IMAP folder manually.

Yes, it is probably the best solution for Pegasus.
Thank you.

Anton

Anton Shepelev

unread,
Feb 3, 2012, 7:24:03 AM2/3/12
to
Evertjan.:

> The standard windows shortcut of closing a sub-
> window is ctrl-F4, which wordks fine on folder-
> windows including the New mail folder-window.
> [while alt-F4 standardly closes a programme.]

I didn't know this standard shortcut and it is not
mentioned in the manual.

Anton

Michael in der Wiesche

unread,
Feb 3, 2012, 8:29:33 AM2/3/12
to
Am 03.02.2012, 13:24 Uhr, schrieb :

> I didn't know this standard shortcut and it is not
> mentioned in the manual.

It's a Windows standard (for so-called MDI applications with internal
child windows), not only Pegasus Mail, hence not mentioned in the manual.

Evertjan.

unread,
Feb 3, 2012, 3:11:00 PM2/3/12
to
Michael in der Wiesche wrote on 03 feb 2012 in comp.mail.pegasus-mail.ms-
windows:

> Am 03.02.2012, 13:24 Uhr, schrieb :
>
>> I didn't know this standard shortcut and it is not
>> mentioned in the manual.
>
> It's a Windows standard (for so-called MDI applications with internal
> child windows), not only Pegasus Mail, hence not mentioned in the manual.

"internal child windows".
Damn, that's the word!

Anton Shepelev

unread,
Feb 4, 2012, 4:46:54 AM2/4/12
to
Michael in der Wiesche:

> It's a Windows standard (for so-called MDI appli-
> cations with internal child windows), not only
> Pegasus Mail, hence not mentioned in the manual.

Quite fair, but I still think that mentioning these
hotkeys wouldn't hurt because under section

Getting Started -> Interface Basics ->
Windows

other standard combinations like CTRL-V and CTRL-C
are already described.

Anton
0 new messages