From owner-freebsd-questions Sun Apr 7 5:27: 0 2002 Delivered-To: freebsd-questions@freebsd.org Received: from net.nigsch.com (194-208-143-121.TELE.NET [194.208.143.121]) by hub.freebsd.org (Postfix) with ESMTP id 6B85F37B404 for ; Sun, 7 Apr 2002 05:26:52 -0700 (PDT) Received: from net.nigsch.com (flo@localhost.nigsch.com [127.0.0.1]) by net.nigsch.com (8.12.2/8.12.2) with ESMTP id g37CQoWD074901; Sun, 7 Apr 2002 14:26:50 +0200 (CEST) (envelope-from flo@net.nigsch.com) Received: (from flo@localhost) by net.nigsch.com (8.12.2/8.12.2/Submit) id g37CPZSh074900; Sun, 7 Apr 2002 14:25:35 +0200 (CEST) Date: Sun, 7 Apr 2002 14:25:35 +0200 From: flo To: Edwin Groothuis , freebsd-questions@freebsd.org Subject: Re: echo blah | sendmail user@domain Message-ID: <20020407142535.A74792@nigsch.com> Mail-Followup-To: flo , Edwin Groothuis , freebsd-questions@freebsd.org References: <20020407134842.E74533@nigsch.com> <20020407221333.I56548@k7.mavetju.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="Q68bSM7Ycu6FN28Q" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020407221333.I56548@k7.mavetju.org>; from edwin@mavetju.org on Sun, Apr 07, 2002 at 10:13:33PM +1000 X-Fingerprint: 0B26 0FAE 92EF 5AB2 FB4D BFAB 141E 72A7 DFF7 8D6D Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --Q68bSM7Ycu6FN28Q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 07, 2002 at 10:13:33PM +1000, Edwin Groothuis wrote: > On Sun, Apr 07, 2002 at 01:48:43PM +0200, flo wrote: > > Hi folks! > >=20 > > Since FreeBSD uses Sendmail 8.12.2 when I try to do > > echo blah | sendmail user@domain.com > > it delay for ca. 75sec and then the mail is delivered. >=20 > Sounds like a DNS timeout during the delivery. Since I don't know > anything of your network setup this is a wild guess, but do you > have a local DNS server which don't know the reverse of 127.0.0.1 > maybe? ---end quoted text--- No, it is definitely nothing DNS-related, 127.0.0.1 is reverse lookupable. Whan I use the -v options to sendmail root@stone:~# echo blah | sendmail -v flo@nigsch.com flo@nigsch.com... Connecting to localhost via relay... =2E..and then it hangs for the mentioned ca. 75sec. Apr 7 14:18:41 stone sendmail[311]: g37CHQ5Y000311: to=3Dflo@nigsch.com, c= tladdr=3Dflo (1000/1000), delay=3D00:01:15, xdelay=3D00:01:15, mailer=3Drel= ay, pri=3D30005, relay=3Dlocalhost [127.0.0.1], dsn=3D2.0.0, stat=3DSent (g= 37CIfnY000316 Message accepted for delivery) After the mail makes it into the local mailqueue it is instantly delivered over the network to it's destination: Apr 7 14:18:42 stone sm-mta[318]: g37CIfnY000316: to=3D, c= tladdr=3D (1000/1000), delay=3D00:00:01, xdelay=3D00:= 00:01, mailer=3Desmtp, pri=3D30301, relay=3Dmail.nigsch.com. [194.208.143.1= 21], dsn=3D2.0.0, stat=3DSent (g37CIgWD074873 Message accepted for delivery) But why the delay? And, perhaps a question with a not to difficult answer: = As of the logs, a process named "sendmail" receives the mail locally, and a proce= ss of name "sm-mta" delivers takes care of it's delivery. Why isn't it both ti= mes "sendmail"? Hmm... Is /etc/mail/sendmail.cf used for both these processes? Until now, I don't quite understand the function of submit.cf. regards, flo --=20 --- Florian Nigsch http://flo.nigsch.com/ PGP key: http://flo.nigsch.com/fnigsch.asc --Q68bSM7Ycu6FN28Q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8sDq+FB5yp9/3jW0RAgwwAJ47o1wm8WcU1PShDtbEnQMFyyrhAQCcCKqa gXO+wjFdfxkI5m9aBNaP88I= =gN+j -----END PGP SIGNATURE----- --Q68bSM7Ycu6FN28Q-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message