home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / mail / sendmail / 2688 < prev    next >
Encoding:
Internet Message Format  |  1992-11-04  |  1.9 KB

  1. Xref: sparky comp.mail.sendmail:2688 comp.mail.uucp:2011
  2. Path: sparky!uunet!ogicse!psgrain!ee.und.ac.za!tplinfm
  3. From: barrett@daisy.ee.und.ac.za (Alan P Barrett)
  4. Newsgroups: comp.mail.sendmail,comp.mail.uucp
  5. Subject: Re: Use of precedence to determine UUCP grade
  6. Message-ID: <1datdsINNfe9@daisy.ee.und.ac.za>
  7. Date: 5 Nov 92 14:35:40 GMT
  8. Article-I.D.: daisy.1datdsINNfe9
  9. References: <1d6ov2INNg1v@uwm.edu>
  10. Organization: Dept. Elec. Eng., Univ. Natal, Durban, S. Africa
  11. Lines: 37
  12. NNTP-Posting-Host: daisy.ee.und.ac.za
  13.  
  14. In article <1d6ov2INNg1v@uwm.edu>,
  15. jgreco@csd4.csd.uwm.edu (Joseph E Greco) writes:
  16. > Has anybody used the precedence in sendmail to determine uucp grades?
  17.  
  18. Smail3 can do this quite easily.  Much like sendmail, it starts by
  19. translating the Precedence word to an internal one-character value,
  20. controlled by a line like this in the config file:
  21.  
  22.     grades="special-delivery:9:air-mail:A:first-class:C:bulk:a:junk:n"
  23.  
  24. When it is time to choose a transport method, the grade can be used to
  25. help make that decision, via lines like the following in a methods file.
  26.  
  27.     # send grades 'A' or better immediately (uux without the "-r" flag)
  28.     uunet/*-A    immediate-uux-rmail-bang
  29.     uunet    uux-rmail-bang
  30.  
  31. The transport definition file can refer to the mail grade letter,
  32. passing it to uux's "-g" option, like this:
  33.  
  34.     uux-rmail-bang:
  35.     [stuff deleted]
  36.     cmd = "/usr/bin/uux -g$grade -a$uucp_sender -r - $host!rmail $(($user)$)",
  37.     [stuff deleted]
  38.  
  39.     immediate-uux-rmail-bang:
  40.     [stuff deleted]
  41.     cmd = "/usr/bin/uux -g$grade -a$uucp_sender - $host!rmail $(($user)$)",
  42.     [stuff deleted]
  43.  
  44. The standard (default) smail3 configuration does not include the part
  45. about choosing whether or not to use the uux -r flag, but does include
  46. the part about using the uux -g flag to set the grade.
  47.  
  48. --apb
  49. Alan Barrett, Dept. of Electronic Eng., Univ. of Natal, Durban, South Africa
  50. RFC822: barrett@ee.und.ac.za                    Bang: m2xenix!undeed!barrett
  51.