[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vps-mail] procmail escaping of non alphanumerics



On Tue, Oct 28, 2003 at 06:41:12PM +0100, anon wrote:
> Scott Wiersdorf wrote:
> 
> >Right. How it displayed in your mail client isn't really relevant (it
> >displayed fine in mutt): procmail needs the actual high-ascii
> >characters since there isn't any clean way to specify them otherwise
> >(e.g,. hex, octal, etc.)
> 
> Yet this seems to work fine:
> 
> :0D
> * charset=us-ascii
> * ^Subject:.*[?????]
> {
>  LOG="wacky umlauts$NL"
>  :0:
> $MAYBESPAM
> }

Yes--it should work fine. You've got actual high-ascii characters in
your character class above, which is all that procmail needs. Godwin's
point (I think) was that what we're talking about here may or may not
display correctly in your mail client, depending on how (I) the sender
encodes the mail message and how (you) the receiver decodes it (g11n
is a VERY tricky problem).

As long as you can figure out a way to get high-ascii into your
.procmailrc file you'll be fine (as you just demonstrated for us!)

Scott
-- 
Scott Wiersdorf
scottw@xxxxxxxxxxxx
======================================================================
This is <vps-mail@xxxxxxxxxxxx>       <http://www.perlcode.org/lists/>
======================================================================


Main Index | Thread Index
Match: Format: Sort by:
Search: