Re: Hanging

2001-07-25 Thread Perry Macdonald

I have had a similar problem and could not find a solution, but that
doesn't mean you can't

1.  What kind of hardware and software (Outlook,Netscape, ?).

2. You can use recordio to see what smtpd is receiving

in your script you have

.  smtp /var/qmail/bin/qmail-smtpd...  and you will place the
recordio command in between 

... smtp recordio /var/qmail/bin/qmail-smtpd.   and this will print
out the SMTP transaction in your log file.

Try telnetting to Port 25 and give the commands manually as suggested
earlier, and then send an email with your client.  Compare.

There is a CR-LF issue with some client software which is supposed to be

fixable with fixcrio




-Original Message-
From: Christian [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 25, 2001 12:12 AM
To: qmail
Subject: Hanging


Hi,
I'm a newbie to qmail and have just setup my first qmail server

I'm having problems with users sending mail
It just hangs .. trys for ages to send &
There's no error messages returned
Which makes it hard to figure out what's wrong.

All the processes are running
Port 25 seems to be open .. I can telnet in
And I can send message thru qmail-inject

qmail-smtpd is running via tcpserver

/usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb -c 20 -u 510 -g

513 0 smtp /var/qmail/bin/qmail-smtpd

Can someone please point me in the right
direction so I can figure this out.

Thanx,












fixcrio question

2001-07-17 Thread Perry Macdonald


I have been fighting a problem with SMTP delivery that appears to be a
CR-LF issue.  I am able to have qmail accept mail from many Dell
desktop/workstations running w2k/Outlook2k, but on two Dell laptops, I
cannot. I can send email using Netscape if I hit cancel while wainting
for the SMTP transaction to complete.

I have tried fixcrio and have had no change in the recordio output.  Can
someone tell me why?


Here is my /service/smtpd/run script  ...

#!/bin/sh
. /usr/share/qmail/run-functions

# If rblsmtpd is installed, process rbltimeout rbldomains, and
antirbldomains
if [ -x /usr/bin/rblsmtpd ]; then
 readdefault domains antirbldomains ""
 for domain in $domains; do
  rblopts="$rblopts -a $domain"
 done
 readdefault domains rbldomains ""
 for domain in $domains; do
  rblopts="$rblopts -r $domain"
 done
 readdefault timeout rbltimeout 60
 if [ -n "$rblopts" ]; then
  rbl="/usr/bin/rblsmtpd -t $timeout $rblopts"
 fi
fi

# Start daemons.
readdefault concurrency concurrencysmtpd 80

MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
do_ulimits

exec envuidgid qmaild \
tcpserver -DHRUvX -c "$MAXSMTPD" -l "`head -1 /var/qmail/control/me`" \
 -x /etc/tcpcontrol/smtp.cdb 0 smtp \
 /usr/bin/fixcrio recordio qmail-smtpd

produces  this for a simple test message containing the text "123" with
no CR after "3"

Jul 17 07:28:20 fs1 smtpd: 995380100.277389 tcpserver: status: 6/100
Jul 17 07:28:20 fs1 smtpd: 995380100.278395 tcpserver: pid 14409 from
192.168.1.67
Jul 17 07:28:20 fs1 smtpd: 995380100.278555 tcpserver: ok 14409
fs1.cam.lucix.com:192.168.1.2:25 :192.168.1.67::1161
Jul 17 07:28:20 fs1 smtpd: 995380100.282055 14409 > 220
fs1.cam.lucix.com ESMTP?
Jul 17 07:28:20 fs1 smtpd: 995380100.282812 14409 < HELO macdonaldpacam?

Jul 17 07:28:20 fs1 smtpd: 995380100.282879 14409 > 250
fs1.cam.lucix.com?
Jul 17 07:28:20 fs1 smtpd: 995380100.290626 14409 < MAIL FROM:
<[EMAIL PROTECTED]>?
Jul 17 07:28:20 fs1 smtpd: 995380100.290685 14409 > 250 ok?
Jul 17 07:28:20 fs1 smtpd: 995380100.291244 14409 < RCPT TO:
<[EMAIL PROTECTED]>?
Jul 17 07:28:20 fs1 smtpd: 995380100.291301 14409 > 250 ok?
Jul 17 07:28:20 fs1 smtpd: 995380100.291748 14409 < DATA?
Jul 17 07:28:20 fs1 smtpd: 995380100.293227 14409 > 354 go ahead?
Jul 17 07:28:20 fs1 smtpd: 995380100.336658 14409 < From: "Perry
Macdonald" <[EMAIL PROTECTED]>?
Jul 17 07:28:20 fs1 smtpd: 995380100.450084 14409 < To:
<[EMAIL PROTECTED]>?
Jul 17 07:28:20 fs1 smtpd: 995380100.533753 14409 < Subject: Test?
Jul 17 07:28:20 fs1 smtpd: 995380100.569682 14409 < Date: Tue, 17 Jul
2001 07:28:19 -0700?
Jul 17 07:28:20 fs1 smtpd: 995380100.605494 14409 < Message-ID:
<[EMAIL PROTECTED]>?
Jul 17 07:28:20 fs1 smtpd: 995380100.649039 14409 < MIME-Version: 1.0?
Jul 17 07:28:20 fs1 smtpd: 995380100.683426 14409 < Content-Type:
text/plain;?
Jul 17 07:28:20 fs1 smtpd: 995380100.718507 14409 <
?charset="iso-8859-1"?
Jul 17 07:28:20 fs1 smtpd: 995380100.754382 14409 < Cont+
Jul 17 07:28:20 fs1 smtpd: 995380100.790261 14409 <
ent-Transfer-Encoding: 7bit?
Jul 17 07:28:20 fs1 smtpd: 995380100.826140 14409 < X-Priority: 3
(Normal)?
Jul 17 07:28:20 fs1 smtpd: 995380100.862016 14409 < X-MSMail-Priority:
Normal?
Jul 17 07:28:20 fs1 smtpd: 995380100.897895 14409 < X-Mailer: Microsoft
Outlook IMO, Build 9.0.2416 (9.0.2911.0)?
Jul 17 07:28:20 fs1 smtpd: 995380100.933772 14409 < Importance: Normal?
Jul 17 07:28:20 fs1 smtpd: 995380100.969653 14409 < X-MimeOLE: Produced
By Microsoft MimeOLE V5.50.4133.2400?
Jul 17 07:28:21 fs1 smtpd: 995380101.005531 14409 < ?
Jul 17 07:28:21 fs1 smtpd: 995380101.041405 14409 < 123+


I removing the fixcrio by changing /svc/smtp/run to


#!/bin/sh
. /usr/share/qmail/run-functions

# If rblsmtpd is installed, process rbltimeout rbldomains, and
antirbldomains
if [ -x /usr/bin/rblsmtpd ]; then
 readdefault domains antirbldomains ""
 for domain in $domains; do
  rblopts="$rblopts -a $domain"
 done
 readdefault domains rbldomains ""
 for domain in $domains; do
  rblopts="$rblopts -r $domain"
 done
 readdefault timeout rbltimeout 60
 if [ -n "$rblopts" ]; then
  rbl="/usr/bin/rblsmtpd -t $timeout $rblopts"
 fi
fi

# Start daemons.
readdefault concurrency concurrencysmtpd 80

MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
do_ulimits

exec envuidgid qmaild \
tcpserver -DHRUvX -c "$MAXSMTPD" -l "`head -1 /var/qmail/control/me`" \
 -x /etc/tcpcontrol/smtp.cdb 0 smtp \
 recordio qmail-smtpd

and an then issue 

/svc -d  /service/smptd/
/svc -u  /service/smptd/

Then I get the identical response (note the 123+ at the end) ...


Jul 17 07:32:07 fs1 smtpd: 995380327.180846 tcpserver: status: 1/100
Jul 17 07:32:07 fs1 smtpd: 995380327.181987 tcpserver: pid 14465 from
19

Can't send mail using SMTP on qmail 1.03 - Follow-up

2001-06-27 Thread Perry Macdonald

I had posted a question earlier regarding a problem sending mail to
SMTP.  I have a snippet below from recordio when I send a message body
containgn "123" .   The last few lines of the SMTP transaction produced
by Outlook ..


Jun 26 07:42:33 fs1 smtpd: 993566553.076015 13548 < X-MimeOLE: Produced
By Microsoft MimeOLE V5.50.4133.2400?
Jun 26 07:42:33 fs1 smtpd: 993566553.111918 13548 < Importance: Normal?
Jun 26 07:42:33 fs1 smtpd: 993566553.155504 13548 < ?
Jun 26 07:42:33 fs1 smtpd: 993566553.189866 13548 < 123+

... and a similar snippet produced by Netscape, (which was successful
when I hit Cancel) 


Jun 26 07:46:18 fs1 smtpd: 993566778.482630 13581 < Subject: testing?
Jun 26 07:46:18 fs1 smtpd: 993566778.506109 13581 < Con+
Jun 26 07:46:18 fs1 smtpd: 993566778.530051 13581 < tent-Type:
text/plain;charset=us-ascii?
Jun 26 07:46:18 fs1 smtpd: 993566778.553979 13581



Re: Can't send mail using SMTP on qmail 1.03

2001-06-26 Thread Perry Macdonald

This is a followup to a request for the output from recordio.  I
previously posted my problem that I can't send email to qmail-smtp
(1.03) using Outlook or Netscape with 2 different laptops, but can with
another laptop and ~12 other Dell workstations.  If I get on subnet
different from the one that contains the server, I can send mail.

Here is the output from  recordio when sending a message from Outlook

Jun 26 07:42:32 fs1 smtpd: 993566552.324863 13548 > 220
fs1.cam.lucix.com ESMTP?
Jun 26 07:42:32 fs1 smtpd: 993566552.327433 13548 < HELO macdonaldpacam?

Jun 26 07:42:32 fs1 smtpd: 993566552.327515 13548 > 250
fs1.cam.lucix.com?
Jun 26 07:42:32 fs1 smtpd: 993566552.335044 13548 < MAIL FROM:
<[EMAIL PROTECTED]>?
Jun 26 07:42:32 fs1 smtpd: 993566552.335124 13548 > 250 ok?
Jun 26 07:42:32 fs1 smtpd: 993566552.335616 13548 < RCPT TO:
<[EMAIL PROTECTED]>?
Jun 26 07:42:32 fs1 smtpd: 993566552.335679 13548 > 250 ok?
Jun 26 07:42:32 fs1 smtpd: 993566552.336053 13548 < DATA?
Jun 26 07:42:32 fs1 smtpd: 993566552.337551 13548 > 354 go ahead?
Jun 26 07:42:32 fs1 smtpd: 993566552.358419 13548 < From: "Perry
Macdonald" <[EMAIL PROTECTED]>?
Jun 26 07:42:32 fs1 smtpd: 993566552.453676 13548 < To:
<[EMAIL PROTECTED]>?
Jun 26 07:42:32 fs1 smtpd: 993566552.579431 13548 < Subject: testing?
Jun 26 07:42:32 fs1 smtpd: 993566552.711194 13548 < Date: Tue, 26 Jun
2001 07:42:31 -0700?
Jun 26 07:42:32 fs1 smtpd: 993566552.752913 13548 < Message-ID:
<[EMAIL PROTECTED]>?
Jun 26 07:42:32 fs1 smtpd: 993566552.788795 13548 < MIME-Version: 1.0?
Jun 26 07:42:32 fs1 smtpd: 993566552.824671 13548 < Content-Type:
text/plain;?
Jun 26 07:42:32 fs1 smtpd: 993566552.860584 13548 <
?charset="iso-8859-1"?
Jun 26 07:42:32 fs1 smtpd: 993566552.896480 13548 < Con+
Jun 26 07:42:32 fs1 smtpd: 993566552.932394 13548 <
tent-Transfer-Encoding: 7bit?
Jun 26 07:42:32 fs1 smtpd: 993566552.968293 13548 < X-Priority: 3
(Normal)?
Jun 26 07:42:33 fs1 smtpd: 993566553.004254 13548 < X-MSMail-Priority:
Normal?
Jun 26 07:42:33 fs1 smtpd: 993566553.040132 13548 < X-Mailer: Microsoft
Outlook IMO, Build 9.0.2416 (9.0.2911.0)?
Jun 26 07:42:33 fs1 smtpd: 993566553.076015 13548 < X-MimeOLE: Produced
By Microsoft MimeOLE V5.50.4133.2400?
Jun 26 07:42:33 fs1 smtpd: 993566553.111918 13548 < Importance: Normal?
Jun 26 07:42:33 fs1 smtpd: 993566553.155504 13548 < ?
Jun 26 07:42:33 fs1 smtpd: 993566553.189866 13548 < 123+


and here is the output when sending a message from Netscape (which also
hangs, but continues when I hit cancel)



Jun 26 07:46:18 fs1 smtpd: 993566778.067495 tcpserver: pid 13581 from
192.168.1.67
Jun 26 07:46:18 fs1 smtpd: 993566778.068088 tcpserver: ok 13581
fs1.cam.lucix.com:192.168.1.2:25
lucix067.cam.lucix.com:192.168.1.67::1179
Jun 26 07:46:18 fs1 smtpd: 993566778.070439 13581 > 220
fs1.cam.lucix.com ESMTP?
Jun 26 07:46:18 fs1 smtpd: 993566778.07 13581 < EHLO lucix.com?
Jun 26 07:46:18 fs1 smtpd: 993566778.073409 13581 >
250-fs1.cam.lucix.com?
Jun 26 07:46:18 fs1 smtpd: 993566778.073442 13581 > 250-PIPELINING?
Jun 26 07:46:18 fs1 smtpd: 993566778.073461 13581 > 250 8BITMIME?
Jun 26 07:46:18 fs1 smtpd: 993566778.077066 13581 < MAIL
FROM:<[EMAIL PROTECTED]>?
Jun 26 07:46:18 fs1 smtpd: 993566778.077130 13581 > 250 ok?
Jun 26 07:46:18 fs1 smtpd: 993566778.080438 13581 < RCPT
TO:<[EMAIL PROTECTED]>?
Jun 26 07:46:18 fs1 smtpd: 993566778.080510 13581 > 250 ok?
Jun 26 07:46:18 fs1 smtpd: 993566778.123987 13581 < DATA?
Jun 26 07:46:18 fs1 smtpd: 993566778.195548 13581 > 354 go ahead?
Jun 26 07:46:18 fs1 smtpd: 993566778.267296 13581 < Message-ID:
<[EMAIL PROTECTED]>?
Jun 26 07:46:18 fs1 smtpd: 993566778.327819 13581 < Date: Tue, 26 Jun
2001 07:46:17 -0700?
Jun 26 07:46:18 fs1 smtpd: 993566778.362630 13581 < From: Perry
Macdonald <[EMAIL PROTECTED]>?
Jun 26 07:46:18 fs1 smtpd: 993566778.386931 13581 < X-Mailer: Mozilla
4.77 [en] (Windows NT 5.0; U)?
Jun 26 07:46:18 fs1 smtpd: 993566778.410852 13581 < X-Accept-Language:
en?
Jun 26 07:46:18 fs1 smtpd: 993566778.434758 13581 < MIME-Version: 1.0?
Jun 26 07:46:18 fs1 smtpd: 993566778.458686 13581 < To: [EMAIL PROTECTED]?
Jun 26 07:46:18 fs1 smtpd: 993566778.482630 13581 < Subject: testing?
Jun 26 07:46:18 fs1 smtpd: 993566778.506109 13581 < Con+
Jun 26 07:46:18 fs1 smtpd: 993566778.530051 13581 < tent-Type:
text/plain; charset=us-ascii?
Jun 26 07:46:18 fs1 smtpd: 993566778.553979 13581 <
Content-Transfer-Encoding: 7bit?
Jun 26 07:46:18 fs1 smtpd: 993566778.577895 13581 < ?
Jun 26 07:46:18 fs1 smtpd: 993566778.601820 13581 < 123?
Jun 26 07:46:31 fs1 smtpd: 993566791.539676 13581 < ?
Jun 26 07:46:31 fs1 smtpd: 993566791.539755 13581 < .?
Jun 26 07:46:31 fs1 smtpd: 993566791.539774 13581 < QUIT?
Jun 26 07:46:31 fs1 smtpd: 993566791.539792 13581 < [EOF]
Jun 2

Can't send mail using SMTP on qmail 1.03

2001-06-25 Thread Perry Macdonald

I have two Dell laptops, an Inspiron 2500 and a Latitude C800 that can
perform all network functions, but cannot (reliably) send email to an
SMTP serverusing Outlook 2000. I have used a Linksys (NP100) and xircom 
RBEM56G-100 PCMCIA cards with similar results. On the Latitude I am able to 
send email once after rebooting and then it hangs.  I have installed a
store-bought version of Windows 2000 (not Dell's OEM version) and got
the same results. 

I put either PCMCIA card in a Compaq laptop and I can send email fine. 

If I look closely at the message that the SMTP server(qmail 1.03) receives,
I do not receive the terminator string. That is that I can see the "." 
(using recordio) but do not appear to get the CR-LF.  I have tried using 
fixcrio with no luck.  If I use Netsape Communicator, I get the same 
response, but when I hit Cancel, the email goes out. 

I have about 12 other Dell
workstations of various flavors that use this server fine.  I have
another Dell Inspiron that can use the email fine with the Linksys
NP100 and the interated network card in the DELL docking station. 

If I send email using the either laptop on a subnet different from the
subnet containing the server, I can send email OK. 

Thanks in advance. Kudos to the genius who can help me with this.