Address rewriting in mail11v3/mail11v3d ?
Jeff Michaud
michaud at decvax.dec.com
Mon Mar 19 15:10:03 AEST 1990
> ... the sending node's name (the node where the mail11dv3
> runs) is prefixed to the From address, e.g. node::u at 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 at 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 at 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 at decwrl.dec.com michaud at decvax.dec.com|
|DECnet-ULTRIX #include <standard/disclaimer.h> |
\--------------------------------------------------------------/
More information about the Comp.unix.ultrix
mailing list