• Netmgr Problems

    From Sean Dennis@1:18/200 to All on Thursday, May 31, 2007 17:15:54
    Hello, All.

    I'm trying to figure out why NetMgr is acting so weird...I'm using v1.09y (patched for Y2K). What I'm attempting to do is have NetMgr scan my three netmail areas for a message addressed to Infomail with the subject of Micronet.
    I then want to send a text file back to the original sender. Here's the pertinent part of my NETMGR.CFG:

    ScanDir d:\msgs\fnet renum
    Mask *, *, Infomail, 1:18/200.0, Micronet, *
    Action MakeMsg d:\netmgr\micronet.txt Infomail, 1:18/200.0, *, *, MicronetInfosheet, *

    (That last line is wrapped.)

    However, instead of sending the mail out correctly, it does this:

    Date : Thu May 31, 17:15 pvt From : Infomail 1:18/200
    To : infomail 1:18/200
    Subj : Micronet Infosheet --------------------------------------------------------------------------------

    (The text file is correctly written.)

    I'm not understanding why NetMgr is wanting to write messages to itself when it
    has the correct headers from the original message...anyone know why this is happening?

    Thanks,
    Sean

    --- timEd/2 1.10.y2k+
    * Origin: Outpost BBS - Douglasville, GA - bbs.outpostbbs.net (1:18/200)
  • From mark lewis@1:3634/12 to Sean Dennis on Friday, June 01, 2007 17:32:58
    Hello, All.

    I'm trying to figure out why NetMgr is acting so weird...I'm using
    v1.09y (patched for Y2K). What I'm attempting to do is have NetMgr
    scan my three netmail areas for a message addressed to Infomail
    with the subject of Micronet. I then want to send a text file back
    to the original sender. Here's the pertinent part of my
    NETMGR.CFG:

    ScanDir d:\msgs\fnet renum
    Mask *, *, Infomail, 1:18/200.0, Micronet, *
    Action MakeMsg d:\netmgr\micronet.txt Infomail, 1:18/200.0, *, *, MicronetInfosheet, *

    ■ MAKEMSG <file for body> <mask>
    ────────────────────────────────

    This will generate a new message, using the Mask you specify as the
    header, and the contents of a file you specify as the body.
    However, the header (that is: from, to, subject, destination address, origination address and attributes) will be initialized with the
    contents of the original message.
    Putting a '*' in fields of the masks will, as a result, produce the ===================================================================
    contents of the header of the original message. ===============================================

    based on the above underscored part, i'd say that it is doing exactly that... using the To, DestAddr, and Attribs from the original message...

    i don't know that you can do this because the docs aren't very clear and i can't find an example of it...

    Action MakeMsg d:\netmgr\micronet.txt Infomail, 1:18/200.0, fromname, fromaddress, MicronetInfosheet, +l

    i see fromname and fromaddrress in the definitions but don't know if that is simply for documentation purposes or if it is a hint that they are available like @myaka...

    could it be that you are actually wanting the EMPTYBOUNCE or XBOUNCE... in fact, i think that XEMPTYBOUNCE is really what you are wanting... XEMPTYBOUNCE because it doesn't appear that you are wanting to return the original message headers and body to them as would be done in a bounce message...

    ===== snip =====
    The BOUNCE, HDRBOUNCE and EMPTYBOUNCE Actions have 'extended'
    counterparts: XBOUNCE, XHDRBOUNCE and XEMPTYBOUNCE.

    The format:
    XBOUNCE <textfile for bouncetext> <full mask to use>

    The first parameter is the textfile to add at the top of the bounce
    message.
    The second parameter is the mask to use for the bounce message. You can
    specify a "*" for the fields where you want the default to be used.

    By default, NetMgr generates a full 'reply header' with the to: and from:
    names and addresses reversed (compared to the original message) and the
    same attributes and subject.

    For example, for this message:

    From: Gerard, 1:1/1
    To : SysOp, 1:138/211
    Subj: Test!
    Attr: Pvt Cra
    ----------------------------------

    The standard reply header is:

    From: SysOp, 1:138/211
    To : Gerard, 1:1/1
    Subj: Test!
    Attr: Pvt Cra
    ----------------------------------

    And that will be the result if you specify a mask like:

    Action XBounce c:\txt\bounce.txt *, *, *, *, *, *

    However, if you make it:

    Action XBounce c:\txt\bounce.txt The Bodyguard, 2:281/527.0, *, *, *, +l

    The result would be:

    From: The Bodyguard, 2:281/527
    To : Gerard, 1:1/1
    Subj: Test!
    Attr: Loc
    ----------------------------------

    {+} You can use variables in the textfiles that can be inserted at the
    top of the message. See the action 'bounce' for more information on
    this.

    The extended bounce actions are only available to registered users.

    ===== snip =====

    )\/(ark


    * Origin: (1:3634/12)