tran@versatc.UUCP (Tony Tran) (01/12/89)
How does one do auto-routing with smail ?
I've just installed smail 2.5 on my SUN 3 (3.4 OS). After
I create /usr/lib/uucp/paths, I try to test sending mail to
somebody using the syntax username@hostname.UUCP or
username@hostname.COM ... {without specifying the complete
bangpath like a!b!c!d!username}. Mail messages all bounce back
with a unsuccessful delivery (failed mail). If I attemp to send
mail using the fully qualified path (a!b!c!d!username ...) then
mail was delivered correctly. i thought smail is
supposed to search the path in the paths database, but apparently
it didn't do it.
Did I do something wrong?
Any hint/advise would be greatly appreciated.
Tony Tran
Versatec Corp.
--
UUCP: {sun|ames|pyramid|vsi1|leadsv}!versatc!tran Tony Tran
Versatec, 2805 Bowers Avenue, Santa Clara, Calif 95051 (408)982-4317chip@ateng.ateng.com (Chip Salzenberg) (01/13/89)
According to tran@versatc.UUCP (Tony Tran): >I've just installed smail 2.5 [...] >I try to test sending mail to somebody using the syntax >username@hostname.UUCP or username@hostname.COM [...] >Mail messages all bounce back with a unsuccessful delivery (failed mail). The paths file must be sorted. Also, the fields in the paths file must be separated by tab characters. -- Chip Salzenberg <chip@ateng.com> or <uunet!ateng!chip> A T Engineering Me? Speak for my company? Surely you jest! "It's no good. They're tapping the lines."
rac@jc3b21.UUCP (Roger A. Cornelius) (01/13/89)
From article <11576@versatc.UUCP>, by tran@versatc.UUCP (Tony Tran):
< How does one do auto-routing with smail ?
<
< I've just installed smail 2.5 on my SUN 3 (3.4 OS). After
< I create /usr/lib/uucp/paths, I try to test sending mail to
< somebody using the syntax username@hostname.UUCP or
< username@hostname.COM ... {without specifying the complete
< bangpath like a!b!c!d!username}. Mail messages all bounce back
< with a unsuccessful delivery (failed mail). If I attemp to send
< mail using the fully qualified path (a!b!c!d!username ...) then
< mail was delivered correctly. i thought smail is
< supposed to search the path in the paths database, but apparently
< it didn't do it.
<
< Did I do something wrong?
<
< Any hint/advise would be greatly appreciated.
<
< Tony Tran
< Versatec Corp.
< --
< UUCP: {sun|ames|pyramid|vsi1|leadsv}!versatc!tran Tony Tran
< Versatec, 2805 Bowers Avenue, Santa Clara, Calif 95051 (408)982-4317
It sounds like you may not have the paths file set up correctly.
If I remember correctly, all fields in the file must be tab separated,
and lines are sorted in descending order *without* regard to case.
Also, smail will only autoroute to unknown systems (systems not in
paths file) when you have smart-host (or whatever you defined SMARTHOST
to be in defs.h) set to a known system that's willing to relay your mail.
The smart-host entry in paths has the same format as any other system
entry, i.e.
smart-host<TAB>known-system!...!%s<TAB>cost
If smail won't send to systems that are in paths, then it's probably
a problem with the sorting or tab separated fields.
There's an in-depth description of the paths format in paths.8 which
was included with the smail distibution.
Roger Cornelius