home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s053 / 26.ddi / root.3 / usr / ucblib / mailsurr < prev    next >
Encoding:
Text File  |  1990-12-20  |  1.2 KB  |  37 lines

  1. #ident    "@(#)//usr/ucblib/mailsurr.sl 1.1 4.0 12/08/90 60100 AT&T-USL"
  2.  
  3.  
  4. #        PROPRIETARY NOTICE (Combined)
  5. #
  6. #This source code is unpublished proprietary information
  7. #constituting, or derived under license from AT&T's UNIX(r) System V.
  8. #In addition, portions of such source code were derived from Berkeley
  9. #4.3 BSD under license from the Regents of the University of
  10. #California.
  11. #
  12. #
  13. #
  14. #        Copyright Notice 
  15. #
  16. #Notice of copyright on this source code product does not indicate 
  17. #publication.
  18. #
  19. #    (c) 1986,1987,1988,1989  Sun Microsystems, Inc
  20. #    (c) 1983,1984,1985,1986,1987,1988,1989  AT&T.
  21. #              All rights reserved.
  22.  
  23.  
  24. # "@(#)mail:mail/mailsurr       1.1 'SVR4.0 mail'
  25. # @(#)mailsurr  2.5 'attmail mail(1) command'
  26. #/etc/mail/mailsurr must exist to do anything useful
  27. # Entries are of the form:
  28. # 'Originator RE' 'Recipient RE' 'Command Field'
  29. # See mailsurr(4) for details.
  30. ##################################################################
  31. #               /* For remote mail via uucp */
  32. #'.+' '([^!@.]+)$0!(.+)$1' '< /usr/bin/uux - \\0!rmail (\\1)'
  33. #               /* For remote mail via smtp */
  34. #'.+' '(.*[@!].*)$1' '< /usr/ucblib/sendmail  \\1'
  35. #send absolutely everything to sendmail -- a good setting for most cases
  36. '.+' '(.+)$1' '< /usr/ucblib/sendmail  \\1'
  37.