Re: How to do a regexp

2001-02-24 Thread Holger Wahlen

Bruce A. Petro wrote (about a procmail condition):
 I understand the leading .* based on your remark, but what about the
 trailing .* ??

You can safely omit it. It doesn't make any difference whatsoever with
regard to matching.

/HW



Re: How to do a regexp

2001-02-24 Thread Josh Huber

On Wed, Feb 21, 2001 at 04:21:30PM -0500, Josh Huber wrote:
 The reasoning behind this is:
 
   * ^To: .*about.com.*
 
 ...often addresses are formatted in a way like:
 
 John Doe [EMAIL PROTECTED]
 or
 [EMAIL PROTECTED] (John Doe)
 
 but are not that often just the email address alone.

The above is, as someone else pointed out, obviously wrong.  I wasn't
thinking :)

You don't need to match the .* at the end because the pattern doesn't
need to match up to the end of the To line -- it will just match as
much as you've specified, and only fail if something doesn't match.

sorry about that...

So, to summarize, something like this would be good:

* ^To: .*about.com

would work, but if you want to more careful...something like the
following would be better:

* ^TO_about.com

the TO_ is expanded to a nice regex which matches the proper text
before an address.  man procmailrc and search for TO_.

ttyl,

-- 
Josh Huber | [EMAIL PROTECTED] |

 PGP signature


Re: How to do a regexp

2001-02-24 Thread Rich Lafferty

On Sat, Feb 24, 2001 at 08:21:28AM -0500, Josh Huber ([EMAIL PROTECTED]) wrote:
 
 * ^TO_about.com
 
 the TO_ is expanded to a nice regex which matches the proper text
 before an address.

Everyone keeps saying this, and it still doesn't work. That nice regex
doesn't match the text *in* an address. Like the @ sign, for instance.

  -Rich

-- 
-- Rich Lafferty ---
 Sysadmin/Programmer, Instructional and Information Technology Services
   Concordia University, Montreal, QC (514) 848-7625
- [EMAIL PROTECTED] --



Re: fuction of mutt, possible, pgp/gpg

2001-02-24 Thread Osamu Aoki

I had same annoyance.  I made following entry to my .muttrc
to turn on/off GPG/PGP sig check to avoid this annoyance.

macro index S ":toggle pgp_verify_sig\n"  # define S to toggle GPG check

If you find better method to deal with this, let me know by cc:

Osamu

On Wed, Feb 21, 2001 at 10:35:06PM -0800, Jason Helfman wrote:
 When you have a verified a pgp/gpg key once, is it necessary for mutt
 to ask you to verify it again? 
 
 -- 
 /Jason G Helfman
 
-- 
+  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 ===   +




Formatting weirdness..

2001-02-24 Thread Nils Vogels

Hi mutt-users!

For some reason mutt is acting weird on me:

If someone sends me a mail with the header From: "\\`hee" [EMAIL PROTECTED] or
anything else with the double backslash in it, mutt does not seem to include
this in the "To" field when replying, nor in the attribution.

I realise the \ is an escape character in Unix, butt seems to me that it is
also a valid character to use in this field (ASCII 92 dec if im not wrong)

Why does mutt show this behaviour ?

Grtz,

Nils.


 PGP signature