[2441] in linux-net channel archive
No subject found in mail header
daemon@ATHENA.MIT.EDU (root)
Tue Apr 9 22:36:50 1996
Date: Wed, 10 Apr 1996 09:51:43 +1000
From: root <root@linuxbox.nse.com.au>
To: linux-net@vger.rutgers.edu
Reply-To: naderr@topaz.cqu.edu.au
Hi,
To me the sendmail that came with slackware
appeared to be pretty slow delivering. Kinda
larguish files (74Kb) where taking close to half
an hour to dispatch.
I was using 1.2.13 with the IP masquerade patch,
and the old sendmail was more like sendsnail!
checking with a "tcpdump -i sl0 host topaz" for my mail
delivery brought tears to my eyes how slow it was.
I compiled a 1.3.56 without ip masquerade and tried
again ... yet the same sendsnail effect.
So I looked at a sendmail-8.7.3-bin.tgz there I got a
pointer to the Berkley sources, and I grabbed 8.7.5
I did this for two reasons
(1) the 8.7.3 binary did not have NIS inbuilt,
and I was looking forward to configuring it (masoquist)
(2) it is a later sendmail so it may have something
going for it.
The compile according to the README was a pain
in the butt, beacuse it claimed that "sh makesendmail"
would do the job, false! (at least for Linuxer's)
but in the end it became rather simple.
I just grabbed the Makefile.Linux from Makefiles/
and edited it to have -DNIS.
copied it to /src and tried make -f Maefile.Linux,
but this did't work, so after remembering that this is
BSD stuff and that they have their own make I used
# "pmake -f Makefile.Linux"
and it compiled real well :)) Then
# pmake -f Makefile install and it was done.
So basically, if I can compile it you can too :))
If anyone knows how to make makesendmail work let us know,
( maybe make a temp link from pmake to make might have done it )
Now, since I have compiled sendmail 8.7.5 I have noticed
a dramatic improvement in sendmail's delivery response.
I'm currently recompiling 1.3.56 with ip masquearde,
firwalling, etc and will see later if I still have
speedy sendmail.
One thing that I have noticed is that now when I send
mail and quickly go to another xterm to run mailq
it reckons:
Mail Queue (1 request)
--Q-ID-- --Size-- -----Q-Time----- ------------Sender/Recipient------------
IAA02398* 74320 Wed Apr 10 08:46 root
(db_map_open: cannot pre-open database /etc/aliases.db: No su)
naderr@topaz
In my naivety I grabbed the /etc/alias.db from another box at uni,
and placed it in /etc ... still made no diff, I get the same message,
but the mail does get delivered.
I guess since I chose to compile sendmail with -DNDBM -DNEWDB -DNIS
there's a bit of configuration to be done on other fronts :))
Any way, thought I'd share this with you.
Rob -