procmail
[Top] [All Lists]

Re: NeXTStep Read Receipts and Procmail

1997-06-30 10:44:00
        wwgrol(_at_)sparc01(_dot_)fw(_dot_)hac(_dot_)com (W. Wesley Groleau 
x4923) wrote on
        Mon, 30 Jun 1997 08:29:00 -0500 in
        Message-ID: <199706301329(_dot_)IAA10034(_at_)sparc02(_dot_)>

Are the other language phrases in some O.S. configuration file/directory?
If so, then you should be able to use that file/directory to find the text
to use for other languages.

Good idea.... except that I only installed the English localization.... But  
they were all on the original CD!


If not, then the O.S. must allow the user to customize their phrase--in
which case, your recipes will not work when the user varies from the
"customary" be misspelling, trying to be cute, or just saying the same
thing in a different format.

People could, but I doubt many would.

TjL

BTW here is the new revised formula:


#
# This file: $RCFILES/read-receipts-parse.rc
#       where $RCFILES is defined in ~/.procmail
#
# Usage (in ~/.procmailrc):
#       :0W
#       * ^Subject: Read Receipt$
#       * ^Received: by NeXT.Mailer
#       { INCLUDERC=$RCFILES/read-receipts-parse.rc }
#

:0 B
* (Meddelandet angaende|\
   Your message regarding|\
   Il messaggio relativo a|\
   El mensaje relacionado con|\
   Votre message concernant|\
   Ihre Mitteilung bezueglich) "\/[^"]*
{
        SUBJECT=$MATCH
        
        :0fhw
        | formail -I "Subject: $SUBJECT"
        
        :0
        | appnmail Read-Receipts
}


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