At 07:10 PM 1/29/95 PST, Dragon wrote:
>Hi,
>
>I'm running majordomo on SCO Unix 3.2.4.2 with smail (couldn't get it
>working with MMDF for anything), and it works fine except for 2 things:
>
>a. I tried setting up the "advanced" aliases given in the sample.aliases
>file, and found that resend stripped off the message body, and digest wouldn't
>give me message bodies even when I didn't use resend. It seems that there
>is likely something related going on here, but I don't know what.
>
>b. the times on any list-oriented stuff comes out in GMT rather than local.
>
>(a) is clearly more important than (b). My lists and archives work great,
>it's just this digest and resend stuff that seems to be stumping me.
>
>Any help greatly appreciated...even hints! Thanks in advance.
>--
>David Fiedler
>david@infopro.com
>
>
I can help with the time zone thing. I had to hack my majordomo 1.62
wrapper to stuff the TZ variable into the new_env array. Here's how I
did it in that version:
/* Make an additional slot in the new_env array */
char * new_env[] = {
HOME, /* 0 */
PATH, /* 1 */
SHELL, /* 2 */
#ifdef MAJORDOMO_CF
MAJORDOMO_CF, /* 3 */
#endif
0, /* possibly for USER or LOGNAME */
0, /* possible for LOGNAME */
0, /* possibly for time zone */
0
};
[...]
/* In the section that stuffs the USER and LOGNAME variables, add an
additional line to stuff the TZ variable also */
for (i = 0 ; env[i] != NULL ; i++) {
if ((strncmp(env[i], "USER=", 5) == 0) ||
(strncmp(env[i], "LOGNAME=", 8) == 0) ||
(strncmp(env[i], "TZ=", 3) == 0)) {
new_env[e++] = env[i];
}
}
That seems to do the trick.
Regards,
Doug Plate Sr.
//////////////////////////////////////////////////////////////////////////////
Doug Plate Sr. <plate@dicomed.com>
Systems Engineer, Dicomed Inc. Burnsville, MN
Network Adminstrator Digital Photo Retouch Products
//////////////////////////////////////////////////////////////////////////////
|
|