info-gnus-english
[Top][All Lists]
Advanced

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

Can I use env variables in a score file?


From: daniele.g
Subject: Can I use env variables in a score file?
Date: Thu, 06 Jun 2013 11:04:12 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

I'd like to make the file
,----[ all.SCORE ]
| ;; -*- mode: lisp; -*-
| (
|  ("from" ("daniele.g" +1000 nil s))
|  ("message-id"
|   ("@mother.nostromo.wy>" +9000 nil s)
|   ("@nostromo.nostromo.wy>" +9000 nil s))
|  ("references"
|   ("@nostromo\\.nostromo\\.wy>$" +8000 nil r)
|   ("@nostromo\\.nostromo\\.wy>.+@" +7000 nil r)
|   ("@nostromo\\.nostromo\\.wy>.+@nostromo\\.nostromo\\.wy>$" -7000 nil r)
|   ("@mother\\.nostromo\\.wy>$" +8000 nil r)
|   ("@mother\\.nostromo\\.wy>.+@" +7000 nil r)
|   ("@mother\\.nostromo\\.wy>.+@mother\\.nostromo\\.wy>$" -7000 nil r)
|   )
|  ((&
|    ("message-id" "@nostromo\\.nostromo.wy>" s)
|    ("references" "@nostromo\\.nostromo.wy>" s)) -7000 nil
|    (&
|     ("message-id" "@mother\\.nostromo.wy>" s)
|     ("references" "@mother\\.nostromo.wy>" s)) -7000 nil)
|  )
`----
more portable changing the string "@mother.nostromo.wy> into something
like $hostname.$domainname.

Can I do this? How?

Thanks in advance.
-- 
                     Dona i tuoi cicli di clock alla ricerca!
                     http://boinc.berkeley.edu/
                          --------------------
           This signature was automatically generated with
           Signify v1.14.  For this and other cool products,
           check out http://www.debian.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]