Great Circle Associates Majordomo-Users
(October 1995)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: how do you hide the -outgoing line in the Received lines?
From: dwolfe @ risc . sps . mot . com (Dave Wolfe)
Date: Thu, 26 Oct 1995 17:42:47 -0500 (CDT)
To: lau @ wharton . upenn . edu (Yan Lau)
Cc: majordomo-users @ greatcircle . com (Majordomo user's mailing list)
In-reply-to: <199510241625.MAA28555@rider.wharton.upenn.edu> from "Yan Lau" at Oct 24, 95 12:25:55 pm
Reply-to: Dave Wolfe <david_wolfe @ risc . sps . mot . com>

[ Yan Lau writes: ]
> 
> I've read the FAQ on hiding the outgoing alias so that users don't
> get around the resend checks and have not been able to get it to work.
> I know that I should change the outgoing aliases to some obscure
> name and to put the resend command in a file or disable expn and
> vrfy.

Y'all are making this too hard. The mechanism is already there, so
there's no need to break resend by trying to have it expand the list
itself (the limiting factor is the size allowed for command line
arguments; how is a Perl script supposed to portably determine that?)

1)  Change the outgoing alias to something obscure.

2)  Change the resend alias to have one argument, the pathname of the
    file containing the resend arguments prefixed by the character '@',
    e.g.:

    listname: "|/somewhere/wrapper resend @/somewhere/lists/listname.parms"

3)  Create the "listname.parms" file with the resend parameters,
    including the outgoing alias followed by ",nobody", e.g.:

    -l testlist
    -h mail.host.com
    testlist-kablooey,nobody

    Be sure that "nobody" is an alias for /dev/null, i.e.:

    nobody: /dev/null

    The ",nobody" is what turns off the Received lines.

I don't think expn and vrfy matter at this point, but I could be wrong.
Turn 'em off anyway. If anyone is allowed to logon to the Mj machine
(even via rsh), you still have a hole via 'ps': sendmail runs with the
outgoing alias on the command line. The only way to plug that is to not
allow logons, but you can minimize the time sendmail hangs around by
adding sendmail flags to the .parms file to have sendmail just queue the
addresses and deliver them during the next queue run, e.g.:

    -l testlist
    -h mail.host.com
    -m-odq
    testlist-kablooey,nobody

-- 
 Dave Wolfe    *Not a spokesman for Motorola*  (512) 891-3246
 Motorola MMTG  6501 Wm. Cannon Dr. W. OE112  Austin  TX  78735-8598


Follow-Ups:
References:
Indexed By Date Previous: Re: Need help controlling bounces
From: dwolfe@risc.sps.mot.com (Dave Wolfe)
Next: Question about admin bounces
From: Russell Street <r.street@auckland.ac.nz>
Indexed By Thread Previous: Re: how do you hide the -outgoing line in the Received lines?
From: peter@taronga.com (Peter da Silva)
Next: Re: how do you hide the -outgoing line in the Received lines?
From: Adam Horwitz <adam@tripcom.com>

Google
 
Search Internet Search www.greatcircle.com