Thread View: news.software.readers
4 messages
4 total messages
Started by Ken Stuart
Wed, 19 Nov 2003 04:23
[Dialog] Anything equivalent to Agent's "Any-Sender" ?
Author: Ken Stuart
Date: Wed, 19 Nov 2003 04:23
Date: Wed, 19 Nov 2003 04:23
19 lines
1807 bytes
1807 bytes
Hello, I am implementing "rules" in Dialog in order to automatically put incoming email into the appropriate folder (especially for mailing list messaages). Does Dialog have anything equivalent to Agent's "Any-Sender" and "Any-Recipient"? Here is the Agent Help blurb for it: " The fields Any-Sender and Any-Recipient have special meaning. Any-Sender matches the first non-empty field from the set of fields (From, Apparently-From, Sender, Reply-To, X-Sender). For example, the filter any-sender: tom.gold appears in any of the listed fields. Similarly, any recipient matches the set (To, Apparently-To, Cc, Bcc). " Thanks, Ken
Re: [Dialog] Anything equivalent to Agent's "Any-Sender" ?
Author: foxidrive
Date: Wed, 19 Nov 2003 06:58
Date: Wed, 19 Nov 2003 06:58
37 lines
2922 bytes
2922 bytes
On Tue, 18 Nov 2003 20:23:24 -0800, Ken Stuart wrote:
> I am implementing "rules" in Dialog in order to automatically put incoming
> email into the appropriate folder (especially for mailing list messaages).
>
> Does Dialog have anything equivalent to Agent's "Any-Sender" and
> "Any-Recipient"?
>
> Here is the Agent Help blurb for it:
>
> " The fields Any-Sender and Any-Recipient have special meaning. Any-Sender
> matches the first non-empty field from the set of fields (From,
> Apparently-From, Sender, Reply-To, X-Sender). For example, the filter
> any-sender: tom.gold appears in any of the listed fields. Similarly, any
> recipient matches the set (To, Apparently-To, Cc, Bcc). "
I think you'd need a string of regular expressions, one for each header, in
the following format.
!move(ToFolder) Header {^X-Apparently-To:.*$}
You might also be interested in the Help from Dialog under scoring/actions
for mailing lists:
===[start copy]===
A variation of this is:
[email.*]
!move(@%X-Mailing-List%) Header {^(X-Mailing-List:)}
Notice the additional "@" in the target folder expression. If this @ is
present, the value of the header field is simply searched for the character
@ and only the text before the first found @ is used as the target folder.
Again, for a message which has a "X-Mailing-List:
speedboats@yahoogroups.com" header field, the message would be moved to the
"speedboats" folder, instead of the "speedboats@yahoogroups.com" folder.
===[end copy]===
Re: [Dialog] Anything equivalent to Agent's "Any-Sender" ?
Author: Chris N Deuchar
Date: Wed, 19 Nov 2003 09:35
Date: Wed, 19 Nov 2003 09:35
33 lines
2730 bytes
2730 bytes
On Tue, 18 Nov 2003 20:23:24 -0800, Ken Stuart wrote: > I am implementing "rules" in Dialog in order to automatically put incoming > email into the appropriate folder (especially for mailing list messaages). Sorry, I can't answer your question but how DO you sort your mail into different folders? This was one of my initial attractions to Dialog - and if I can get it to work it will be wonderful. Otherwise I was quite happy with Gravity. I can get the mail to download from my mail server ok - and even use the filters above the message list window to only view the messages in the right folders. What I want to be able to do though is only download messages that come from certain mailing lists - and have them go into specific folders - and leave the rest on the server for my normal mailer. Alternatively downloading the lot, without initially deleting them from the server, and then only deleting the read items from the server would be another way to do this. Any help gratefully received Chris D -- Dr C. N. Deuchar, School of Biosciences, Nottingham University, Sutton Bonington Campus, Loughborough, LE12 5RD 0115 951 6264 http://www.nottingham.ac.uk/~sbzcd/
Re: [Dialog] Anything equivalent to Agent's "Any-Sender" ?
Author: foxidrive
Date: Wed, 19 Nov 2003 10:01
Date: Wed, 19 Nov 2003 10:01
39 lines
2903 bytes
2903 bytes
On Wed, 19 Nov 2003 09:35:45 +0000, Chris N Deuchar wrote:
> What I want to be able to do though is only download messages that
> come from certain mailing lists - and have them go into specific
> folders - and leave the rest on the server for my normal mailer.
> Alternatively downloading the lot, without initially deleting them
> from the server, and then only deleting the read items from the
> server would be another way to do this.
AIUI Dialog can download all email and leave them all on the server, or
download all email and delete them all from the server. There is no middle
ground.
You *can* move mailing list mail to various folders once it is downloaded,
and can also apply the filters to existing email folders (under the Group
menu).
Here is one untested method of applying actions
# Filter all arriving email
[email.*]
!move(batchworld) Header {^Reply-to: batchworld@yahoogroups.com$}
!move(dialog) Header {^Reply-to: 40tude_Dialog@yahoogroups.com$}
!move(qbasic) Header {^Reply-to: qbasicnumberone@yahoogroups.com$}
!move(qbasic) Header {^Reply-to: qbasic@yahoogroups.com$}
!move(xxcopy) Header {^Reply-to: xxcopy@yahoogroups.com$}
!move(sed-users) Header {^X-Apparently-To: sed-users@yahoogroups.com$}
and here is the one from Dialog help, under reference>scoring/actions,
which automatically handles any group that includes the X-Mailing-List:
header.
# Filter all arriving email
[email.*]
!move(@%X-Mailing-List%) Header {^(X-Mailing-List:)}
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads