rbraun@spdcc.COM (Rich Braun) (05/22/91)
Thanks to Eliot Lear and Neil Rickert's examples and descriptions, I've come to a somewhat better understanding of how sendmail works. Not quite enough, however, to set things up properly for my site. I've got an RS/6000 running sendmail 5.61/4.03, with the sendmail.cf file shipped with the AIX 3.1.5 upgrade. Its local name is "k6000.kronos.com", and it has a uucp connection with spdcc.com (from which I'm posting this query); spdcc knows the RS/6000 as "kronos". Rule set 0 is the one which governs the routing of mail. I haven't figured out how to get it to understand the difference between "kronos.com" and "anyotherdomain", such that it kicks out protocol 'uucp' rather than 'tcp' for "anyotherdomain". Further, it needs to know what string to put in front of the target host name (which might be "spdcc!" or perhaps another string of uucp connections like "motbos!mcdbos!..."). The ruleset definitions are just so much TECO to me. Another point on which I'm not clear is how to define the local name differently under uucp and SMTP. Currently, I have the Dw and Cw macros set to kronos. But that causes the From field on outgoing SMTP mail to look like "kronos.kronos.com" instead of "k6000.kronos.com". My guess is that two one-line changes to my sendmail.cf file will correct each of these problems. Presently, if I send mail to spdcc!user@host, that user will see my address as kronos!richb@spdcc.com or something like that (which is correct), and if they reply, their From address will look like user@host (which is also correct). But if I then reply to user@host, the mail gets routed to the local domain server rather than to uucp. It sits in the queue for three days and is then bounced back as "unknown host". Thanks for the earlier suggestions I got via e-mail. I've almost got this problem licked. Once I do, I'll be able to read and write directly from my system at work, rather than dialing into a friend's system. -rich