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
[-- Attachment #1 --] 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! > > > > 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. > > 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... ...and then it hangs for the mentioned ca. 75sec. Apr 7 14:18:41 stone sendmail[311]: g37CHQ5Y000311: to=flo@nigsch.com, ctladdr=flo (1000/1000), delay=00:01:15, xdelay=00:01:15, mailer=relay, pri=30005, relay=localhost [127.0.0.1], dsn=2.0.0, stat=Sent (g37CIfnY000316 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=<flo@nigsch.com>, ctladdr=<flo@stone.nigsch.com> (1000/1000), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=30301, relay=mail.nigsch.com. [194.208.143.121], dsn=2.0.0, stat=Sent (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 process of name "sm-mta" delivers takes care of it's delivery. Why isn't it both times "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 -- --- Florian Nigsch <flo@nigsch.com> http://flo.nigsch.com/ PGP key: http://flo.nigsch.com/fnigsch.asc [-- Attachment #2 --] -----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020407142535.A74792>
