Great Circle Associates Majordomo-Users
(August 1996)
 

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

Subject: Re: Mail loop detection
From: Jason L Tibbitts III <tibbs @ hpc . uh . edu>
Date: 30 Jul 1996 02:19:33 -0500
To: jeffw @ smoe . org (Jeff Wasilko)
Cc: majordomo-users @ GreatCircle . COM
In-reply-to: jeffw@smoe.org's message of Thu, 25 Jul 1996 16:20:49 -0400 (EDT)
References: <9607252020.AA00662@smoe.org>

>>>>> "JW" == Jeff Wasilko <jeffw@smoe.org> writes:

JW> A few minutes ago, a clueless luser managed to send in a subscribe
JW> message that looked like

JW> subscribe jewel [<jewel>] [<sjlandry@umr.edu>]

Doh!  This shows off two deficiencies:

1. Loop detection.  This is easy to fix in 1.94 with message_headers (add
   an X-Majordomo: $VERSION-$LIST header or something) and taboo_headers 
   (check for it with /x-majordomo/i).

2. Bad address stripping.  [<jewel>] is (I believe) a valid RFC822 address
   and isn't the same as just plain jewel.  Unfortunately the strip routine
   built in to majordomo gets this wrong.  Here's a comparison:

XYX:sina:~> ./strip.pl '[<jewel>]'
Orig address    : [<jewel>]
Stripped address: jewel
Mailtools parse : [<jewel>]

And another badly stripped address.  (Yes, it's legal.)

XYX:sina:~> ./strip.pl '"user&name"@host . dom'
Orig address    : "user&name"@host . dom
Stripped address: @host . dom
Mailtools parse : "user&name"@host.dom

MailTools (actually Mail::Address->parse()) gets these right, but there's
no integrating that into Majordomo without breaking ancient perl
(i.e. perl4) compatibility.  Perhaps for 2.0?
-- 
      Jason L. Tibbitts III - tibbs@uh.edu - 713/743-8684 - 221SR1
System Manager:  University of Houston High Performance Computing Center
                1994 PC800 "Kuroneko"      DoD# 1723


Indexed By Date Previous: Re: Restrict post by domain?
From: Kevin Kelleher <kevink@concorde.com>
Next: Re: Unsubscribing doubly subscribed users.
From: Brock Rozen <brozen@netvoyage.net>
Indexed By Thread Previous: Re: Restrict post by domain?
From: Kevin Kelleher <kevink@concorde.com>
Next: Re: Unsubscribing doubly subscribed users.
From: Brock Rozen <brozen@netvoyage.net>

Google
 
Search Internet Search www.greatcircle.com