[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
minor problem with sendmail compatibility
- To: The zmailer Mailing List <zmailer@cs.toronto.edu>
- Subject: minor problem with sendmail compatibility
- From: John (Most modern computers would break if you stood on them) Mackin <john@civil.su.oz.au>
- Date: Tue, 27 Jul 1993 13:12:12 +0300
I have encountered a small problem with the sendmail compatibility
program. (I hope I have the latest version; I seem to have "Release
2.2", freshly FTP'd from relay.cs.toronto.edu:/pub/zmailer.tar.Z.)
It isn't willing to accept "-oem" even though that's the default
behaviour, and several user agents like to supply that.
I append a patch that will accept "-oem" silently and print the
usual warning on "-oe<anything-besides-m>".
OK,
John.
*** sendmail.c-KEEP Tue Jul 27 20:09:32 1993
--- sendmail.c Tue Jul 27 20:11:01 1993
***************
*** 145,150 ****
--- 145,155 ----
case 'i': /* ignore dots */
dotiseof = 0;
break;
+ case 'e': /* error mode */
+ if (optarg[1] != 'm' || optarg[2] != '\0')
+ goto casedefault;
+ break;
+ casedefault:
default:
(void) sprintf(ebp, " -o%s", optarg);
ebp += strlen(ebp);