Scott Blachowicz <[EMAIL PROTECTED]> writes:
> "Dan Harkless" <[EMAIL PROTECTED]> wrote:
> 
> >    * There are now three types of email address masquerading.  Rather than
> >      having them all be turned on by having "mmailid: 1" in the mts.conf,
> >      they can be individually enabled on a "masquerade: draft_from mmailid
> >      username_extension" line.  draft_from and mmailid were present in
> >      1.0.3, but username_extension is new -- if active, users can set a
> >      $USERNAME_EXTENSION environment variable to values like "+usenet" or
> >      "-pgp2" to have those values appended to their usernames on the From:
> >      line of outgoing mails.  This feature is meant to interoperate with the
> >      analogous one of MTAs like sendmail and qmail.
> 
> A minor nit...I'm assuming that the 3 types of masquerading are
> independent of each other(?).  The syntax in the configure script for
> the --with-masquerade option is:
> 
>   ac_help="$ac_help
>     --enable-masquerade[='draft_from[ mmailid[ username_extension]]']
>                             enable 3 types of email address masquerading [none]"
> 
> which (because of where the []'s are) implies that you can specify
> "mmailid" without first specifying "draft_from" and that you can't
> specify "username_extension" without first specifying "mmailid".
> 
> In working on updating the FreeBSD port, I ended up passing
> 
>       --enable-masquerade=username_extention
> 
> which should've gotten flagged as invalid.  According to the help
> line, I misspelled the option name and I specified it without its
> prerequisites, too.  So, I imagine I didn't enable any masquerading?
> Or if an RTFM response is appropriate, feel free...:-))

You're right -- the syntax I specified is bogus.  It's not necessary to
specify mmailid before username_extension or draft_from before the latter
two.

I don't see a good compact, non-confusing way to specify the real syntax
rules there, so I guess I'll just print it without the extra []s and leave
the explaining about it being okay to specify a subset to the INSTALL file.

You're right that there's currently no checking that the masquerade options
you specify actually exist, which I agree is poor.  I just haven't had a
chance to put in proper parsing yet.  This is documented in comments in the
mts.conf handling code, but not elsewhere.  I just added a TODO item for it.

So, you're right -- you didn't enable any masquerading.

-----------------------------------------------------------------------
Dan Harkless                   | To prevent SPAM contamination, please 
[EMAIL PROTECTED]      | do not post this private email address
SpeedGate Communications, Inc. | to the USENET or WWW.  Thank you.     

Reply via email to