Subject: Environment variables in user-domain

From: Alexi Margo <[email-masked]>
Date: Thu, 26 Jul 2001 12:12:06 +0100

Hi,

I have just installed Pine 4.33 on a test system, running OpenBSD
2.9-stable. I installed from source without hitch and now have it configured
pretty much how it needs to be.

The only problem is that the box is a multi-user system where each user has
the "virtual domain" in the form $USER.mydomain.com, where $USER is the
corresponding environment variable. According to the documentation, the
following in [pine.conf.fixed] should work:

user-domain="$USER.mydomain.com"

However, this does not appear to be the case. For all intents and purposes,
that line is totally ignored - whichever of the three configuration files it
goes in. Should I replace $USER with a fixed string, it works as expected.

I can't find any reference to this problem in the archives and am
struggling. DOes anyone have any ideas? Any and all help would be much
appreciated.

Thanks in advance,
Alexi
-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: Eduardo Chappa <[email-masked]>
Date: Thu, 26 Jul 2001 06:52:22 -0700 (PDT)

*** Alexi Margo ([email-masked]) wrote in the pine-info list today:

:) The only problem is that the box is a multi-user system where each user has
:) the "virtual domain" in the form $USER.mydomain.com, where $USER is the
:) corresponding environment variable. According to the documentation, the
:) following in [pine.conf.fixed] should work:
:)
:) user-domain="$USER.mydomain.com"

You can try two solutions, one is to define another environment variable
in the above mentioned way and use only that encironment variable in the
user-domain configuration option or use

user-domain="${USER}.mydomain.com"

-- 
Eduardo
http://www.math.washington.edu/~chappa/pine/