Hi all,

I apologize if this was covered before.
I am having probles after my fresh qmail install, and being
new to all of this I am a little confused with what is going
on.

BTW, qmail is working great and I think its awesome.

Situation:
In my lan I am testing qmail on my two LINUX boxes.
Sending mail out from binmail is no problem, but when I use
my ugly perl script (pasted below) to do some performance
tests (just for ball park figures) I get duplicate messages.

Using sendmail was OK but qmail seems to duplicate all
the messages.

Did anybody get this and over come this before?
If so, I would appreciate it if someone could shed some
light on the situation (hints, pointers, url anything).

MY SETUP:
qmail 1.03
  + DNS and local-time patch
  + vsm and procmail
  # slowly attempting the migration to Maildir/...
daemontools 0.70
ucspi-tcp 0.88
# mosly following lwq.html - great doc/info!

Thanks in advance,

jamie

--script--
#!/usr/local/bin/perl

#  sendmail below is symlinked to
#  /var/qmail/bin/sendmail
$sendmail = '/usr/sbin/sendmail -t';
$mailto = '[EMAIL PROTECTED]';
$mailfrom = '[EMAIL PROTECTED]';
$subject = 'This is a test';

# for more mail at once uncomment below and
# and the line above exit 0 way below.

#for $i (1 .. 100) {
 open (MAIL, "| $sendmail $mailto");
 print MAIL << "__EOF";
To: $mailto
From: $mailfrom
Subject: $subject
Content-Transfer-Encoding: 7bit
Content-Type: text/plain

Hello, this is a test.
12345678901234567890 12345678901234567890
# and approx 1 kb worth of garbage text proceeds...
__EOF

 close(MAIL);
#}
exit 0;

--/script--

#---------#---------#---------#---------#---------#---------#---------#
-- If somebody can help create a search engine for my room,
   I will call them a Saint...
   GUI == Graphical User Interference

Reply via email to