Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!cis.ohio-state.edu!karl_kleinpaste From: karl_kleinpaste@cis.ohio-state.edu Newsgroups: comp.mail.sendmail Subject: Re: Sendmail config help needed (long). Message-ID: Date: 3 Jul 90 20:04:59 GMT References: <1990Jul2.154321.7457@acd4.UUCP> Sender: news@tut.cis.ohio-state.edu Distribution: na Organization: Ohio State Computer Science Lines: 63 smm@acd4.uucp writes: Help!! Our site has lately registered into a domain Thank you! and I need to configure sendmail to handle the new domain properly. This is somewhat confusing as we only connect via UUCP to our forwarder which is UUNET. I have RTFM, ( what little I could find ) and am really stuck. Any help would be greatly appreciated. Well, I'll give it a shot... ...outgoing mail needs to be changed to a "From: user@host.acd.com" type of style. Start by defining a macro for your domain: DDads.com Then try (from my sendmail.cf): ## CONFIG HERE ## Pick one of the next 3 lines, based on your syntactic preference. ## 1: "From: joe@host.domain (Joe Random)" ## 2: "From: Joe Random " ## 3: "From: joe@host.domain" (appropriate with full names: joe_random@...) #Dq$g$?x ($x)$. Dq$?x$x $.<$g> #Dq$g $g is defined as "sender address relative to the recipient" in the Sendmail Ops Guide. My Dq's assume that your $j is set up right. $j is the proper FQDN of your host, e.g.: ## CONFIG HERE ## Pick one of the next 2 lines, based on whether your ## hostname canonicalizes to a long, domainified name or not. Dj$w #Dj$w.$D Your address forms to be recognized can be dealt with in S0 without much difficulty. 1. user@host.acd.com - where host is acd4 or some other local host on our network. R$-<@$j> $#local$:$1 acd4.acd.com -- local user R$-<@$+.$D> $#tcp$@$2$:$1@$2.$D Local network delivery 2. user@acd.com - should default to acd4, the gate machine?? R$-<@$D> $#local$:$1 Local user in top domain 3. uunet!acd4!user - normal uucp style address. (I dislike hardcoding machine names into .cf, but...) Ruunet!acd4!$- $#local$:$1 Local user via UUCP name 4. uunet!acd.com!user - uucp style, default to acd4? Ruunet!$D!$- $#local$:$1 Local user via UUCP & domain 5. uunet!host.acd.com!user - uucp style, forwarded to appropriate local host. Ruunet!$+.$D!$- $#tcp$@$1$:$2@$1.$D UUCP format to local network --karl -- "Reading news with GNUS gives the phrase `garbage collecting' a whole new meaning." --jgreely@cis.ohio-state.edu