Great Circle Associates Majordomo-Users
(October 2003)
 

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

Subject: Re: Trouble with Hiding Majordomo Aliases in Sendmail
From: Jeff Wasilko <jeffw @ smoe . org>
Date: Fri, 3 Oct 2003 12:45:49 -0400
To: John Heffernan <jheffernan @ collaborative . org>
Cc: Majordomo-Users <majordomo-users @ greatcircle . com>
In-reply-to: <BBA30CEE.B746%jheffernan@collaborative.org>
Mail-followup-to: John Heffernan <jheffernan@collaborative.org>,Majordomo-Users <majordomo-users@greatcircle.com>
References: <BBA30CEE.B746%jheffernan@collaborative.org>
User-agent: Mutt/1.3.99i

On Fri, Oct 03, 2003 at 11:24:30AM -0400, John Heffernan wrote:
> I have been beefing up my security in Majordomo 1.94.5.  I am using sendmail
> 8.12.9.  The technique of using sendmail virtusertable is working well - too
> well.  All messages are being blocked due to unknown user. Here is the
> virtusertable, aliases, bounce email, and Sendmail log entries.  When I go
> back to no virtusertable, all is well except I can post to the outgoing list
> directly (I do have restrict post set to the list file itself so only list
> members can post.) 

You might want to try a different approach (And one that I've
been using for quite a while).

Rather than trying to randomize the -outgoing address, just block
access to it from the outside.

Here are 2 bits of code to drop into your .mc file that will
block access to -outgoing addresses from anyplace other than
localhost:

#
# block direct access to -outgoing majordomo aliases
#
Koutgoing regex -a@MATCH \-outgoing$


(be sure to separate the left and right side with tabs, not spaces:

SLocal_check_rcpt
# kill attempts to send directly to majordomo's -outgoing aliases
R$*                             $:$&{client_addr}<>$1
R127.0.0.1<>$*                  $@ LOCALMAILISOK
R$*<>$*                         $:$2
R$*                             $: <> $>Parse0 $>3 $1
R <> $+ < @ $=w . >             $: $(outgoing $1 $)
R <> < @ $=w . > : $+           $: $(outgoing $2 $)
R <> $* < @ $* > $*             $: NOMATCH
R <> $+                         $: $(outgoing $1 $)
R@MATCH                         $#error $: 550 Do not use -outgoing address



Follow-Ups:
References:
Indexed By Date Previous: Re: Moderated List Problem
From: "Lance Prais" <lprais@ts.checkpoint.com>
Next: Re: Nested lists
From: Burt Juda <burt@juda.com>
Indexed By Thread Previous: Re: Trouble with Hiding Majordomo Aliases in Sendmail
From: John Heffernan <jheffernan@collaborative.org>
Next: Re: Trouble with Hiding Majordomo Aliases in Sendmail
From: "Lance Prais" <lprais@ts.checkpoint.com>

Google
 
Search Internet Search www.greatcircle.com