[11186] in Athena Bugs

home help back first fref pref prev next nref lref last post

Workstation sendmail.cf strips quotes in addresses

daemon@ATHENA.MIT.EDU (Jonathan I. Kamens)
Sun Oct 10 18:16:26 1993

Date: Sun, 10 Oct 1993 18:16:41 -0400
From: "Jonathan I. Kamens" <jik@security.ov.com>
To: bugs@MIT.EDU
Cc: postmaster@MIT.EDU

The mailer definition for the SMTP mailer in the sendmail.cf used by
Athena workstations is as follows:

Mether,	P=[IPC], F=msDFMueCX, S=11, R=21, A=IPC $h

The 's' in the list of flags tells sendmail (quoting from "Sendmail
Installation and Operation Guide") to "strip quote characters off of
the address before calling the mailer."

It shouldn't be doing that.  Some SMTP addresses need the quotes left
in place, e.g., if mail is being sent to an X.400 address which starts
with a slash.  Otherwise, when the mail is sent, it is sent as 

	/foo=bar/baz=frelt/etc./@x400.gateway.host

instead of as

	"/foo=bar/baz=frelt/etc./"@x400.gateway.host

The gateway host then might reject the address with "Cannot mail
directly to files" or a similar error.

  jik

home help back first fref pref prev next nref lref last post