procmail
[Top] [All Lists]

Re: from addresses w/o real names

2001-01-09 01:24:59
Dave Robbins <dave(_at_)geol(_dot_)ucsb(_dot_)edu> writes:
...
Well, actually, what I meant by garbage (and I was wrong in using this term
in this way) is that when the angle-bracked/parenthesized name is missing, 
mailx defaults to using the "^From " address which in many cases is 
nearly garbarge.

Here's one from a list I'm on:
  From 
sentto-1111929-3232-978899240-dave=geol(_dot_)ucsb(_dot_)edu(_at_)returns(_dot_)onelist(_dot_)com

Ah, a qmail VERP address.

Hmm, is the mailx "from" option set or cleared?  What happens if you
put it the other way?


I thought I was fairly advanced in regexp's until I joined this list
and so far it hasn't all rubbed off on me.
Anyway, may I ask, with David Tamkin's suggestion, should I now just
add a left paren like this?     |
                               v
     :0 fhw
     * ^From:[       ]*\/[^  <(,]+[  ]*$
     * MATCH ?? ^^\/[^       ]+
     | formail -i"From: $MATCH <$MATCH>"

Yes.


Just curious but why does procmail's -v option go to stderr?

Because it did when it was first added (it uses the internal logging
functions) and no one has felt strongly enough about it to submit a
patch or try to convince everyone else that it should be changed.


Philip Guenther
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>