Scoring
I'm fairly new to mutt and don't understand how the scoring mechanism works. I can score my own address, say score '~f uzscd5@uni-bonn\.de' = But how do I set up the rest of the score file properly ? What's wrong with score '~f Benji\ Fisher' 500 score '~f gmxred@gmx\.net' =- score '~f [Tt]op[Ss]hop' = - score '~s [Nn]ews[Ll]etter | ~f [Nn]ews[Ll]etter' =- ? Maybe someone could correct me here... Andre Berger[[EMAIL PROTECTED]]
Test - Please ignore...
Hurm, not received any mail since 02/11... -- +---+ | Jerome De Greef | [EMAIL PROTECTED] | [EMAIL PROTECTED]| +-+[EMAIL PROTECTED]| [EMAIL PROTECTED] | +-+
Re: How to do a regexp
On Sat, Feb 17, 2001 at 10:56:03AM -0600, Gary wrote: On Fri, Feb 16, 2001 at 11:23:57PM -0500 or thereabouts, Bruce A. Petro wrote: Hi - I'm new at regexp's and don't know how to do this... :0: * ^[EMAIL PROTECTED] about.com In Procmail, these are called recipes. Try this, which will take care of *about.com either as TO or Cc. :O: * (^(To|Cc):*@about.com*) about.com Wouldn't ":*" mean "zero or more occurrences of ':'"? Wouldn't ":.*" or ":[^@]*" be more appropriate? I don't think the outer parentheses are necessary, but I guess that depends on what you're trying to accomplish. I'd nix 'em so your computer has less work to do. -- Oo---o, Oo---o, O-weem-oh-wum-ooo-ayyy In the jungle, the silicon jungle, the process sleeps tonight. Joe Philipps [EMAIL PROTECTED], http://www.philippsfamily.org/Joe/ public PGP/GPG key 0xFA029353 available via http://www.keyserver.net PGP signature
Re: \;s in macro works wrong
On Fri, Feb 16, 2001 at 12:50:07PM +0100, Petr Kania wrote: in a folder are all messages without tag-entry "*" and if you press ";" - "No tagged messages", that is OK. But if you write a macro for example: macro index f4 \;s"/home/linux/mail"\r ";s" move message under the line cursor to folder "/home/linux/mail" Does it work any better using function names in the macro instead of keypresses? What about quoting the whole expression instead of just parts of it? Just some suggestions. -- Oo---o, Oo---o, O-weem-oh-wum-ooo-ayyy In the jungle, the silicon jungle, the process sleeps tonight. Joe Philipps [EMAIL PROTECTED], http://www.philippsfamily.org/Joe/ public PGP/GPG key 0xFA029353 available via http://www.keyserver.net PGP signature
Re: How to do a regexp
On Sat, Feb 17, 2001 at 05:05:22PM -0500 or thereabouts, Joe Philipps wrote: On Sat, Feb 17, 2001 at 10:56:03AM -0600, Gary wrote: On Fri, Feb 16, 2001 at 11:23:57PM -0500 or thereabouts, Bruce A. Petro wrote: :0: * ^[EMAIL PROTECTED] about.com In Procmail, these are called recipes. Try this, which will take care of *about.com either as TO or Cc. :O: * (^(To|Cc):*@about.com*) about.com Of course, it would probably work I am sure. That is the beauty of regex as there are several ways to write it and accomplish the same thing. I can think of a few more ways too. The above has worked for me well over the years. Of course, Bruce's real problem was having ABOUT.COM in caps to begin with. as you know, UNIX/Linux is case sensitive. Check www.procmail.org for many samples and tricks. Wouldn't ":*" mean "zero or more occurrences of ':'"? Wouldn't ":.*" or ":[^@]*" be more appropriate? I don't think the outer parentheses are necessary, but I guess that depends on what you're trying to accomplish. I'd nix 'em so your computer has less work to do. -- Best regards, Gary Today's thought: Before you criticize someone walk a mile in his shoes. That way if he gets angry he'll be a mile away -- and barefoot.
Re: How to do a regexp
At 19:38 -0600 17 Feb 2001, Gary [EMAIL PROTECTED] wrote: On Sat, Feb 17, 2001 at 10:56:03AM -0600, Gary wrote: :O: * (^(To|Cc):*@about.com*) about.com can think of a few more ways too. The above has worked for me well over the years. I can't see how that could possibly work. It doesn't allow anything other than colons (:) between the header name and the at-sign (@). The asterisk (*) at the end is also wrong since you want to match exactly one "m" there, not zero or more. Of course, Bruce's real problem was having ABOUT.COM in caps to begin with. as you know, UNIX/Linux is case sensitive. Check Just because Unix filesystems are case sensitive doesn't mean that everything else is. In particular, regex conditions in procmail are not case sensitive unless the "D" flag is used on the recipe. -- Aaron Schrab [EMAIL PROTECTED] http://www.execpc.com/~aarons/ A debugged program is one for which you have not yet found the conditions that make it fail. -- Jerry Ogdin
Solution: Reading gpg signed mailing list.
After searching good way to read gpg signed mailing list I came to following conclusion: Q1: Check sig only upon request (This is easy, did it!) I did this. Add macro to .muttrc (with others I defined) --- macro index S ":toggle pgp_verify_sig\n"# define S macro pager z ":toggle pager_stop\n"# stop at the end (z)? bind pager \' toggle-quoted # T is hard to use macro index c change-folder?\n\t # redefine c --- Q2: Check sig in background (Too difficult to do now) Someone mailed me info on this. Checking in background with progress indicator is difficult to implement but procmail may achieve similar goal. (Anyone knows example???) Q3: Sig display at the end. (Let me not worry now...) I guess same as Q2. Since procmail filter seems complicated, I will use :toggle pgp_verify_sig trick for reading mailing list with many signed mails. (debian-user,...) On Thu, Feb 15, 2001 at 11:36:02PM -0800, Osamu Aoki wrote: When Mutt read GnuPG-signed mail, it takes time to gather signature info from web(keyserver wwwkeys.us.pgp.net) and spit out annoying long message on the top of mail message. This is true as long as signature are checked. This has been annoying sometimes when reading mailing list. Followings are my wishlist/questions. Can anyone give me some configuration which enables me to do this. Q1. Is there any method to check signature only upon request for incoming-mail? (Just like signing outgoing-mail, where p-s works.) Q2. Can this key retrieval to run in back ground process, so I can read content before key is verified. Then upon request result shall be displayed. Progress indicator during this process on status line will be nice. Does anyone configured system like this? Q3. Can this signature info to be displayed at the end of message instead, if ever displayed? I use default debian setting for mutt-gpg combination. Attached current configuration here. Regards, Osamu -- + Osamu Aoki [EMAIL PROTECTED], GnuPG-key: 1024D/D5DE453D + + Fingerprint: 814E BD64 3288 40E7 E88E 3D92 C3F8 EA94 D5DE 453D + + === http://www.aokiconsulting.com === Cupertino, CA USA === + # GnuPG configuration set pgp_sign_micalg=pgp-sha1 # default for DSS keys set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch --output - %f" set pgp_verify_command="gpg --no-verbose --batch --output - --verify %s %f" set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch --output - %f" set pgp_sign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f" set pgp_clearsign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f" set pgp_encrypt_only_command="/usr/lib/mutt/pgpewrap gpg -v --batch --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f" set pgp_encrypt_sign_command="/usr/lib/mutt/pgpewrap gpg --passphrase-fd 0 -v --batch --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f" set pgp_import_command="gpg --no-verbose --import -v %f" set pgp_export_command="gpg --no-verbose --export --armor %r" set pgp_verify_key_command="gpg --no-verbose --batch --fingerprint --check-sigs %r" set pgp_list_pubring_command="gpg --no-verbose --batch --with-colons --list-keys %r" set pgp_list_secring_command="gpg --no-verbose --batch --with-colons --list-secret-keys %r" set pgp_getkeys_command="" -- + Osamu Aoki [EMAIL PROTECTED], GnuPG-key: 1024D/D5DE453D + + Fingerprint: 814E BD64 3288 40E7 E88E 3D92 C3F8 EA94 D5DE 453D + + === http://www.aokiconsulting.com === Cupertino, CA USA === +