386BSD 0.1 development
authorWilliam F. Jolitz <wjolitz@soda.berkeley.edu>
Wed, 4 Jan 1989 04:25:24 +0000 (20:25 -0800)
committerWilliam F. Jolitz <wjolitz@soda.berkeley.edu>
Wed, 4 Jan 1989 04:25:24 +0000 (20:25 -0800)
Work on file usr/src/usr.sbin/sendmail/cf/m4/smtpuucpm.m4

Co-Authored-By: Lynne Greer Jolitz <ljolitz@cardio.ucsf.edu>
Synthesized-from: 386BSD-0.1

usr/src/usr.sbin/sendmail/cf/m4/smtpuucpm.m4 [new file with mode: 0644]

diff --git a/usr/src/usr.sbin/sendmail/cf/m4/smtpuucpm.m4 b/usr/src/usr.sbin/sendmail/cf/m4/smtpuucpm.m4
new file mode 100644 (file)
index 0000000..4dcfcc5
--- /dev/null
@@ -0,0 +1,34 @@
+divert(10)
+#
+#  Sendmail
+#  Copyright (c) 1983  Eric P. Allman
+#  Berkeley, California
+#
+#  Copyright (c) 1983 Regents of the University of California.
+#  All rights reserved.  The Berkeley software License Agreement
+#  specifies the terms and conditions for redistribution.
+#
+#      @(#)smtpuucpm.m4        1.1     (Berkeley) 1/3/89
+#
+divert(0)
+############################################################
+############################################################
+#####
+#####          SMTP UUCP Mailer specification
+#####
+#####  This mailer sends UUCP traffic over an SMTP connection.
+#####  Obviously, we only want to do this with UUCP hosts with
+#####  whom we have SMTP connectivity.  The idea here is to
+#####  avoid having to double queue (once for sendmail, once
+#####  for UUCP) when there's no need.  Since we need to
+#####  preserve uucp-ness (e.g., bangs), we use the UUCP mailer
+#####  rewriting rulesets.
+#####
+############################################################
+############################################################
+
+Msmtpuucp,     P=[IPC], F=mDFMueXLC, S=13, R=23, A=IPC $h, E=\r\n
+
+define(SMTPUUCPPAIR,
+`R<@$1.uucp>:$+                $`#'smtpuucp$@$2$:`$'2
+R$*<@$1.uucp>          $`#'smtpuucp$@$2$:`$'1')