home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.mail.sendmail:2688 comp.mail.uucp:2011
- Path: sparky!uunet!ogicse!psgrain!ee.und.ac.za!tplinfm
- From: barrett@daisy.ee.und.ac.za (Alan P Barrett)
- Newsgroups: comp.mail.sendmail,comp.mail.uucp
- Subject: Re: Use of precedence to determine UUCP grade
- Message-ID: <1datdsINNfe9@daisy.ee.und.ac.za>
- Date: 5 Nov 92 14:35:40 GMT
- Article-I.D.: daisy.1datdsINNfe9
- References: <1d6ov2INNg1v@uwm.edu>
- Organization: Dept. Elec. Eng., Univ. Natal, Durban, S. Africa
- Lines: 37
- NNTP-Posting-Host: daisy.ee.und.ac.za
-
- In article <1d6ov2INNg1v@uwm.edu>,
- jgreco@csd4.csd.uwm.edu (Joseph E Greco) writes:
- > Has anybody used the precedence in sendmail to determine uucp grades?
-
- Smail3 can do this quite easily. Much like sendmail, it starts by
- translating the Precedence word to an internal one-character value,
- controlled by a line like this in the config file:
-
- grades="special-delivery:9:air-mail:A:first-class:C:bulk:a:junk:n"
-
- When it is time to choose a transport method, the grade can be used to
- help make that decision, via lines like the following in a methods file.
-
- # send grades 'A' or better immediately (uux without the "-r" flag)
- uunet/*-A immediate-uux-rmail-bang
- uunet uux-rmail-bang
-
- The transport definition file can refer to the mail grade letter,
- passing it to uux's "-g" option, like this:
-
- uux-rmail-bang:
- [stuff deleted]
- cmd = "/usr/bin/uux -g$grade -a$uucp_sender -r - $host!rmail $(($user)$)",
- [stuff deleted]
-
- immediate-uux-rmail-bang:
- [stuff deleted]
- cmd = "/usr/bin/uux -g$grade -a$uucp_sender - $host!rmail $(($user)$)",
- [stuff deleted]
-
- The standard (default) smail3 configuration does not include the part
- about choosing whether or not to use the uux -r flag, but does include
- the part about using the uux -g flag to set the grade.
-
- --apb
- Alan Barrett, Dept. of Electronic Eng., Univ. of Natal, Durban, South Africa
- RFC822: barrett@ee.und.ac.za Bang: m2xenix!undeed!barrett
-