home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / sendmail / sendmail-5.65 / cf / m4 / uucpm.m4 < prev    next >
Encoding:
Text File  |  1989-01-03  |  1.3 KB  |  43 lines

  1. divert(10)
  2. #
  3. #  Sendmail
  4. #  Copyright (c) 1983  Eric P. Allman
  5. #  Berkeley, California
  6. #
  7. #  Copyright (c) 1983 Regents of the University of California.
  8. #  All rights reserved.  The Berkeley software License Agreement
  9. #  specifies the terms and conditions for redistribution.
  10. #
  11. #    @(#)uucpm.m4    1.11 (Berkeley) 1/3/89
  12. #
  13. divert(0)
  14. ############################################################
  15. ############################################################
  16. #####
  17. #####        UUCP Mailer specification
  18. #####
  19. ############################################################
  20. ############################################################
  21.  
  22.  
  23. Muucp,    P=/usr/bin/uux, F=DFMhuU, S=13, R=23, M=100000,
  24.     A=uux - -r -z -a$f -gC $h!rmail ($u)
  25.  
  26. S13
  27. R$+            $:$>5$1                convert to old style
  28. R$*<@$=w>$*        $1<@$w>$2            resolve abbreviations
  29. R$*<@$->$*        $1<@$2.$D>$3            resolve abbreviations
  30. R$+<@$+>        $2!$1                uucpize (no @'s in addr)
  31. R$w!$+            $1                strip local name
  32. R$+            $:$U!$1                stick on our host name
  33. R$=U!$-%$-        $:$1!$2@$3.$D            ucbvax!user@host.domain
  34.  
  35. S23
  36. R$+            $:$>5$1                convert to old style
  37. R$*<@$=w>$*        $1<@$w>$2            resolve abbreviations
  38. R$*<@$->$*        $1<@$2.$D>$3            resolve abbreviations
  39. R$+<@$w>        $U!$1                a!b@here -> here!a!b
  40. R$=U!$+            $2                here!a!b -> a!b
  41. # sanity ... should not happen.
  42. R$=U.$D!$+        $2                strip local name.domain
  43.