Hi all, first of all, sorry for some of my poor english expresions
you'll find in my mail, but it's been long since I last used it ;)
Well, I have a problem which I don't know how dangerous for my system
may be, this is it.
I've installed qmail-1.03 with ucspi-tcp-0.88, fastforward 0.51 and
qpopper3.0.2 with checkpassword 0.81 on a RedHat Linux 6.2 (PIII 450 128 MB RAM
8 GB SCSI). It was working perfectly... 'till I did an administrative stop.
I had to install a 20 GB IDE ATA2 HD for users' home, so I halted the
system, installed the new HD, init 1, changed mount directories, got the right
perms and reboot.
New partitions where:
[root@hermes qmail]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 888M 535M 308M 63% /
/dev/hda1 19G 1.3G 16G 7% /home
/dev/sda3 486M 38k 461M 0% /var/spool
/dev/sda4 7.0G 36k 6.6G 0% /var/spool/mail
When I started qmail, all seemed to work fine... Mail was correctly
delivered inside an outside the server. But I like to send mail through
telneting port 25, so I did this:
telnet localhost 25
HELO aimplas.es
MAIL FROM: jribelles
RCPT TO: jribelles
DATA
hola
.
quit
This is the log of that message:
(in /var/log/maillog)
Sep 8 09:57:54 hermes qmail: 968399874.922874 new msg 91797
Sep 8 09:57:54 hermes qmail: 968399874.923021 info msg 91797: bytes 194 from
<jribelles> qp 11831 uid 502
Sep 8 09:57:54 hermes qmail: 968399874.988017 starting delivery 12: msg 91797 to
local [EMAIL PROTECTED]
Sep 8 09:57:54 hermes qmail: 968399874.988102 status: local 1/10 remote 0/20
Sep 8 09:57:55 hermes qmail: 968399875.033522 delivery 12: success: did_0+0+1/
Sep 8 09:57:55 hermes qmail: 968399875.033633 status: local 0/10 remote 0/20
Sep 8 09:57:55 hermes qmail: 968399875.033683 end msg 91797
So, everything seems to be right... Now let's take a look at users' inbox
(/var/spool/mail/jribelles) ...
From jribelles Fri Sep 08 07:57:54 2000
Return-Path: <jribelles>
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 11831 invoked from network); 8 Sep 2000 07:57:53 -0000
Received: from localhost (HELO aimplas.es) ([EMAIL PROTECTED])
by localhost with SMTP; 8 Sep 2000 07:57:53 -0000
hola
Well, all I can see here is that the header is missing, fields "From", "To",
and "Date" should appear after second "Received:" line, but they do not... Of
course this only happens when delivering to a local user... And I have
discovered why...
Mail clients do send the header after the DATA tag, like this...
...
DATA
Date: Fri Sep 08 07:57:54 2000
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
hola
...
This would be the DATA they would send... doing that makes it work
fine... If you put only a "Subject" or "From" field, and you do not specify
all the fields (or maybe only the date), it will ignore the rest of the
message, and will show you only the fields you've entered...
I tried making it work by removing completely /var/qmail (rm -Rf
/var/qmail/*) and reinstalling qmail and fastforward and ucspi, but that
doesn't solve the problem.. maybe it's not a qmail problem, but procmail's? But
I don't understand why it's happened after rebooting the system...
Maybe the problem is in qmail-local or qmail-smtpd->qmail-queue, as
doing
echo "To: jribelles" | /var/qmail/bin/qmail-inject
works fine...
I don't know if in this large mail I've failed to remember something,
but I think all is on... Could anyone please tell me if this is to make me
suffer any kind of problem and how to solve it, or why has it happened? I
can't do anything more with my qmail knowledge... ThanX!!!!
One last thing... I run qmail-smtpd from tcpserver
/usr/local/bin/tcpserver -u 502 -g 501 -x /etc/tcp.smtp.cdb 0 smtp
/var/qmail/bin/qmail-smtpd &
--
JAVIER RIBELLES ASCÓ - [EMAIL PROTECTED]
********************************************************************
AIMPLAS Instituto Tecnologico del Plastico
Unidad de Tecnologías de la Información y Comunicaciones
Valencia Parc Tecnologic. C-Gustave Eiffel, 4.
46980 PATERNA (Valencia) -SPAIN-
Tel.: (+34) 96.136.60.40 / Fax.:(+34) 96.136.60.41
http://www.aimplas.es
********************************************************************