Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Apr 2002 14:25:35 +0200
From:      flo <flo@nigsch.com>
To:        Edwin Groothuis <edwin@mavetju.org>, freebsd-questions@freebsd.org
Subject:   Re: echo blah | sendmail user@domain
Message-ID:  <20020407142535.A74792@nigsch.com>
In-Reply-To: <20020407221333.I56548@k7.mavetju.org>; from edwin@mavetju.org on Sun, Apr 07, 2002 at 10:13:33PM %2B1000
References:  <20020407134842.E74533@nigsch.com> <20020407221333.I56548@k7.mavetju.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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<flo@nigsch.com>, c=
tladdr=3D<flo@stone.nigsch.com> (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 <flo@nigsch.com>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020407142535.A74792>