Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: dct@odin.mda.uth.tmc.edu (David C. Tuttle)
Subject: Sendmail $g problem on Digital Unix
Date: 1995/08/15	[thread overview]
Message-ID: <dct-1508951428160001@nidhogg.mda.uth.tmc.edu> (raw)

I'm getting some weird behavior from our new mail server's sendmail.
(It's an DEC AlphaServer 1200 Model 5/250 running OSF/1 v3.2B)
Here's how the system's sendmail.cf defines some things:

   ##########################
   ###   Special macros   ###
   ##########################

   # UNIX header format
   DlFrom $g  $d
   # format of a total name
   Dq$?x$x $.<$g>

   #############################
   ###   Format of headers   ###
   #############################

   H?F?From: $q

But a typical header on our outgoing mail sometimes looks like this:

   From dct@odin.mda.uth.tmc.edu  Tue Aug 15 14:03:44 1995
   From: "David C. Tuttle" <dct@odin>

When I edit the Dq line to say "Dq$?x$x $.<$g.$N>" to force putting a
fully qualified hostname, it comes out:

   From: "David C. Tuttle" <dct@odin.mda.uth.tmc.edu.mda.uth.tmc.edu>

I remove the $N, and it goes back to "<dct@odin>".  All the other
headers look fine, including the "From " line which also uses $g.

I'm using DEC's mailsetup utility, then banging on sendmail.cf until
the headers are just right.  Unfortunately, it seems like I've got the
problem licked, only to have it recur a few days later (no reboot, no
restart of sendmail, it just happens).  Am I missing something here?
Is there any way to modify (or even just test) the $g macro?  Anyone
who has any information on this is welcome to reply to me.  Thanks.

-- 
David C. Tuttle, Biomathematics   ----> dct@odin.mda.uth.tmc.edu <----
University of Texas M.D. Anderson Cancer Center        +1 713 792 2606
Mail Stop 237, 1515 Holcombe Boulevard, Houston, TX  77030-4096    USA
Today's anagram of "David Charles Tuttle" is:  THAT'D CALL SERVITUDE



             reply	other threads:[~1995-08-15  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-08-15  4:00 David C. Tuttle [this message]
1995-08-16  4:00 ` Sendmail $g problem on Digital Unix Brad Knowles
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox