Gnus development mailing list
 help / color / mirror / Atom feed
From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Cc: ding@ifi.uio.no
Subject: Re: September Gnus 0.60 is released
Date: Fri, 29 Mar 1996 17:39:27 +0100	[thread overview]
Message-ID: <199603291639.RAA27896@durin.uio.no> (raw)
In-Reply-To: <w8sg2arnakt.fsf@aegir.ifi.uio.no>

> Hallvard B Furuseth <h.b.furuseth@usit.uio.no> writes:
> 
>> I'd like a user-mail-address-hook which programs (optionally) should run
>> before they use user-mail-address.  This is because the "official" mail
>> address (as opposed to some "working" mail address) can be expensive to
>> compute, so it should only be computed when it's needed, not in
>> default.el.  
> 
> I thought most sites just did something like:
> 
> (setq user-mail-address (concat (user-login-name) "@our.nice.site"))

That doesn't work here at UiO outside ifi.uio.
Well, this does work:
	(concat (user-login-name) "@any.ugly.uio-machine.name")
but it does not yield the user's official address.

The reason is that all of UiO (except ifi.uio) has a common user
database, but UiO has several sub-domains (for the various departments).
The *only* way to learn which sub-domain a user belongs to, is to ask
the mail system.

Example:

my-user@my-host-name:	         hbf@durin.uio.no
my-email-address:	h.b.furuseth@usit.uio.no

In outgoing mail, user@machine addresses are converted to the user's
official address, so that recipients will never see anything else than
the official address --- except in news messages.  Ouch.

> What did you have in mind that a typical `user-mail-address-hook'
> would do?

The one at UiO would set user-mail-address to the output of the shell
command

	`pk address <<user-login-name>>`


Regards,

Hallvard


  reply	other threads:[~1996-03-29 16:39 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-03-28  6:25 Lars Magne Ingebrigtsen
1996-03-28 10:49 ` Magnus Hammerin
1996-03-28 11:28   ` Kai Grossjohann
1996-03-28 12:36     ` Magnus Hammerin
1996-03-28 13:16       ` Kai Grossjohann
1996-03-28 14:26         ` Per Abrahamsen
1996-03-28 23:22           ` Hallvard B Furuseth
1996-03-29 16:11             ` Lars Magne Ingebrigtsen
1996-03-29 16:39               ` Hallvard B Furuseth [this message]
1996-04-01 15:46                 ` Lars Magne Ingebrigtsen
1996-04-01 16:21                   ` Hallvard B Furuseth
1996-04-02 20:01                     ` Lars Magne Ingebrigtsen
1996-04-02 20:38                       ` Per Abrahamsen
1996-04-16 20:01                         ` Hallvard B Furuseth
1996-03-29 16:58               ` Scott Blachowicz
1996-03-29 18:12                 ` Russ Allbery
1996-03-29  5:31           ` Lars Magne Ingebrigtsen
1996-03-29  2:04       ` Hallvard B Furuseth
1996-03-29  5:27       ` Lars Magne Ingebrigtsen
1996-03-29  5:26     ` Lars Magne Ingebrigtsen
1996-03-29  9:08       ` Small thinko in .message.el variable initialisation Jan Vroonhof

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199603291639.RAA27896@durin.uio.no \
    --to=h.b.furuseth@usit.uio.no \
    --cc=ding@ifi.uio.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).