*BSD News Article 37329


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!ariel.ucs.unimelb.EDU.AU!ucsvc.ucs.unimelb.edu.au!lugb!latcs1!wongm
Newsgroups: comp.os.386bsd.questions
Subject: use sendmail over term connection ?
Message-ID: <CyDt56.Kps@latcs1.lat.oz.au>
From: wongm@latcs1.lat.oz.au (M.C. Wong)
Date: Fri, 28 Oct 1994 11:55:54 GMT
Organization: Comp Sci, La Trobe Uni, Australia
Lines: 116

Hi, has anyone successfully use sendmail over term connection ? I have made

the changes to /etc/sendmail.cf as suggested in the Term.HOWTO file as below :
.
.
.
#####################################
###   SMTP Mailer specification   ###
#####################################

#####  @(#)smtp.m4      8.15 (Berkeley) 2/14/94  #####

Msmtp,          P=[IPC], F=mDFMuX, S=11/31, R=21, E=\r\n,
                L=990, A=IPC $h
Mesmtp,         P=[IPC], F=mDFMuXa, S=11/31, R=21, E=\r\n,
                L=990, A=IPC $h
Mrelay,         P=[IPC], F=mDFMuXa, S=11/31, R=61, E=\r\n,
                L=2040, A=IPC $h
# Added for term
Mtermsmtp,      P=[TCP], F=mDFMuXe, S=22, R=22, A=TCP $h 25  
.
.
.
##################
#   local info   #
##################

Cwlocalhost


CP.

# UUCP relay host
DYucbvax.Berkeley.EDU
CPUUCP

#  BITNET relay host
DBmailhost.Berkeley.EDU
CPBITNET

# "Smart" relay host (may be null)
DS
                
# who I send unqualified names to (null means deliver locally)
# Modified for term
DR localhost
# Added for term
CR localhost
.
.
.
######################################
###   Ruleset 0 -- Parse Address   ###
######################################
.
.
.
# Added for term        
R$*<@$*.$+>$*           $#$M    $@$R $:$1<@$2.$3>$4     user@host.domain

###########################################################################  
###   Ruleset 5 -- special rewriting after aliases have been expanded   ###
###                (new sendmail only)                                  ###
###########################################################################
.
.
.

  Sorry for the long extracts, but I want to show exactly where those lines are
added.

  Then I did : 
tredir 25 latcs1.lat.oz.au:25 
where latcs1.lat.oz.au is the remote host, and restart sendmail : 
kill <sendmail_pid>
/usr/sbin/sendmail -bd -q1h

  When I send a mail to my own account on latcs1, the following is found in 
/var/spool/mqueue/qfVAA04726.

P150183
T783344243
DdfVAA04726
Mlatcs1.lat.oz.au: Name server timeout
$_wongm@localhost
Swongm
Rwongm@latcs1.lat.oz.au
H?P?Return-Path: wongm 
HReceived: (from wongm@localhost) by pc1.lespoir.oz.au (8.6.8/8.6.6) id VAA04726; Fri, 28 Oct 1994 21:37:
23 +1000
H?F?From: M.C Wong <wongm>
H?x?Full-Name: M.C Wong
H?M?Message-Id: <199410281137.VAA04726@pc1.lespoir.oz.au>
HSubject: test 
HTo: wongm@latcs1.lat.oz.au
HDate: Fri, 28 Oct 1994 21:37:23 +1000 (EST)
HCc: wongm (M.C Wong)
HX-Mailer: ELM [version 2.4 PL23]
HContent-Type: text
HContent-Length: 5 

  What does the Name server timeout mean ? I don't run DNS on my FreeBSD, is
it what it is complaining ? Also, in /etc/sendmail.cf, can I say

DR localhost
CR localhost

instead of the full IP address I gave to me box, ie pc1.lespoir.oz.au ?

  Thanks in advance, and email replies please.

-- 
- wongm@latcs1.lat.oz.au (M.C Wong)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   - Just an enthusiastic and curious learner of computing technology.