Subj : Netmgr Problems To : Sean Dennis From : mark lewis Date : Fri Jun 01 2007 05:32 pm SD> Hello, All. SD> I'm trying to figure out why NetMgr is acting so weird...I'm using SD> v1.09y (patched for Y2K). What I'm attempting to do is have NetMgr SD> scan my three netmail areas for a message addressed to Infomail SD> with the subject of Micronet. I then want to send a text file back SD> to the original sender. Here's the pertinent part of my SD> NETMGR.CFG: SD> ScanDir d:\msgs\fnet renum SD> Mask *, *, Infomail, 1:18/200.0, Micronet, * SD> Action MakeMsg d:\netmgr\micronet.txt Infomail, 1:18/200.0, *, *, SD> MicronetInfosheet, * ž MAKEMSG ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ 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 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) .