jenst@cernvax.UUCP (Jens Trier Rasmussen) (03/17/90)
I have a small problem with the rewriting of From addresses in mail11v3 or in mail11dv3. The problem occurs when I use mail11v3 on a Ultrix RISC 3.1 to talk to mail11dv3 on Ultrix RISC 3.0. Somewhere along the route (in either of these two programs) the sending node's name (the node where the mail11dv3 runs) is prefixed to the From address, e.g. node::u@h.domain. This makes it impossible directly to reply to the message. The node prefixing is indeed needed when mail11v3 talks to a VMS host, but there the From address should be node::"u@h.domain". This works okay. Mail11v3 and/or mail11dv3 have the knowledge to distinguish between VMS and Ultrix host, since they exchange OS information on connecting. Can any knowledgeable person (Jeff -:) enlight me on this problem ? Facts: I'm calling the mail11v3 program from sendmail with the sender address in VMSmail syntax, e.g. host::user. I have tried using the undocumented command mail11dv3.AcceptNodePrefixed: off, but it doesn't seems to help. Cheers and have a nice weekend Jens Trier Rasmussen CERN-CN/CS
michaud@decvax.dec.com (Jeff Michaud) (03/19/90)
> ... the sending node's name (the node where the mail11dv3 > runs) is prefixed to the From address, e.g. node::u@h.domain. This makes > it impossible directly to reply to the message. node::user and the same on incoming mail. On incoming we use the same syntax. The problem lies in the precendence the node::user syntax get's on outgoing when sendmail cononicalizes the address. For your example: node::u@h.domain sendmail gives the @ syntax higher precendence, so see's h.domain as the host to send mail to, and sees node::u as the recipient on host h.domain. Something you may want to try is the undocumented: mail11d.DomainStyleFrom option. What mail11dv3 does in this case on incoming for the From line is present it to sendmail as: user@node.dnet vs. the node::user syntax. I believe I added this option for Fred (hi fred!), and I can't recall if it solved the problem with this undocumented option alone, or whether a sendmail config file change is also needed. > Mail11v3 and/or mail11dv3 have the knowledge to distinguish between VMS > and Ultrix host, since they exchange OS information on connecting. Unlucky for us however, VMSmail seems to have a bug that makes it impossible to special case based on OS type on *outgoing* mail. VMS's slave mail-11 server doesn't return "VMS" as their OS type, but instead echo's back the OS type of the master side of the connection. Ie. VMS says it is ULTRIX when we connect to them :-(. Try enabling mail11's undocumented verbose option then use: mail -v node::user to see which OS type a remote "node" says it is. > I have tried using the undocumented command mail11dv3.AcceptNodePrefixed: > off, but it doesn't seems to help. Sorry, that option, if you were to enable it, only allows the master side to prepend their own nodename on the from line. ULTRIX doesn't request the option. The feature is intended to allow DECnet-DOS machines to pretend the mail is coming from a node to which they can actually receive replies back to. I don't know if DECnet-DOS ever requests the option however. In any case, the option is disabled by default for mail11d for obvious reasons (ie. in the name of security). /--------------------------------------------------------------\ |Jeff Michaud michaud@decwrl.dec.com michaud@decvax.dec.com| |DECnet-ULTRIX #include <standard/disclaimer.h> | \--------------------------------------------------------------/